Disable Mobile View in SharePoint 2010

Put the following code into <web.config> insection

<result type=”System.Web.Mobile.MobileCapabilities, System.Web.Mobile, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”/>

Or modify the file “compat.browser” under folder “App_Browsers” inside your web application’s root directory.  Set the value of isMobileDevice to false.

  <browser id=”iPhoneSafari” parentID=”AppleSafari”>
            <userAgent match=”iPhone” />
            <userAgent match=”Mobile” />
            <capability name=”isMobileDevice”                    value=”false” />
            <capability name=”canInitiateVoiceCall”              value=”true” />
            <capability name=”optimumPageWeight”                 value=”1500″ />
            <capability name=”requiresViewportMetaTag”           value=”true” />
            <capability name=”supportsTouchScreen”               value=”true” />
            <capability name=”telephoneNumberDetectionDisabled”  value=”true” />



Leave a Reply

Your email address will not be published. Required fields are marked *