Home > DeveloperSection > Forums > CustomValidator in ASP.NET
Monaj Singh
Monaj Singh

Total Post:41

Posted on    October-18-2010 8:23 AM

 ASP.Net ASP.Net 

 1 Reply(s)
 1431  View(s)
Rate this:
Hi Guys
Please help
How to use CustomValidator in ASP.NET?
 with sample code.

Amit Singh

Total Post:103

Posted on    October-18-2010 10:20 AM

CustomValidator is a server side validator
we create function to particular control. we give the particular validator condition
for example
function check()
//give the condition

<asp:TextBox id="txtBox"></asp:TextBox>
<asp:CustomValdator TargetControlID="txtBox" onClick="check();"></asp:CustomValidator>

Don't want to miss updates? Please click the below button!

Follow MindStick