在SharePoint 2010网站页面中将IE模式转换为IE 11 [英] IE mode to IE 11 in SharePoint 2010 site pages

查看:61
本文介绍了在SharePoint 2010网站页面中将IE模式转换为IE 11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< o :p></o:p>

我已经使用网站页面和添加的内容在SharePoint 2010中创建了一个应用程序编辑器对该页面的Web部件,< o:p></o:p>

我的功能和用户界面在Google chrome中正常运行. :p></o:p>

但是由于SP 2010 IE模式默认为8,因此我的UI并非正确和自定义js功能不起作用.< o:p></o:p>

如果我在母版页,UI和其他自定义中更改为IE 11功能正常运行,但SharePoint列表提交失败,并出现意外错误.< o:p></o:p>

因此,现在正计划仅将IE 11模式应用于我的网站页面,但是如果我添加此标签,也< meta http-equiv ="X-UA-Compatible" content ="IE = 11"/> < o:p></o:p>

请回复一些解决方案以解决此问题.< o:p> ;</o:p>

谢谢,< o:p></o:p> ;

Sudheer


感谢与问候

解决方案

苏德海尔,

这是一个兼容性问题. IE8不支持页面中的脚本.

请尝试将网站添加到IE的兼容性视图"列表中,并查看其是否有效.

默认情况下,SharePoint 2010在IE 8兼容文档模式下工作.在加载页面之前已经加载了母版页,浏览器已经在IE8中呈现 模式,更改将不会生效.

要强制特定页面使用IE 11,您可以使用HTML创建自己的页面文件并加载HTML使用iframe的页面.

这是一个演示:

https://paultavares.wordpress.com/2015/01/20/how在不更改母版页/

的情况下,使用边缘模式渲染共享页

有关从子页面覆盖母版页面元标记供您参考的类似主题:

最好的问候,

张琳达


Hi,<o:p></o:p>

I have created an application in SharePoint 2010 using site pages and added content editor web parts to that pages,<o:p></o:p>

My functionality and UI is working properly in Google chrome.<o:p></o:p>

But since SP 2010 IE mode is 8 by default my UI is not proper and Custom js functionalities are not working.<o:p></o:p>

If I change to IE 11 in master page, UI and other custom functionalities are working fine but SharePoint list form submission is failing with unexpected error.<o:p></o:p>

So now am planning to apply IE 11 mode only to  my site pages but there also if I add this tag   <meta http-equiv="X-UA-Compatible" content="IE=11"/> below placeholdermain or placeholderhead it is not accepting and changing the UI.<o:p></o:p>

Please reply with some solution to fix this.<o:p></o:p>

Thanks,<o:p></o:p>

Sudheer


Thanks & Regards, Sudheer

解决方案

Hi Sudheer,

It is a compatibility issue. The script in your page is not supported in IE8.

Please try to add a site to the Compatibility View list of IE and see if it works.

By default, SharePoint 2010 works on IE 8 Compatible document mode. The master page have already been loaded before loading the page, the browser has already been rendered in IE8 mode and the changes will not take effect.

To force the specific page to use IE 11, you could create your own page file with HTML and load the page using iframe.

Here is a demo:

https://paultavares.wordpress.com/2015/01/20/how-to-render-a-sharepoint-page-in-ie-using-edge-mode-without-changing-the-master-page/

A similar thread about overriding master page meta tags from child page for your reference:

https://social.msdn.microsoft.com/Forums/office/en-US/7cef975b-a409-48cd-8da9-c5660fa55f11/override-master-page-meta-tags-from-child-page?forum=sharepointdevelopmentprevious

Best Regards,

Linda Zhang


这篇关于在SharePoint 2010网站页面中将IE模式转换为IE 11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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