I am using the RadMaskedTextBox controls for several phone number entries on a web form. I used the Smart tag to set up the mask I wanted to use and used declaritive binding in the page markup, like this:
However, when the value from the data store is bound to the control, the output is displaying incorrectly. For instance, if the phone number in the data store is, "1112223333", then I would expect the masked display to appear as, "(111) 222-3333", but what is shown instead is, "(111) ___-222_".
Has anyone else seen this or found a work-around?
Thanks in advance,
Jon
<
telerik:RadMaskedTextBox
ID
=
"txtPhone"
runat
=
"server"
Mask
=
"(###)###-####"
Text='<%# DataBinder.Eval( Container, "DataItem.Phone" ) %>'
TabIndex="6" EmptyMessage="-- Enter Phone Number --" HideOnBlur="true" ZeroPadNumericRanges="true" DisplayMask="(###)###-####">
</
telerik:RadMaskedTextBox
>
However, when the value from the data store is bound to the control, the output is displaying incorrectly. For instance, if the phone number in the data store is, "1112223333", then I would expect the masked display to appear as, "(111) 222-3333", but what is shown instead is, "(111) ___-222_".
Has anyone else seen this or found a work-around?
Thanks in advance,
Jon