Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding a grid
Message
From
08/11/2012 12:45:09
 
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
01556633
Message ID:
01556727
Views:
21
>>>Looks like a different problem. What's the ComboBox ItemsSource ?
>>
>>this is the combo's definition:
>>
>>
<ComboBox Grid.Column="1" Grid.RowSpan="1" Margin="0" Name="cboCountries" VerticalAlignment="Center" 
>>DisplayMemberPath="cnt_code" SelectedValuePath="cnt_pk" SelectedValue="{Binding cus_cntfk, Mode=Default}" />
>>
>>
>>and here's the code that sets its itemsource:
>>
>>
this.cboCountries.ItemsSource = this.Country.GetAllEntities();
>
>Hmm. Does 'cnt_code' show up in the list ? If so then it's obviously something strange with 'cnt_pk'

Apparently it is working despite those messages!?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform