Example of Default Functionalities in ASP.NET MVC Input Mask Control
This sample demonstrates that the default functionalities of MaskedTextBox component. Enter numeric value for “Mobile Number” textbox then press tab key and then enter “Country ISO Code” in alphabetic format, then type “D.O.B” in numeric format. Finally enter the “Product Key” in alpha numeric format.
The MaskedTextBox is a textbox extended component that allows the user to enter only the valid input based on the provided maskopens in a new tab. It is used to get the input with specific formats like Phone number, Date, Time, IP, Social security number, etc.
MaskedTextBox supports the list of mask elementsopens in a new tab based on the standard MSDNopens in a new tab mask elements.
More information about the MaskedTextBox instantiation can be found in the documentationopens in a new tab section.