Posts

Showing posts from October 24, 2010

ASP.NET 4.0 Feature - Cleaner Markup in ASP.NET 4.0

Let us see the new feature in ASP.NET 4.0 known as the Cleaner Markup in ASP.NET 4.0 . We have a property “controlRenderingCompatbilityVersion” in the web.config which lets you decide if you want a cleaner markup. This is defaulted to “4.0” as of in ASP.NET. When we are migrating from older version this is always helpful in keeping the markups, which can be achieved by setting to 3.5 as seen below <pages controlRenderingCompatibilityVersion ="3.5"/> Hope this was cool feature. Please add your comments or suggestions. Cheers!!!