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

Select on enter broken on chrome

3 Answers 45 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ray
Top achievements
Rank 1
Ray asked on 25 Mar 2014, 08:15 PM

Select on enter is broken on Chrome, when matched, and enter the contol seelction is null.
The cleint has to hit the mouse click anywhere on the page to get the combo to select..
Anyone know a work around to make the combo work with enter on chrome?

I have recieved nothing back from Telerik support, and need this to work on both IE and Chrome, the majority of my users..

Ray..

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 26 Mar 2014, 03:49 AM
Hi Ray,

Please try the following sample code snippet which works fine at my end. Let me know if you have any concern.

ASPX:
<telerik:RadComboBox ID="RadComboBox1" runat="server" DataSourceID="SqlDataSource1"
    AllowCustomText="true" Filter="StartsWith" DataTextField="text" DataValueField="id">
</telerik:RadComboBox>
<telerik:RadButton ID="RadButton1" runat="server" Text="Get Selected Value" AutoPostBack="false"
    OnClientClicked="OnClientClicked">
</telerik:RadButton>

JavaScript:
<script type="text/javascript">
    function OnClientClicked(sender, args) {
        var combo = $find("<%=RadComboBox1.ClientID %>");
        alert(combo.get_selectedItem().get_text());
        alert(combo.get_selectedItem().get_value());
    }
</script>

Thanks,
Shinu.
0
Ray
Top achievements
Rank 1
answered on 27 Mar 2014, 03:44 AM
Thanks..
But need it to work on the example above not a different example..

I found that the telerik bug is not only on chrome, but also on Ie10 when WOW64 is used, works on WoW32..
So something broken inside telerik on the mappings to various browsers and OS support.
0
Kate
Telerik team
answered on 01 Apr 2014, 08:07 AM
Hello Ray,

Can you please provide the code that you use with the RadComboBox control so I can test the issue from my side and check on the behavior of the control?

Regards,
Kate
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
ComboBox
Asked by
Ray
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Ray
Top achievements
Rank 1
Kate
Telerik team
Share this question
or