Sztucki
Sztucki

Reputation: 145

Asp.net Custom Validate. What languages can you use?

I am currently looking at .net custom validate. for a custom rule it looks like you have to set up a validate control in the aspx page like this:

      <asp:CustomValidator id="sumcheckValidator" runat="server"  
      ErrorMessage="numbers dont add up correctly" 
      Display="Dynamic"
      ForeColor="Red"
      ClientValidationFunction="sumcheck" />  

and then create a script. I want to know what languages you can create the script in. I have seen that you can use javascript. But is there anything else available that i can use?

Upvotes: 0

Views: 46

Answers (1)

wooer
wooer

Reputation: 1717

And itself (or the serverside language that your page uses) for serverside validation (CustomValidator.OnServerValidate)

Upvotes: 1

Related Questions