Pressing Enter on RadTextBox issue with Firefox

4 posts, 0 answers
  1. EmpowerIT
    EmpowerIT avatar
    117 posts
    Member since:
    Jun 2007

    Posted 17 Jun 2009 Link to this post

    Hi guys,

    it seems that we have an issue where just before a post back is occuring for a RadTextBox, the javascript on another button is triggering.

    This is only happening in firefox at the moment, does it have anything to do with the default button or something like that?


  2. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 18 Jun 2009 Link to this post

    Hello EmpowerIT,

    I followed your scenario and prepared a sample project for you. Can you try it on your end and let me know if it works as desired and what differs in your case?

    Kind regards,
    Iana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. EmpowerIT
    EmpowerIT avatar
    117 posts
    Member since:
    Jun 2007

    Posted 18 Jun 2009 Link to this post

    Hi,
    That sample replicates the problem.

    In Internet Explorer, pressing the enter button does not trigger the click event of the button, and the label displays 'textbox changed ....', however in firefox, the button is triggered. Internet Explorer is giving us the expected behaviour, but firefox is not. We are using the latest version of firefox, 3.0.11

    This is also the case if i comment out the code that specifies what the default button is.

    This is a problem for us on complex pages which have a number of buttons,and pressing enter in a textbox will actually 'click' one of these buttons which is not the correct behaviour. We want it to just trigger the textchanged event of the text box
  5. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 19 Jun 2009 Link to this post

    Hello EmpowerIT,

    I performed further testing and indeed, the RadTextBox TextChanged event is fired in Firefox. However, the button Click event was firing subsequently. I forwarded the issue to our developers and it is already fixed. You can download an internal build in a few days with the issue addressed.

    Best wishes,
    Iana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top