Rad Text Box loses entered data and needs to enter again!

18 posts, 0 answers
  1. GSK
    GSK avatar
    6 posts
    Member since:
    May 2010

    Posted 30 Aug 2010 Link to this post

    Hello,

    When I enter data in the Rad Text Box (after a postback operation), the entered data does not remain for the next postback. I mean... The data entered in the Text box does not remain in the viewstate. I am facing this problem only when I use Rad Text Box. This is not page specific. But this does not happen everytime. The occurrence is more often but not always.

    Please let me know if you need any further information regarding this problem.

    Thanks
    - gsk
  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 30 Aug 2010 Link to this post

    Hello GSK,

    Yes, we need additional information to identify the cause of the problem. A stand-alone runnable web page will be the best.

    Regards,
    Dimo
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. GSK
    GSK avatar
    6 posts
    Member since:
    May 2010

    Posted 01 Sep 2010 Link to this post

    Hello Dimo,

    I just added a ticket for the same issue... since I cannot upload solution file in this thread.

    Please check the support ticket number 344318 for further details.

    Thanks.

    - Gsk
  5. Rodrigo
    Rodrigo avatar
    5 posts
    Member since:
    Sep 2010

    Posted 08 Sep 2010 Link to this post

    Hi guys!

    I have the same problem.

    But for me the RadTextBox loses the text property always when i use with WebUserControl.

    Can anyone help me?

    I'm using Visual Studio 2010 with Asp.Net WebForms 4 and RadControls_for_ASP.NET_AJAX_2010_1_519

    Thanks!
  6. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 09 Sep 2010 Link to this post

    Hi Rodrigo,

    The problem in the case of GSK is a browser bug - IE8 does not fire client events for textboxes after postbacks (AJAX requests) initiated from script. The problem is not related to RadControls and can be reproduced with standard controls only. It is logged on the Microsoft website:

    https://connect.microsoft.com/IE/feedback/details/552346/asp-textboxes-lose-their-client-events-after-ajax-submit

    In the described case the bug breaks the RadTextBox functionality, because it relies on client events to store and retrieve its value.

    Possible workarounds include:

    1. Use standard asp:TextBoxes styled with RadFormDecorator to look like Telerik RadTextBoxes.
    or
    2. After each AJAX request, focus some other control on the page, different from the problematic textbox(es).


    If the problem seems to be different in your case, please provide a simple runnable demo.

    Kind regards,
    Dimo
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  7. Tim
    Tim avatar
    79 posts
    Member since:
    Feb 2008

    Posted 15 Sep 2010 Link to this post

    Will a future service pack get the RadTextBox to work with the IE bug?
  8. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 16 Sep 2010 Link to this post

    Hello Tim,

    I doubt that - it will be hard to implement a working control with no client events firing.

    Best wishes,
    Dimo
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  9. Tim
    Tim avatar
    79 posts
    Member since:
    Feb 2008

    Posted 16 Sep 2010 Link to this post

    Thanks for the reply.

    Sadly the first work around isn't going to be an option for our team.  As a result I am a day away from declaring that we have to remove the RadText box from our product since it does not work in IE8 (at times).

    What RadTextbox feature is so dependant upon this event which IE8 is not firing?  Is this a feature which we can turn off?

    Sorry, I am just looking for another option before we rid our product of this RadText box control.

    Thanks
    Tim
  10. Tim
    Tim avatar
    79 posts
    Member since:
    Feb 2008

    Posted 16 Sep 2010 Link to this post

    PS. the microsoft link is dead.  I was unable to find another Microsoft article concerning this.
  11. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 16 Sep 2010 Link to this post

    Hi Tim,

    As mentioned earlier, you can use RadInputManager instead of RadTextBox.

    RadInput textboxes render several <input> elements in order to support all their features, e.g. value formatting. As a result, the values of the textboxes must be syncronized with Javascript and client events are used for this (e.g. keypress, blur, focus, etc). So if there are no events, the control will not work correctly.

    Using RadTextBox with one textbox is not an option at this time. Actually, RadInputManager does this, so it will work in the scenario in which RadTextBox fails (or IE fails, to be more correct).

    Greetings,
    Dimo
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  12. Vic
    Vic avatar
    33 posts
    Member since:
    Dec 2006

    Posted 17 Aug 2012 Link to this post

    this bug seems to have come back only it's happening in IE, Chrome, and FireFox...
  13. Galin
    Admin
    Galin avatar
    526 posts

    Posted 22 Aug 2012 Link to this post

    Hello Vic,

    Could you please give us more details on what you are trying to achieve or possibly a small running project that we can use to reproduce the case? Alternatively a live URL will help us as well.


    All the best,
    Galin
    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.
  14. Vic
    Vic avatar
    33 posts
    Member since:
    Dec 2006

    Posted 22 Aug 2012 Link to this post

    What I am doing is generating dynamic radtextboxes from the code behind and then when I edit them on the front end, their values are lost on post back.  It was working fine till I just updated to the newest release and if I use a standard asp:textbox it works fine.

  15. Robin
    Robin avatar
    5 posts
    Member since:
    Apr 2009

    Posted 22 Aug 2012 Link to this post

    Hi,
    For me the RadTextBox seems to be emptying, or, loose the text property when the textbox is in a WebUserControl. Also causes validators to fail the validation on a required field.

    I can get the text to "commit" by pressing enter before bluring the field.

    Using radcontrols 2012.2.607.40 with .net 4

    Is my only alternative for user controls to use the radInputManager?

    Thanks!

    Robin
  16. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 27 Aug 2012 Link to this post

    Hi Robin,

    The asp:Valiodators should work correctly if you upgrade to the service pack with version 2012.2.724. We are currently looking for a solution for the TextBox to submits and validates its value even when not blurred. If we do success, it will be working into the next service pack.

    Kind regards,
    Vasil
    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.
  17. Robin
    Robin avatar
    5 posts
    Member since:
    Apr 2009

    Posted 28 Aug 2012 Link to this post

    Thanks Vasil! New version fixed the issue.

    Cheers,

    Robin
  18. Alexandre
    Alexandre avatar
    2 posts
    Member since:
    May 2011

    Posted 13 May 2013 Link to this post

    The problem is back again in version v2013.1.417.45. It was working fine in previous version.

    Anybody can help?
  19. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 14 May 2013 Link to this post

    Hi Alexandre,

    Can you give us an example code that you are using and steps to reproduce?

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