.net resources

for an excentric world

Masked Textbox with Phone Number mask


Demo Code from AboveExpand
<ew:MaskedTextbox runat="server" id="mtbDemo1" Mask="(999) 999-9999" ValidationExpression="((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}" />
Masked Textbox with Social Security Number mask


Demo Code from AboveExpand
<ew:MaskedTextbox runat="server" id="mtbDemo1" Mask="999-99-9999" ValidationExpression="^\d{3}-\d{2}-\d{4}$" />

quicklinks


quickblog

Copyright © 2000 - 2024, Excentrics World