Which approach should you recommend?

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?

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?

A.
Use the controlRenderingCompatibilityVersion element of the pages section of the
machine.config file.

B.
Use the controls element of the pages section of the migrated application’s web.config
file.

C.
Use the controlRenderingCompatibilityVersion element of the pages section of the
migrated application’s web.config file.

D.
Use the controls element of the pages section of the machine.config file.



Leave a Reply 0

Your email address will not be published. Required fields are marked *