QueryableDomainServiceCollectionView binding

3 posts, 0 answers
  1. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 08 Mar 2011 Link to this post

    Dear all,

    I load my account data in a grid using QueryableDomainServiceCollectionView object, when the user pick a row and wish to edit the detailed information of the displayed rows, I open another view passing the QDSCV object (holding the account data) and this view is binding it's controls as follows
    <telerik:RadComboBox x:Name="statuscbx" Margin="0,0,0,5" IsReadOnly="True" Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="3"
    ItemsSource="{Binding Path=StatusCollection}"
    SelectedValue="{Binding Path=SelectedAccount.CurrentItem.status, Mode=TwoWay}"
    SelectedValuePath="status_id"
    DisplayMemberPath="status_name_1"/>
    I have another QueryableDomainServiceCollectionView object loads the Status collection inside the loaded view.

    Everything is working okay, until I decided to implement the addition through the same QDSCV of the accounts.

    I defined a new entity of account and add it to the QDSCV then I pass it to the same view that uses the previous binding.

    The combos don't load any data at all

    What is wrong with this ...
    Can someone help me with this ...
    Regards

    Waleed
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 14 Mar 2011 Link to this post

    Hi Waleed,

    I am afraid I couldn't understand how exactly this is not reflecting the corresponded label? Could you please give us some more details about what exactly is the problem. Also, if you could send us your implementation of the business object it would be really helpful.

    Looking forward to your reply.

    Best wishes,
    Konstantina
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. DevCraft banner
  4. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 14 Mar 2011 Link to this post

    Konstantina ,

    Sorry for any inconvenience, a problem with the QDSCV was halting the ComboBox from functioning well.

    I got it to work as expected now.

    I guess your answer here is for another post :
    http://www.telerik.com/community/forums/reply-thread.aspx?messageId=0&threadId=398933

    Appreciate your reply.
    Waleed
Back to Top