Microsoft
70-519 · Question #267
You have a Web application that has been migrated from ASP.NET 3.5 to ASP.NET 4. While testing the migrated Web application, developers notice that the non-input Web controls with the property…
The correct answer is D. Use the control Rendering Compatibility Version element of the pages section of the migrated. See the full explanation below for the reasoning.
Question
You have a Web application that has been migrated from ASP.NET 3.5 to ASP.NET 4. While testing the migrated Web application, developers notice that the non-input Web controls with the property Enabled="false" are rendering as enabled. You need to ensure that the controls in the migrated Web application render correctly, and that other Web applications hosted on the same Web server are not affected by the solution. Which approach should you recommend?
Options
- AUse the controls element of the pages section of the machine config file.
- BUse the controls element of the pages section of the migrated application's web.config file.
- CUse the control Rendering Compatibility Version element of the pages section of the machine
- DUse the control Rendering Compatibility Version element of the pages section of the migrated
How the community answered
(64 responses)- A3% (2)
- B11% (7)
- C2% (1)
- D84% (54)
Community Discussion
No community discussion yet for this question.