bind Cell DropDwonList

6 posts, 0 answers
  1. Ismail Raafat
    Ismail Raafat avatar
    7 posts
    Member since:
    Feb 2010

    Posted 29 Sep 2011 Link to this post

    hello,
    i have a DropDwonColumn in my Grid i want to bind a specific cell in that column not all cells in the column.
    is that possible?
  2. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 30 Sep 2011 Link to this post

    Hello,

    Please take a look at my answer in this thread.

    After handling the CellEditorInitialized event, just set the datasource for that cell to the one you require.

    Hope this helps, if you have any other questions or comments, please let me know,

    Best Regards,
    Emanuel Varga

    Telerik WinForms MVP
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Ismail Raafat
    Ismail Raafat avatar
    7 posts
    Member since:
    Feb 2010

    Posted 02 Oct 2011 Link to this post

    Hello Emanuel Varga,
    thank you for your reply,
    i couldn't find
    ActiveEditor in GridViewCellEventArgs
     is that because i am using 2010 version?

    thaks

  5. Alexander
    Admin
    Alexander avatar
    306 posts

    Posted 03 Oct 2011 Link to this post

    Hello Ismail,

    The ActiveEditor property of GridViewCellEventArgs could be missing on your side if you use an older version of RadGridView. The Emanuel's solution will work for you if you update your project to the latest version of the controls.

    In the older version of the controls you could try using the ActiveEditor property of RadGridView.

    Please let us know if you still experience issues implementing your scenario.

    Best regards,
    Alexander
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Ismail Raafat
    Ismail Raafat avatar
    7 posts
    Member since:
    Feb 2010

    Posted 03 Oct 2011 Link to this post

    i have Found the ActiveEditor in the RadGridView ,but how can i customize the combobox entries for a given row depending on user selection of another combobox entry in the row if i can't upgrade to the latest version.
  7. Alexander
    Admin
    Alexander avatar
    306 posts

    Posted 05 Oct 2011 Link to this post

    Hello Ismail,

    Please review this KB article concerning the topic of how to create RadDropDownListEdtitor with DataSource which depends on the value of another cell. It should help you implement your scenario.

    If you meet difficulties downgrading the KB sample to your version of the controls, please let us know which release you use so we can assist you further.

    Best regards,
    Alexander
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
UI for WinForms is Visual Studio 2017 Ready