August 2009 Entries

Adding server side errors to Summary Control

“Validation Summary” is very handy to use when one is using the ASP.NET validation controls. We can make it more useful by adding sever side errors to it, it is bit trick but not impossible. By doing this one can avoid the overhead of adding label displaying the server side errors on the page. All validation controls implements the IValidator interface and add themselves to the Page.Validators collection at page creation time. IValidator has three important members: IsValid, ErrorMessage and Validate()....

Posted On Monday, August 17, 2009 3:01 PM | Feedback (1)

Copyright © BackToBasics

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski