Filtering doesnt work after Tab

5 posts, 1 answers
  1. Wojciech
    Wojciech avatar
    12 posts
    Member since:
    Jul 2011

    Posted 14 Nov 2011 Link to this post

    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
  2. Answer
    Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 17 Nov 2011 Link to this post

    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
  3. Wojciech
    Wojciech avatar
    12 posts
    Member since:
    Jul 2011

    Posted 17 Nov 2011 Link to this post

    Thanks for answer Ivana; it solves my problem.

    Regards,
    Wojciech
  4. Wojciech
    Wojciech avatar
    12 posts
    Member since:
    Jul 2011

    Posted 17 Nov 2011 Link to this post

    Thanks for answer Ivana; it solves my problem.

    Regards,
    Wojciech
  5. Wojciech
    Wojciech avatar
    12 posts
    Member since:
    Jul 2011

    Posted 17 Nov 2011 Link to this post

    Srz for triple post
Back to Top