Reputation: 145
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
Reputation: 1717
And c# itself (or the serverside language that your page uses) for serverside validation (CustomValidator.OnServerValidate)
Upvotes: 1