Use a RequiredValidator control in conjunction with your custom control (you can use more than one validator control at a time). The RequiredValidator will force an entry in the field which your custom control then can validate.
-Stephen -----Original Message----- From: Robert Koval [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 1:51 AM To: dotnet Subject: Custom validation control I have a small problem with custom validation. I have created a custom client side function for validation of text filed. Everything works fine, but my problem is that validation is not beiing excuted whenever the field is empty. Whenever I type some data in it executes. The idea behind was to create custom validation similar to RequiredValidator but based on some additional condition (Checkbox is checked). Anyone has an idea? thnx </rob> --- You are currently subscribed to dotnet as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/ --- You are currently subscribed to dotnet as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/
