How to bind GridViewComboBoxColumn Row wise?. I mean for each row combobox will bind with different ItemSource.
Thanks
CSingh
3 Answers, 1 is accepted
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>>
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>>