Problem with Error Provider!

rajesh.forum

Well-known member
Joined
Sep 7, 2007
Messages
55
Programming Experience
Beginner
Hi all!!!!
i ve used ErrorProvider for textbox for required field.I ve validated in
" Textbox_validating " Event .It works fine with this.But the Problem is when the page loads, the first textbox gets focused, because of this it is getting validated and error provider starts blinking..

with regards
Rajesh
 
That doesn't really make sense. The Validating event is only raised when you try to leave a control, not when you enter it. You must be shifting focus from that TextBox somehow.
 
Back
Top