Possible to have bound combobox in GridView in LightSwitch?

3 posts, 0 answers
  1. Mark
    Mark avatar
    19 posts
    Member since:
    Dec 2010

    Posted 16 Aug 2011 Link to this post

    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.

  2. Pavel Pavlov
    Pavel Pavlov avatar
    2039 posts

    Posted 22 Aug 2011 Link to this post

    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.

    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 >>

  3. ShareDocs
    ShareDocs avatar
    91 posts
    Member since:
    Oct 2012

    Posted 11 Dec 2012 Link to this post

    Did you succeed?
    can you post a sample?
Back to Top