SharePoint detects the user agent of the browser and displays the mobile view in case of a mobile browser.
To disable this, you have two options:
- Disable it in the web.config file
- Disable it in the compat.browser file in the App_Browsers directory
I chose to disable it manually in the web.config (quick and dirty).
To do so add the following markup to the configuration/system.web node:
<browserCaps>
<result type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<filter>isMobileDevice=false</filter>
</browserCaps>
See How to disable mobile view in SharePoint 2010 for a more thorough explination of the matter.
No comments:
Post a Comment