This is a migrated thread and some comments may be shown as answers.

Incorrectly rendered webpage when using Internet Explorer 11 - Addendum

2 Answers 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Clint
Top achievements
Rank 1
Clint asked on 21 Nov 2013, 07:53 PM

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 Answers, 1 is accepted

Sort by
0
Misho
Telerik team
answered on 26 Nov 2013, 04:33 PM
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.
0
Misho
Telerik team
answered on 04 Dec 2013, 03:17 PM
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.
Tags
General Discussions
Asked by
Clint
Top achievements
Rank 1
Answers by
Misho
Telerik team
Share this question
or