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

RadMaskedTextBox drops numbers when using browser back button

1 Answer 54 Views
Input
This is a migrated thread and some comments may be shown as answers.
Mark Perry
Top achievements
Rank 1
Mark Perry asked on 10 Jan 2012, 05:08 PM
When I load up the page and apply the appropriate mask to the textbox the data is displayed correctly.
If I then click another page and then use the browser's back button, the phone number is messed up and missing the last 4 digits while the other  6 are in random places within the mask?
<telerik:RadMaskedTextBox  ID="txtPhone" runat="server" Width="225px" MaxLength="10" DisplayMask="(###)###-####" Mask="##########" SelectionOnFocus="CaretToBeginning" />

The issue is in IE 8. We are using 2010.3.1317.35. The control is not wrapped in any AJAX.

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 11 Jan 2012, 02:52 PM
Hello Mark,

There is indeed a problem with the RadMaskedTextBox control which I notified our developement team about. It seems the control persists the string from the display mask, instead of the value of the control. Our developers will investigate it further, confirm whether it is a bug and if so, fix it.

In the meantime, you could as a workaround use identical Mask and DisplayMask values, in this scenario there is no such problem.

Kind regards,
Tsvetina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Input
Asked by
Mark Perry
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or