Johnny Bones
Johnny Bones

Reputation: 8402

How do you use MaskedEditExtender for both letters and numbers?

I've got the following line of code:

<asp:MaskedEditExtender ID="meeLegID" runat="server" MaskType="None" Mask="LLLLL" 
TargetControlID="txtLegID" PromptCharacter="_"  InputDirection="LeftToRight" 
AutoComplete="False" />

The problem is, it only accepts letters. If I set the Mask="99999", it only accepts numbers. So what do you set Mask to in order for it to accept both letters and numbers?

Upvotes: 0

Views: 650

Answers (1)

Johnny Bones
Johnny Bones

Reputation: 8402

Found the answer.

Mask = "?????"

Upvotes: -1

Related Questions