Custom Validation in ASP.NET
aspx source sode: <p> Name: <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="character must be greater than 6 and lesser than 10"></asp:CustomValidator> </p> <p> <asp:Button ID="Button1" runat="server" Text="Join" type="submit" Width="62px" /> </p> ServerValidation Code: Protected Sub CustomValidator1_ServerValidate(ByVal source As Object, ByVal args As System.Web.UI.WebControls.ServerValidateEventArgs) Handles CustomValidato...