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

Filtering doesnt work after Tab

4 Answers 86 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Wojciech
Top achievements
Rank 1
Wojciech asked on 14 Nov 2011, 12:46 PM
Hi,

I' ve got RadComboBox in my RadGrid:
<telerik:RadComboBox runat="server" ID="RCBKon" DataTextField="KON_Numer" DataValueField="KON_Numer" Filter="Contains" <br>                                    DataSourceID="sqlKolumny" Width="70px" DropDownWidth="100px" SelectedValue='<%#Bind("KON_Numer") %>' Height="100px" <br>                                    onpropertychange="javascript:KolChanged();" onfocus="javascript:selectrow();"><br>                                </telerik:RadComboBox>

Filtering works grat when i click on combobox and start typing; problem is that users typically use Tab to focus on combobox, and then filtering doesn't work at all - checked in FF 8 and IE 8  ;

So my question is, is it known issue? And how can I get it to work with tab?

Regards,
Wojciech

4 Answers, 1 is accepted

Sort by
0
Accepted
Ivana
Telerik team
answered on 17 Nov 2011, 12:39 PM
Hello Wojciech,

Please try the following:
function focus(sender, args)
{
    sender.showDropDown();
}
<telerik:RadComboBox runat="server" ID="RCBKon" Filter="Contains" OnClientFocus="focus">
    <Items>
        <telerik:RadComboBoxItem runat="server" Text="test" />
        <telerik:RadComboBoxItem runat="server" Text="item" />
        <telerik:RadComboBoxItem runat="server" Text="page" />
    </Items>
</telerik:RadComboBox>

 It opens the drop-down list when the target combo gets focused, and the filtering starts to work as it should.

Greetings,
Ivana
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
0
Wojciech
Top achievements
Rank 1
answered on 17 Nov 2011, 01:13 PM
Thanks for answer Ivana; it solves my problem.

Regards,
Wojciech
0
Wojciech
Top achievements
Rank 1
answered on 17 Nov 2011, 01:13 PM
Thanks for answer Ivana; it solves my problem.

Regards,
Wojciech
0
Wojciech
Top achievements
Rank 1
answered on 17 Nov 2011, 01:15 PM
Srz for triple post
Tags
ComboBox
Asked by
Wojciech
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Wojciech
Top achievements
Rank 1
Share this question
or