'WebForm_DoPostBackWithOptions' is undefined in IE11 Preview

后端 未结 9 1667
心在旅途
心在旅途 2020-11-27 15:32

IE11 is coming. I just installed the developer preview version. However, if I run some of my web application and I got the error WebForm_DoPostBackWithOptions

相关标签:
9条回答
  • 2020-11-27 16:30

    I was also having this problem. I tried everything short of installing .NET 4.5. I was just looking for a short term solution before we upgrade to .NET 4.5. Panagiotis Poulos was correct about the new .browser file. I touched an existing .browser file and my new IE .browser file is now being recognized. Everything works again as far as I can tell.

    In short, follow this guys instructions, but if you try the .browser approach, remember to touch an existing .browser file after uploading your own .browser file.

    0 讨论(0)
  • 2020-11-27 16:30

    If you downloaded IE 11 but use the original IE browser that came with Windows, the user agent of the browser is little bit different and the most upvoted answer will not work.

    You just have to change this line:

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

    to this:

    <userAgent match="Trident\/7.0;(?'someGarbage'[^'rv:']*) rv:(?'version'(?'major'\d+)(\.(?'minor'\d+)?)(?'letters'\w*))(?'extra'[^)]*)" />
    
    0 讨论(0)
  • 2020-11-27 16:35

    Found a temporary fix to this.

    I tried applying the hotfix but I couldn't get the hotfix to install. The error was: kb2600088 does not apply, or is blocked by another condition on your computer. Probably due to .NET 4.5, I googled abit but I didn't want to uninstall .NET 4.5 so I didn't follow through.

    So, to get around the original problem, start IE11 and go to developer's console by pressing F12. Under 'Emulation' tab, set document mode to '10' and under user agent string, set it to '10' as well. I believe it emulates IE 10 which works perfectly fine without having to run into this bug.

    This is only a work around. Not a fix. Hope it helps those trying to get work done.

    0 讨论(0)
提交回复
热议问题