M
Mike Surcouf
Hi
I have some regex validators on my page set to dynamic and like the way they
appear after you tab out of a field and also when you try to postback the
form.
All OK so far
When I register for the client side event of a textbox using ...
textBox.Attributes.Add("onKeyUp","javascriptfunction");
eg onKeyUp or onKeyDown the above validators stop working for the case when
you leave the text box (postback still works).
I was thinking it is probably because I have overidden the event the
validators use. I had a good look at the source of the page but couldnt see
the client side events for the validators.
Is am thinking there must be a way to have the validators working for
controls with their own clientside events otherwise no one could write a
control which works with the ASP.NET validators.
Many Thanks
Mike
I have some regex validators on my page set to dynamic and like the way they
appear after you tab out of a field and also when you try to postback the
form.
All OK so far
When I register for the client side event of a textbox using ...
textBox.Attributes.Add("onKeyUp","javascriptfunction");
eg onKeyUp or onKeyDown the above validators stop working for the case when
you leave the text box (postback still works).
I was thinking it is probably because I have overidden the event the
validators use. I had a good look at the source of the page but couldnt see
the client side events for the validators.
Is am thinking there must be a way to have the validators working for
controls with their own clientside events otherwise no one could write a
control which works with the ASP.NET validators.
Many Thanks
Mike