Getting value of selected item

1 Answer 19 Views
MultiColumn ComboBox
Claude
Top achievements
Rank 1
Iron
Veteran
Claude asked on 03 Feb 2022, 01:54 AM

I set the datasource to a query ( CatQuery)

This loads the control with 2 columns- serialID and catText

How do I get these two values of the selected item of the dropdown.  

 

Thank you

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 03 Feb 2022, 05:45 AM
Hello, Claude,   


RadMultiColumnComboBox offers the EditorControl property which gives you access to the grid in the popup. Thus, you can use the EditorControl.CurrentRow and extract the cells' values in a similar way like you would do it for RadGridView:
https://docs.telerik.com/devtools/winforms/controls/gridview/cells/accessing-cells

 object firstCellValue = this.radMultiColumnComboBox1.EditorControl.CurrentRow.Cells[0].Value;
I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
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
MultiColumn ComboBox
Asked by
Claude
Top achievements
Rank 1
Iron
Veteran
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or