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

Pressing Enter on RadTextBox issue with Firefox

3 Answers 89 Views
Input
This is a migrated thread and some comments may be shown as answers.
EmpowerIT
Top achievements
Rank 2
EmpowerIT asked on 18 Jun 2009, 01:58 AM
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?


3 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 18 Jun 2009, 02:51 PM
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.
0
EmpowerIT
Top achievements
Rank 2
answered on 18 Jun 2009, 11:15 PM
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
0
Iana Tsolova
Telerik team
answered on 19 Jun 2009, 01:20 PM
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.
Tags
Input
Asked by
EmpowerIT
Top achievements
Rank 2
Answers by
Iana Tsolova
Telerik team
EmpowerIT
Top achievements
Rank 2
Share this question
or