Incorrectly rendered webpage when using Internet Explorer 11 - Addendum

3 posts, 0 answers
  1. Clint
    Clint avatar
    1 posts
    Member since:
    Nov 2013

    Posted 21 Nov 2013 Link to this post

    This article describes what to do to fix IE11 when you use the RadCompression and .browser file implementation of Hidden field viewstate compression. When we were fixing this issue we found that the solution doesn't work for certain builds/versions of IE11, specifically the version shipped on touch devices. The userAgent string has additional attributes that interrupt the string from matching the RegEx in the IE11 browser node. We modified the expression to the following and it successfully corrected our issue on touch and non-touch versions of IE:

    <browser id="IE11" parentID="Mozilla">

    <identification>

    <userAgent match="Trident\/7.0;(?:(?: Touch;)?(?: \w*;)?)? rv:(?:(?'major'\d+)(\.(?'minor'\d+)?)(?'letters'\w*))(?'extra'[^)]*)" />

    <userAgent nonMatch="IEMobile" />

    </identification>

    Hope this helps anyone that may run into that scenario.

  2. Misho
    Admin
    Misho avatar
    185 posts

    Posted 26 Nov 2013 Link to this post

    Hi,

    Thank you for sharing your findings with us. We are going to test the suggestion in your post and will
    write back a follow up to it as well as update the Incorrectly rendered webpage when using Internet Explorer 11 article accordingly.

    Thanks for your cooperation.

    Best Regards,
    Misho
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. Misho
    Admin
    Misho avatar
    185 posts

    Posted 04 Dec 2013 Link to this post

    Hello,

    The correct regular expression inside the .browser file in order to apply to the mobile devices user agents might be:

    <identification>
          <userAgent match="Trident/(?'layoutVersion'[7-9]|0*[1-9]\d+)(\.\d+)?;(.*;)?\s*rv:(?'version'(?'major'\d+)(\.(?'minor'\d+)))" />
          <userAgent nonMatch="IEMobile" />
        </identification>


    Regards,
    Misho
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top