Hey peoples, im a complete newbie to ASP.NET. Basically i just need to validate a textbox so that only a 4 digit number can be inserted. Wat code should i use (im using VB as my source language and it's not a code-behind). This is the asp textbox validation attributes:
<asp:CustomValidator
ID="lengthCheck"
runat="server"
ErrorMessage="Must be at least 4 digits"
ControlToValidate="postcode"
OnServerValidate="pcode"
Text="Must contain 4 digits"
Display="Dynamic">
</asp:CustomValidator>
Thanks heaps