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

Loading data to the editor with mask

2 Answers 59 Views
MaskedEditBox
This is a migrated thread and some comments may be shown as answers.
Edward
Top achievements
Rank 1
Edward asked on 06 Mar 2008, 08:12 PM
Say I have the mask (###) ###-####, how do I load the string 1234567890 into the textbox and retaining the mask? 


In the above scenario, I also try to set .Value = telephone, where telephone is a 10 character long string.  However the text box is simply empty if I do that.

2 Answers, 1 is accepted

Sort by
0
Edward
Top achievements
Rank 1
answered on 06 Mar 2008, 09:06 PM
Another problem I am having is, if I set the text using .Text = something, then when I click on the TextBox the mask will appear and I can overwrite the existing value, even if the MaskedEditor is set to ReadOnly.
0
Boyko Markov
Telerik team
answered on 07 Mar 2008, 09:08 AM
Hi Edward ,

Thank you for the feedback.

I agree with you that there is a problem with the value property when the mask box is in the standard type. The reported issues will be addressed for the upcoming Q release. I'm sorry for the inconvenience.
Could you please write me back if you have any other issues or suggestions regarding masked edit.

Your Telerik points have been updated.

Kind regards,
Boyko Markov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
MaskedEditBox
Asked by
Edward
Top achievements
Rank 1
Answers by
Edward
Top achievements
Rank 1
Boyko Markov
Telerik team
Share this question
or