Masked Textbox Control Code Examples
Last Modified on 03/19/2017 7:35 am EDT
Masked Textbox Code Example
<sq:MaskedTextBox ID="MaskedTextBox1" runat="server" SelectionOnFocus="SelectAll"
Label="IP address: " PromptChar="_" Width="300px" Mask="<0..255>.<0..255>.<0..255>.<0..255>">
</sq:MaskedTextBox><br />
Multiline Input: <sq:MaskedTextBox Width="210px" Height="80px" ID="MaskedTextBox2"
runat="server" Mask="Te\lephone: (###) ###-####-####\r\nF\ax: (###) ###-####-####\r\nZip code: #####-####"
TextMode="MultiLine" Rows="5" Columns="50">
</sq:MaskedTextBox>