Input for ASP.NET WebForms
Using C1InputMask

The C1InputMask control is basically an enhanced TextBox control that uses a mask to distinguish between proper and improper user input. It is the main Web control used for entering and editing information of any data type in a text form. C1InputMask serves as a base class for the C1InputDate and C1InputNumeric controls. The following image shows a C1InputMask control with a phone number Mask.

Using the Mask property, you can specify the following input without writing any custom validation logic in your application:

Key Benefits

The key benefits of C1InputMask include the following:

See Also