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

Changing MultiColumnDropDown datasource

1 Answer 63 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
Terry
Top achievements
Rank 1
Terry asked on 15 Aug 2012, 01:58 PM
Hi,

I have a multi-column dropdown within a grid as so:
Dim col As GridViewMultiComboBoxColumn = New GridViewMultiComboBoxColumn()
col.DataSource = myLibrary_Consultants
col.DisplayMember = "Initial"
col.ValueMember = "Initial"
col.Name = "Cons1"
RadGridView_ContactLog.Columns.Add(col)


How can I change the datasource for the dropdown later on in code,

as RadGridView_ContactLog.Columns(0)... doesn't have a datasource property?

Thanks

Terry

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 20 Aug 2012, 12:07 PM
Hi Terry,

Thank you for writing.

You need to cast the column to GridViewMultiComboBoxColumn in order to access the column specific properties like DataSource.

I hope this helps.
 
All the best,
Stefan
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
MultiColumn ComboBox
Asked by
Terry
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or