IE exception & amp; quot; _ doPostBackisundefined & amp; quot;

Source: Internet
Author: User

The Web Server may not be correctly identified by the IE10 + browser due to the incorrect installation of. Net 2 and. Net 4. In this case, you need to change the Server's Browser file:

1. Find:

C: \ Windows \ Microsoft. NET \ Framework64 \ v4.0.30319 \ Config \ Browsers

2. Open the ie. browser file

Add:

<browser id="IE11Preview" parentID="Mozilla">    <identification>        <userAgent match="Trident/(?'layoutVersion'\d+).*rv:(?'revision'(?'major'\d+)(\.(?'minor'\d+)?))" />        <userAgent nonMatch="MSIE" />    </identification>    <capabilities>        <capability name="browser"              value="IE" />        <capability name="layoutEngine"         value="Trident" />        <capability name="layoutEngineVersion"  value="${layoutVersion}" />        <capability name="isColor"              value="true" />        <capability name="screenBitDepth"       value="8" />        <capability name="ecmascriptversion"    value="3.0" />        <capability name="jscriptversion"       value="6.0" />        <capability name="javascript"           value="true" />        <capability name="javascriptversion"    value="1.5" />        <capability name="w3cdomversion"        value="1.0" />        <capability name="ExchangeOmaSupported" value="true" />        <capability name="activexcontrols"      value="true" />        <capability name="backgroundsounds"     value="true" />        <capability name="cookies"              value="true" />        <capability name="frames"               value="true" />        <capability name="javaapplets"          value="true" />        <capability name="supportsCallback"     value="true" />        <capability name="supportsFileUpload"   value="true" />        <capability name="supportsMultilineTextBoxDisplay" value="true" />        <capability name="supportsMaintainScrollPositionOnPostback" value="true" />         <capability name="supportsVCard"        value="true" />        <capability name="supportsXmlHttp"      value="true" />        <capability name="tables"               value="true" />        <capability name="supportsAccessKeyAttribute"    value="true" />        <capability name="tagwriter"            value="System.Web.UI.HtmlTextWriter" />        <capability name="vbscript"             value="true" />        <capability name="revmajor"             value="${major}" />        <capability name="revminor"             value="${minor}" />    </capabilities></browser>

Link to other solutions for this problem:

Http://stackoverflow.com/questions/15273618/ie10-script5009-dopostback-is-undefined

Http://www.hanselman.com/blog/BugAndFixASPNETFailsToDetectIE10CausingDoPostBackIsUndefinedJavaScriptErrorOrMaintainFF5ScrollbarPosition.aspx

Http://stackoverflow.com/questions/19783852/asp-net-on-net-4-causing-ie11-throw-dopostback-is-undefined-javascript-error

Http://stackoverflow.com/questions/18009636/crosspostback-ajax-controls-and-asp-net-generated-postbacks-work-for-net-4-5/19203518#19203518

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.