Get the RadDropDownListEditor instance of a GridView cell.

2 posts, 0 answers
  1. Maxime
    Maxime avatar
    1 posts
    Member since:
    Oct 2011

    Posted 19 Oct 2011 Link to this post


    I want to change the Data Source value of a RadDropDownListEditor instance contained by a GridView cell. I want to have that instance by getting the cell element from the RadGridView object with the cell's column and row indexes.


    What I'm trying to achieve is to set, dynamically, every Data Source value for every cell of my grid. So, I'm iterate trough my rows and try to set the Data Source value. 

    How can I get the RadDropDownListEditor instance of a specified cell?

  2. Alexander
    Alexander avatar
    306 posts

    Posted 20 Oct 2011 Link to this post

    Hello Maxime,

    RadGridView uses editors to enable the users to edit the data in its cells. You can change the DataSource of RadDropDownListEditor using the CellEditorInitialized event of RadGridView. The KB article demonstrates how to accomplish this task.

    Please note that we still experct an answer from your in your thread "Customize cell background with images". This information will allow us to continue supporting your enquries.

    I hope it helps.

    Best regards,
    the Telerik team

    Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

Back to Top