Author: wappibz | Posted on: 8/27/2009 2:13:15 AM | Views : 245

Hi, I would like to use customValidator in my register page. The page contains not only textbox, but also checkBox, user controls.
It seems that I have to bind a controlID to a customValidator, and I can only bind textBox's ID to the validator.
Is it possible that one customValidator checks all textbox, checkbox, usercontrols? And how?
I first did not consider to use the custom validator, that I wrote a javascript to check all inputs from user, and register the validate method from code side like this:


protected void Page_Load(object sender, EventArgs e)     {