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

How to bind GridViewComboBoxColumn Row wise?.

3 Answers 137 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chetan
Top achievements
Rank 1
Chetan asked on 16 Nov 2010, 09:04 AM
Hello Telerik Team,

How to bind GridViewComboBoxColumn Row wise?. I mean for each row combobox will bind with different ItemSource.

Thanks
CSingh

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 16 Nov 2010, 09:11 AM
Hello Chetan,

May you provide more details about your requirements and the scenario you want to accomplish ? 

Best wishes,
Maya
the Telerik team
See What's New in RadControls for Silverlight in Q3 2010 on Tuesday, November 16, 2010 11:00 AM - 12:00 PM EST or 10:00 PM - 11:00 PM EST: Register here>>
0
Chetan
Top achievements
Rank 1
answered on 16 Nov 2010, 09:26 AM
Requirement

I have one grid having 2 colunms and 20 rows. Column 2 is GridViewComboBoxColumn, it will bind as per the values of column1.
means if column 1 having value 'A' then column 2 will bind with datasource1 , if 'B' then datasource2 like this it will bind in all the rows.

Thanks
Csingh
0
Maya
Telerik team
answered on 17 Nov 2010, 11:18 AM
Hi Chetan,

You may introduce a property in your Business object holding the available values for a particular item. Once you set them, you need to define the ItemsSourceBinding property of the GridViewComboBoxColumn pointing to it. You may take a look at this forum thread for a reference and sample project on the topic.   
 

Regards,
Maya
the Telerik team
See What's New in RadControls for Silverlight in Q3 2010 on Tuesday, November 16, 2010 11:00 AM - 12:00 PM EST or 10:00 PM - 11:00 PM EST: Register here>>
Tags
GridView
Asked by
Chetan
Top achievements
Rank 1
Answers by
Maya
Telerik team
Chetan
Top achievements
Rank 1
Share this question
or