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

bind Cell DropDwonList

5 Answers 113 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ismail Raafat
Top achievements
Rank 1
Ismail Raafat asked on 29 Sep 2011, 03:09 PM
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?

5 Answers, 1 is accepted

Sort by
0
Emanuel Varga
Top achievements
Rank 1
answered on 30 Sep 2011, 05:14 AM
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
0
Ismail Raafat
Top achievements
Rank 1
answered on 02 Oct 2011, 11:53 AM
Hello Emanuel Varga,
thank you for your reply,
i couldn't find
ActiveEditor in GridViewCellEventArgs
 is that because i am using 2010 version?

thaks

0
Alexander
Telerik team
answered on 03 Oct 2011, 12:59 PM
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 >>

0
Ismail Raafat
Top achievements
Rank 1
answered on 03 Oct 2011, 02:14 PM
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.
0
Alexander
Telerik team
answered on 05 Oct 2011, 11:30 AM
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 >>

Tags
GridView
Asked by
Ismail Raafat
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Ismail Raafat
Top achievements
Rank 1
Alexander
Telerik team
Share this question
or