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

Use Custom Form as DropwDown in MultiColumnComboBox Column Grid

1 Answer 82 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Cesar
Top achievements
Rank 1
Cesar asked on 12 Oct 2020, 08:07 PM

Hello.

I design a function form as record finder in my Application. I want to use it instead of dropdownlist in a MultiColumnComboBox Column in a radgridview. Is it possible to do that?

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 13 Oct 2020, 10:35 AM
Hello, Cesar,   

RadMultiColumnComboBoxElement, which is used as an editor in RadGridView's GridViewMultiComboBoxColumn, offers the CreatePopupForm method which can be overridden in a derivative. Thus, you can create a custom RadMultiColumnComboBoxElement and override its CreatePopupForm method where you can construct your own MultiColumnComboPopupForm. The custom editor can be applied in the EditorRequired event that RadGridView offers: https://docs.telerik.com/devtools/winforms/controls/gridview/editors/using-custom-editors 

Another suitable control that can be hosted in a custom editor by using a RadHostItem is RadPopupEditor. It allows you to show any predefined or custom controls in its popup. Additional information about RadPopupEditor is available here: https://docs.telerik.com/devtools/winforms/controls/editors/popupeditor/popupeditor 

Feel free to use this approach which suits your requirements best.
 
I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
GridView
Asked by
Cesar
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or