XHTML Gotchas With ASP.NET

Filed Under Code | 1 Comment

Are you attempting validate your XHTML but it just doesn’t seem to be working with ASP.NET? Here are 3 gotchas:
1. xhtmlConformance is not set in web.config
Even if you declare a page to run as Strict, ASP.NET will still render all pages and controls under its default mode Transitional. In order to tell ASP.NET […]

How To Write Validators That Demand Attention

Filed Under Code | 1 Comment

ASP.NET validators are bad at getting attention. Period. Users do not want to view validation summaries at the top of a page, only to go visually searching through your form for the invalid fields. Nor do they want to play a rousing game of hide-and-go-seek with little red asterisks…

« go back
Close
E-mail It