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

StaysOpenOnEdit="True" not working

3 Answers 342 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Xavier
Top achievements
Rank 1
Xavier asked on 06 Sep 2011, 12:02 PM

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.

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 07 Sep 2011, 07:33 AM
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 >>

0
rahul
Top achievements
Rank 1
answered on 23 Sep 2011, 12:04 PM
Hi,
But is solution this??
If I want to open the combo box automatically while editing??
0
Yana
Telerik team
answered on 26 Sep 2011, 08:07 AM
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 >>

Tags
ComboBox
Asked by
Xavier
Top achievements
Rank 1
Answers by
Yana
Telerik team
rahul
Top achievements
Rank 1
Share this question
or