StaysOpenOnEdit="True" not working

4 posts, 0 answers
  1. Xavier
    Xavier avatar
    12 posts
    Member since:
    Oct 2010

    Posted 06 Sep 2011 Link to this post

    The follow code doesn't work:

    <telerik:RadComboBox Name="testcc" ItemsSource="{Binding TestTypes}" SelectedItem="{Binding SelectedTestType}" IsEditable="True" StaysOpenOnEdit="True" IsFilteringEnabled="True" TextSearchMode="Contains" DisplayMemberPath="FullName"/>

    I tried setting OpenDropDownOnFocus="True", and it works only for the first time. When the ComboBox is still on focus but the dropdown is close, I tried typing in the textbox the dropdown will not open.

  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 07 Sep 2011 Link to this post

    Hi Xavier,

    The StaysOpenOnEdit property is not used and will be marked as obsolete in the next release.

    As to the OpenDropDownOnFocus property -  the dropdown is opened, when the combobox receives the focus ( it didn't contain the focus before that ), that's why it's expected not to work in the described case.

    All the best,
    Yana
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. rahul
    rahul avatar
    25 posts
    Member since:
    Jan 2011

    Posted 23 Sep 2011 Link to this post

    Hi,
    But is solution this??
    If I want to open the combo box automatically while editing??
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 26 Sep 2011 Link to this post

    Hi Rahul,

    Its default behavior is to stay open while entering text in the input. If the dropdown is closed and the combobox is in focus, you should manually open it with the dropdown button.

    All the best,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top