Netnoobie
Well-known member
Hello all. Im trying to (what I think is simple, maybe Im wrong) do a validation when the user tabs off of a textbox. This validation is a database check to make sure that the entered text is valid based on internal criteria.
I cant see to get into custom validator code while running it, and for some reason what I did just doesnt look and feel correct. How could I call up some sort of validator when the textbox is tabbed off of? And also validators retun boolean values right? Like IsValid = True? I need to use server side validation because of the database, but I cant seem to link the tabbing off of the textbox with firing the validation event...then marking the page invalid then and showing it. Im using this method for an editeable datagrid as well as regular text boxes on a form. This means Im really needing be able to fire everything without a submit button as I seen in examples everywhere.
Ive never really played with custom validators before and Im felling really lost.
Thanks!
Bryan
I cant see to get into custom validator code while running it, and for some reason what I did just doesnt look and feel correct. How could I call up some sort of validator when the textbox is tabbed off of? And also validators retun boolean values right? Like IsValid = True? I need to use server side validation because of the database, but I cant seem to link the tabbing off of the textbox with firing the validation event...then marking the page invalid then and showing it. Im using this method for an editeable datagrid as well as regular text boxes on a form. This means Im really needing be able to fire everything without a submit button as I seen in examples everywhere.
Ive never really played with custom validators before and Im felling really lost.
Thanks!
Bryan