Internet Explorer 11 - 选择文本的困难 [英] Internet Explorer 11 - Difficulties in Selecting Text

查看:161
本文介绍了Internet Explorer 11 - 选择文本的困难的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Internet Explorer(版本11)中以兼容模式运行我的.NET应用程序。我正在使用网格视图来显示我的ASPX页面上的内容。当我打开页面,并尝试从网格视图中选择一些单元格或行时,它不正确选择。
要准确选择要复制到电子邮件或文档中的文本是非常困难或不可能的。当您拖动鼠标来选择文本时,即使您不想要它们,也经常选择相邻的段落或列。



在早期版本(IE 10),Firefox和Chrome中运行良好。我必须修复/找出为什么它不工作在IE 11中。



请让我知道如何解决这个问题。

解决方案

我认为这是IE11中的一个功能,无法在代码中修复它。 IE11文本选择似乎奋斗一旦它击中任何HTML结构(跨度,DIV)。

有一个解决方案的用户,但有点痛苦。按F7打开插入符号模式,然后您可以选择一个项目(双击),然后按住Shift键,使用光标键突出显示选择。



如果你有很多用户,最好实现一个导出到Excel或复制到剪贴板功能,而不是依靠文本选择来获取数据。

I'm running my .NET application in Internet Explorer(Version 11) in compatibility mode. I'm using grid views to display content on my ASPX page. When I open the page and tried to select some cell or row from grid views, it is not selecting properly. It is so difficult or impossible to select exactly the text you wanted to copy into an e-mail or a document. When you dragged the mouse to select text, you often selected adjacent paragraphs or columns also, even though you didn't want them.

Working fine with Earlier edition(IE 10) and Firefox and Chrome. I have to fix/find out why It is not working in IE 11.

Please let me know how to fix this one.

解决方案

I think this is a "feature" in IE11 and there's no way to fix it in the code. IE11 text selection seems to struggle once it hits any HTML structures (spans, divs).

There is a work around for users but it's a bit painful. Press F7 to turn on caret mode, then you can select one item (double click) and then, holding down the shift key, use the cursor keys to highlight a selection.

If you have a lot of users, it would be better to implement an "Export to Excel" or "Copy to Clipboard" function than rely on text selections to get to the data.

这篇关于Internet Explorer 11 - 选择文本的困难的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆