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

Possible to have bound combobox in GridView in LightSwitch?

2 Answers 63 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 16 Aug 2011, 05:36 PM
I have run the GridView/LightSwitch demo and it works perfectly.  However, what I really need is to add a column in the GridView that is a combobox that is bound to a different table (to get the values for the combobox).  I have done this before with a GridView, but not in a LightSwitch application.  So, is it possible to get this to work?
Thanks very much.

Mark

2 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 22 Aug 2011, 02:15 PM
Hello Mark,

In the LightSwitch demo you have mentioned , you have the source for the grid accessed via the Screen object.  Exactly the same way you can get the ItemsSource for the combo box column and set it form code behind ( for example) .

In case you have difficulties implementing this , just send me a LightSwitch project with your data ( or some sample data) , and I will add the missing part with the combo column  for you.

Regards,
Pavel Pavlov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
ShareDocs
Top achievements
Rank 1
answered on 11 Dec 2012, 06:10 AM
Hi,
Did you succeed?
can you post a sample?
Tags
GridView
Asked by
Mark
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
ShareDocs
Top achievements
Rank 1
Share this question
or