Introduction
This library contain four custom controls each control has the validations for required and character type
NumericTextBox
this control validate on keypress the entered char and it's accept only numbers
DecimalTextBox
this control validate on keypress the entered char and it's accept only Decimal
StringTextBox
this control validate on keypress the entered char and it's accept allpha pluse according to it's property AllowSpace and AllowDigit it will accept the digit and space
CustomTextBox
this control has type property and according to it in validate the validation will occure before submit
public enum TextBoxType
{Text = 1, AlphaWithSpace = 2, lphaOnly=3, Nmeric=4, mail = 5, RL=6 }
How to use this controls
After drag the control on the page just set controls properties
cc1:CustomTextBox ID="CustomTextBox6"
runat="server" TextType="AlphaWithSpace" InvalidRequiredMessage="*" >
all these controls have a common properties which included in BaseCustomControl
InvalidRequiredMessage, EnableClientScript, IsRequired, CssClassTxt, CssClassErr |