Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Oct 14, 2008 07:49 AM by Zhi-Qiang Ni - MSFT
Member
3 Points
33 Posts
Oct 11, 2008 03:11 PM|LINK
Anyway to mask either a number or a letter in the same position?
Participant
1091 Points
209 Posts
Oct 12, 2008 04:59 AM|LINK
A regular expression for numer or letter is [A-Za-z0-9].
------------------------ if an answer, mark it so.
All-Star
33491 Points
2952 Posts
Microsoft
Oct 14, 2008 07:49 AM|LINK
<asp:TextBox runat="server" ID="TextBox4" Width="100" /> <ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender6" runat="server" Mask="???" DisplayMoney="None" MaskType="None" TargetControlID="TextBox4" ClearMaskOnLostFocus="true" InputDirection="RightToLeft" AutoComplete="False"> </ajaxToolkit:MaskedEditExtender> <ajaxToolkit:MaskedEditValidator ID="MaskedEditValidator6" runat="server" ControlExtender="MaskedEditExtender6" ControlToValidate="TextBox4" InvalidValueMessage="Invalid data : Numbers & Letters Only" IsValidEmpty="True" TooltipMessage="Numbers & Letters Only" ValidationExpression="^[A-Za-z0-9]{3}$"> </ajaxToolkit:MaskedEditValidator>
cykill
Member
3 Points
33 Posts
Maskededitextender to mask number or letter in the same position?
Oct 11, 2008 03:11 PM|LINK
Anyway to mask either a number or a letter in the same position?
PaulSpencer
Participant
1091 Points
209 Posts
Re: Maskededitextender to mask number or letter in the same position?
Oct 12, 2008 04:59 AM|LINK
A regular expression for numer or letter is [A-Za-z0-9].
------------------------
if an answer, mark it so.
if an answer, mark it so.
Zhi-Qiang Ni...
All-Star
33491 Points
2952 Posts
Microsoft
Re: Maskededitextender to mask number or letter in the same position?
Oct 14, 2008 07:49 AM|LINK
Please refer to this: Have this code helped?
Best regards,
Zhi-Qiang Ni
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as
Answer” if a marked post does not actually answer your question.