5 Answers, 1 is accepted
Thank you for the question.
You can show the drop down on first click by using RadComboBoxEditor's ShowDropDown() method in the CellEditorInitialized event. Please, review the following code-block:
|private void radGridView1_CellEditorInitialized(object sender, GridViewCellEventArgs e)|
|if ((this.radGridView1.ActiveEditor != null) &&|
|(this.radGridView1.ActiveEditor is RadComboBoxEditor))|
|(this.radGridView1.ActiveEditor as RadComboBoxEditor).ShowDropDown();|
I hope this helps. If you have other questions, do not hesitate to contact me again.
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I'm using Releases Q1-2010.
Was it replaced with a new command?
Thank you for writing.
In Q1 2010 release we have introduced a different editor structure and the implementation of the Auto-DropDown should be done in a different way, namely, by with using a custom combo-box editor. Please consider the following code snippet:
Let me know if you have any additional questions.
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.
I am trying to use a GridViewComboBoxColoumn in my Winform Application and I want to eliminate the 3 clicks it takes to select a value in the combo.
Can I subscribe to an event and automatically show the combo?
Thanks for your help,
In order to show the popup immediately after activating the editor you can use the following code snippet when handling the RadGridView.CellEditorInitialized event:
In addition, you can subscribe to the CellClick event and force entering edit mode:
Thus, only with a single click, you can activate the editor and show the drop down.
I hope this information helps. If you have any additional questions, please let me know.