Changing MultiColumnDropDown datasource

2 posts, 0 answers
  1. Terry
    Terry avatar
    39 posts
    Member since:
    Sep 2007

    Posted 15 Aug 2012 Link to this post


    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"

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

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


  2. Stefan
    Stefan avatar
    2908 posts

    Posted 20 Aug 2012 Link to this post

    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,
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Back to Top