Reputation: 20916
Can i run all validators when page is loaded. I need to show * in all input text fields that are necessary. I have require field validators for that fields, can i run it by default when page is loaded?
Upvotes: 0
Views: 201
Reputation: 263047
Calling Page.Validate() during your Load
phase should do the trick.
Upvotes: 2
Reputation: 38142
For WinForms you have ValidateChildren, would it work for webforms?
Upvotes: 0