This is a migrated thread and some comments may be shown as answers.

Firefox and MaskedTextBox

3 Answers 72 Views
Input
This is a migrated thread and some comments may be shown as answers.
Susan
Top achievements
Rank 1
Susan asked on 10 Dec 2008, 04:14 AM

i have a radmaskedtextbox defined below. you can only type one number in it. it works fine in ie and safari, but not in firefox. it is defined as:

 

 

<telerik:RadMaskedTextBox SelectionOnFocus="SelectAll" TabIndex="7" Columns="12" PromptChar="" DisplayMask="###-###-####" ID="txtContactNumber" Mask="###-###-####" MaxLength="12" runat="server" Skin="Web20" />

thanks for the help.
susan

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 10 Dec 2008, 08:54 AM
Hello Susan,

Could you please remove the MaxLength property and try again?

Best regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Susan
Top achievements
Rank 1
answered on 10 Dec 2008, 12:52 PM
that did it...i figured it was probably something simple.

thanks,
susan
0
Susan
Top achievements
Rank 1
answered on 10 Dec 2008, 01:12 PM
actually, after testing some more, i have another question on this. now, for a phone number, i can type in just one number and it takes it. i want to ensure an entire phone number is typed in. do i need to set something else or do i have to check this in the code-behind for a length of 12?

FORGET THE ABOVE!!! My bad...forgot the regular expression validator.....

thanks,
susan
Tags
Input
Asked by
Susan
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Susan
Top achievements
Rank 1
Share this question
or