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.