RadMaskedTextBox Text property remains empty

5 posts, 0 answers
  1. Nabeel
    Nabeel avatar
    8 posts
    Member since:
    Sep 2015

    Posted 11 Sep 2015 Link to this post

    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"/>​

  2. Nabeel
    Nabeel avatar
    8 posts
    Member since:
    Sep 2015

    Posted 11 Sep 2015 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 16 Sep 2015 Link to this post

    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
  5. Nabeel
    Nabeel avatar
    8 posts
    Member since:
    Sep 2015

    Posted 21 Sep 2015 Link to this post

    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.

  6. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 23 Sep 2015 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017