No more postback on enter?

8 posts, 0 answers
  1. PaulMrozowski
    PaulMrozowski avatar
    80 posts
    Member since:
    Apr 2007

    Posted 09 Dec 2008 Link to this post

    I recently moved the RadAjax control into my master page and now we're noticing a few pages where you previously were able to just hit enter to cause a postback no longer work when Ajax is enabled. Is there some setting to restore the previous behavior or do I have to now write some Javascript code to re-enable this functionality?
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 11 Dec 2008 Link to this post

    Hi Paul,

    Do you have the autopostback property for the controls on this pages enabled? This should automatically allow postback on Enter key press.

    All the best,
    Maria Ilieva
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. PaulMrozowski
    PaulMrozowski avatar
    80 posts
    Member since:
    Apr 2007

    Posted 11 Dec 2008 Link to this post

    That doesn't have the same behavior - AutoPostBack="true" on textboxes forces a postback anytime the data in the textbox has changed. That's not the same as posting the form on Enter.
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 15 Dec 2008 Link to this post

    Hello Paul,

    You could review the following help topic which elaborates on this matter. Test the provided approach and let us know if this works in your scenario.

    All the best,
    Maria Ilieva
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Vishal
    Vishal avatar
    4 posts
    Member since:
    Apr 2013

    Posted 25 Apr 2013 Link to this post

    The link you provided is not working.

    I am also facing same issue please provide fix for that as soon as possible
  7. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 29 Apr 2013 Link to this post

    Hello Vishal,

    As you noticed the last post in this thread is rather old so that it appears the previously provided link no longer exists. Also the described issue in this thread is mostly generic framework behavior and is not related with any of the RadControls directly. However if I did not understand your issue correctly and you are facing the problem with some of our controls I would suggest you to elaborate a bit more on the exact scenario you have so that we could test it locally and advise you further.

    Regards,
    Maria Ilieva
    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.
  8. Vishal
    Vishal avatar
    4 posts
    Member since:
    Apr 2013

    Posted 29 Apr 2013 Link to this post

    Hi Maria,

    My issue is that Postback on hitting enter key is not happening in RadTextBox as was happening in previous telerik control.               

    Previously I was using 2009 version of telerik controls, in that  Postback was happening in RadTextbox with enter key pressed. But Now I am using  2013 version of telerik version , and this behaviour is not happening now.




  9. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 01 May 2013 Link to this post

    Hi Vishal,

    If you mean that in the current version of the control, after pressing Enter the RadTextBox value is not submitted to the server this is the default behavior of the control from last three releases. In order to have the value on the server you should firstly blur the control or just manually call blur for the RadTextBox on the client if Enter key is pressed.

    Regards,
    Maria Ilieva
    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