This is a migrated thread and some comments may be shown as answers.
QueryableDomainServiceCollectionView binding
2 Answers 40 Views
This is a migrated thread and some comments may be shown as answers.
Waleed Seada
Top achievements
Rank 2
Waleed Seada asked on 08 Mar 2011, 05:47 PM
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 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 14 Mar 2011, 10:08 AM
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!
0
Waleed Seada
Top achievements
Rank 2
answered on 14 Mar 2011, 02:45 PM
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
Asked by
Waleed Seada
Top achievements
Rank 2
Answers by
Konstantina
Telerik team
Waleed Seada
Top achievements
Rank 2
Share this question
or