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

RadMaskedTextBox Text property remains empty

4 Answers 94 Views
MaskedTextBox
This is a migrated thread and some comments may be shown as answers.
Nabeel
Top achievements
Rank 1
Nabeel asked on 11 Sep 2015, 07:30 AM

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

Sort by
0
Nabeel
Top achievements
Rank 1
answered on 11 Sep 2015, 12:45 PM

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.

0
Maria Ilieva
Telerik team
answered on 16 Sep 2015, 08:11 AM
Hi Nabeel,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Nabeel
Top achievements
Rank 1
answered on 21 Sep 2015, 12:34 PM

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.

0
Maria Ilieva
Telerik team
answered on 23 Sep 2015, 02:23 PM
Hi,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
MaskedTextBox
Asked by
Nabeel
Top achievements
Rank 1
Answers by
Nabeel
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or