Glossary Item Box
This web control almost completely mimics the standard Windows MaskedTextBox (it uses the same mask templates, on entering text visible mask is highlighted...). The MaskedTextBox control enables developers to set mask property by which the user input to MaskedTextBox can be restricted.
Features:
MaskedTextbox view sample:

Mask: To limit input in a text box, user must set appropriate mask for that text box. This mask can be set through the Mask property of MaskedTextBox control.
The following table provides information about the characters sets used for mask creation:
|
Mask Character Set |
Description |
|
0 |
Digit placeholder (Entry Required). |
|
9 |
Digit placeholder (Entry Optional). For example: 0 a 9. |
|
@, $, %, (, ), -, {, }, [, ], ;, :, ', ", (space), (comma), ., /, _, =, + |
Special Character - matched exactly. |
|
\ |
Treat the next character in the mask string as a literal. This allows you to include the '#', '&', 'A', and '?' characters in the mask. This character is treated as a literal for masking purposes. |
|
& |
Character placeholder. Valid values for this placeholder are ANSI characters in the following ranges: 32-126 and 128-255. |
|
> |
Convert all the characters that follow to uppercase. |
|
< |
Convert all the characters that follow to lowercase. |
|
A |
Alphanumeric character placeholder (Entry Required). For example: a a z, A a Z, or 0 a 9. |
|
a |
Alphanumeric character placeholder (Entry Optional). |
|
? |
Letter placeholder. For example: a a z or A a Z. |
|
Literal |
All other symbols are displayed as literals; that is, as themselves. |
You can use "Input mask" dialog to define mask. Click with the right mouse button on MaskedTextbox control and select "Set Mask..." item

After that "Input mask" dialog will activate. Enter the needed mask and press OK button
| See Also |
Client-side API: MaskedTextbox client side API
Overview: Overview