简体   繁体   English

视觉Web gui菜单项在IE 11中显示错误

[英]Visual web gui menu item displays wrong in IE 11

The project I'm developing for recently switched to .Net4.5 and Visual Web GUI 10.0.4 and a context menu item that works in Firefox doesn't work in IE11 (our official supported' browser). 我最近开发的项目已切换到.Net4.5和Visual Web GUI 10.0.4,并且在Firefox中运行的上下文菜单项在IE11(我们官方支持的浏览器)中不起作用。

I can't post images here yet, so here's a link: [img] http://i.imgur.com/oIEca4l.png[/img] 我还不能在此处发布图片,因此这里是一个链接:[img] http://i.imgur.com/oIEca4l.png[/img]

notice that the firefox windows has 'invoice together' while the IE window has arrows in a box, and that's it. 请注意,Firefox窗口具有“一起发票”,而IE窗口的框中有箭头,仅此而已。

Here are all the properites for the menu item: [img] http://i.imgur.com/vHB4Ak6.png[/img] 以下是菜单项的所有属性:[img] http://i.imgur.com/vHB4Ak6.png[/img]

The only reference to it in the code is displaying a message box when the 'invoice together' is clicked. 在代码中对此的唯一引用是在单击“一起发票”时显示一个消息框。

I'm thinking it's an IE display issue, but I'm curious to know if anyone knows a way to fix it? 我以为这是IE显示问题,但我很想知道是否有人知道解决方法?

Thanks 谢谢

I experienced the same or most probably very similar issue on one of several virtual machines. 我在几个虚拟机之一上遇到了相同或最可能非常相似的问题。 I have content menu on ListView control. 我在ListView控件上有内容菜单。 There was no visible menu items' text and there were left and right arrow sliders on the menu. 没有可见的菜单项文本,并且菜单上有左右箭头滑块。

The web site worked fine on FF, Chrome. 该网站在FF,Chrome上运行良好。 Interesting thing was that this context menu problem was not reproduced on other virtual machines with IE11. 有趣的是,此上下文菜单问题未在使用IE11的其他虚拟机上重现。 Only on single one. 仅单身一个。 IE version 11.0.9600.18053 / 11.0.24 (kb3093983) was used on all test machines. 在所有测试机上都使用IE版本11.0.9600.18053 / 11.0.24(kb3093983)。

I noticed a slight difference in font's rendering also. 我注意到字体的渲染也略有不同。 Font's size seems smaller. 字体的大小似乎更小。

What I did was applying back IE's default settings and restarting client's machine. 我所做的是套用IE的默认设置并重新启动客户端计算机。 This somehow fixed the context menu and font's rendering. 这以某种方式修复了上下文菜单和字体的呈现。

My self explanation is that something in "get font and render it" communication between browser and client OS went wrong. 我的自我解释是,浏览器和客户端操作系统之间的“获取字体并呈现字体”通信出现问题。 From this came wrong looking menu with sliders. 由此出现带有滑动条的错误菜单。

Hope this helps! 希望这可以帮助!

减少IE上的字体大小,会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM