How do I programmatically expand/collapse the RadComboBox?

5 posts, 0 answers
  1. Allen
    Allen avatar
    2 posts
    Member since:
    Apr 2011

    Posted 30 Jun 2011 Link to this post

    The subject says it all.
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 30 Jun 2011 Link to this post

    Hello Allen,

    You need to set the IsDropDownOpen property.

    All the best,
    Valeri Hristov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Balaji
    Balaji avatar
    1 posts
    Member since:
    Jul 2011

    Posted 25 Jul 2011 Link to this post

    I have a radGrid control inside a radCombobox control. When I try to sort the items in the radGrid by clicking on the grid column header, the RadGrid NeedDataSource event gets called and the radCombobox collapses. I want the radCombobox dropdown to stay open so that the user can pick the rows from the radGrid after sorting. Can someone assist me in what needs to be done to keep the
    radComboxbox open after sorting the datagrid?

    Thanks in advance.
  5. Jakub
    Jakub avatar
    1 posts
    Member since:
    Feb 2014

    Posted 13 Feb 2014 Link to this post

    It is possible do it using method showDropDown, such like this:

    var combo = $find("<%= rcbDistricts.ClientID %>");
    combo.showDropDown();
  6. Anthony
    Anthony avatar
    7 posts
    Member since:
    Oct 2013

    Posted 08 Oct 2014 Link to this post

    Add this to your RadComboBox:

    OnClientKeyPressing="(function(sender, e){ if (!sender.get_dropDownVisible()) sender.showDropDown(); })"
Back to Top
UI for WPF is Visual Studio 2017 Ready