Incompatibility of asp.net server controls in IE10

Source: Internet
Author: User

I believe that many of the children's shoes using IE10 have discovered this problem. The following is my problem in IE10 standard mode. I declare that IE10 has more than one version.

1. The server control property is lost. TextBox defined on the aspx page:

<Asp: TextBox ID = "txt" runat = "server" Width = "200" type = "codeph" text = "codeph"/>

In standard IE10 mode, the browser finds that the width is incorrect. Open the source code and find it as follows:

<Input name = "txt" type = "text" id = "txt"/> the width attribute is missing.

2. Occasional page error _ doPostBack not found

At present, we have found the above two points. The first reaction is the compatibility problem. I checked some information, which is indeed a bug in IE10. I cannot help but feel dissatisfied with Microsoft products, the new browser has compatibility problems with its own server controls.

Generally, you only need to set the browser to run in compatible mode. But how can developers solve this problem?

In the VS project, add the App_Browsers folder, the ie. browser file, and the content under the file content post:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

This is a site-based repair method. For details, refer to Microsoft official materials:

. NET 4 browser update NuGet package-App_BrowsersUpdate

. NET 2.0 Browser update NuGet package-App_BrowsersUpdate.net20

Patch can also be used to solve the compatibility problem of all websites on the server.

. NET 4-

 

In addition, the blogger has used a large number of devexpress server controls in the project, which is miserable. Although the above methods have been used for repair, the control provided by VS has not encountered any problems, but the dev control has a lot of errors, finally, there is no repair. Users can only use the compatibility mode.

I only hope Microsoft can fix this problem when releasing the next version of the browser.

Related Article

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.