This question is locked. New answers and comments are not allowed.
hi!!
I need to know how can I do in RadMultiColumnComboBox to Find a row by text (displaymember) or by value (valuemember) for next selecting it , and can you help me with an example?
thanks
I need to know how can I do in RadMultiColumnComboBox to Find a row by text (displaymember) or by value (valuemember) for next selecting it , and can you help me with an example?
thanks
3 Answers, 1 is accepted
0
Hello Aldemar,
Thank you for your question. You have to get the RadGridView that presents the data in the RadMultiColumnComboBox and scroll to the desired row:
The other property that you may find interesting is CurrentRow. Thus you can set the current row.
Do not hesitate to write me back if you have further questions.
Greetings,
Nick
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Thank you for your question. You have to get the RadGridView that presents the data in the RadMultiColumnComboBox and scroll to the desired row:
| private void radMultiColumnComboBox1_DropDownOpened(object sender, EventArgs e) |
| { |
| ((RadGridView)this.radMultiColumnComboBox1.EditorControl).GridElement.ScrollTo(5, 1); |
| } |
The other property that you may find interesting is CurrentRow. Thus you can set the current row.
Do not hesitate to write me back if you have further questions.
Greetings,
Nick
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Aldemar
Top achievements
Rank 1
answered on 16 Feb 2009, 04:12 PM
Ok, but my question is because I wanted to know which method is similar to RadComboBox.FindExactItem(string) and RadComboBox.FindItem(string) both of them return index of localized item, so how to achieve it in similar way by using radMultiColumnComboBox
thanks
thanks
0
Hi Aldemar,
Unfortunately, the answer to this question is that there is no such method.
You have to write your custom logic and we will can help you doing so. As I demonstrated you can get the grid inside the multicombobox and then you can use all the grid functionality available. For searching, you will have to traverse all rows. I have already demonstrated ScrollTo method and suggested that you may need IsCurrent property to make a row current. Please read this section from our documentation and the topics about the RadGridView in general. Do not hesitate to write me back if you have more questions.
Best wishes,
Nick
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Unfortunately, the answer to this question is that there is no such method.
You have to write your custom logic and we will can help you doing so. As I demonstrated you can get the grid inside the multicombobox and then you can use all the grid functionality available. For searching, you will have to traverse all rows. I have already demonstrated ScrollTo method and suggested that you may need IsCurrent property to make a row current. Please read this section from our documentation and the topics about the RadGridView in general. Do not hesitate to write me back if you have more questions.
Best wishes,
Nick
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.