The ASP.NET AJAX Control Toolkit provides the MaskedEdit control and the MaskedEditValidator control
which work together to prompt, style, and validate the data that the user enters in a text box.
This allows the Web page to provide the user with immediate visual feedback on whether the data
entered is of a valid type and format.
文章来源:http://www.asp.net/learn/videos/view.aspx?tabid=63&id=131