I am facing a strange scenario. in some ASP.NET page, there is a RadMaskedTextBox control with some mask. After entering data in it and after postback, its Text property is empty string on server side C# code. What can be wrong here.
Code:
<telerik:RadMaskedTextBox ID="txtPhone" runat="server" Mask="(###) ###-####" PromptChar="_" Width="130px"/>
4 Answers, 1 is accepted
Update:
I observed that this behavior happens after 1st postback on the page. For example, there is some validation error due to RequiredFieldValidator or some other reason, when the page is again loaded after Postback, this behavior is produced.
Can you please share your page markup ad well as the related code behind as the described issue can not be replicated in sample application on our end? Having your markup will help us further revise the issue and do our best to isolate the root cause of the problem.
Regards,
Maria Ilieva
Telerik
Hi Maria,
The issue vanished, automatically on my end. I am trying to reproduce the mentioned issue on my end again. If it happens, I will share the steps to reproduce with code snippet.
Do let us know in case the problem reappear and send the required information for replicating it on our end. Thus we will be able to investigate it locally and advice you further.
Regards,
Maria Ilieva
Telerik