tags:

views:

28

answers:

2

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?

A: 

For WinForms you have ValidateChildren, would it work for webforms?

ohadsc
now it is web application.
senzacionale
+2  A: 

Calling Page.Validate() during your Load phase should do the trick.

Frédéric Hamidi
thx for help. i did not remember for this.
senzacionale