Sign In|Join
Home/Silverlight.NET Forums/General Silverlight/New Features in Silverlight 3/DataGrid -- binding to ItemsSource is broken
Last post Mar 30, 2009 09:38 PM by yifung
Member
6 Points
4 Posts
Mar 30, 2009 07:47 PM | LINK
link to repro
Repro solution for bug in binding collection to ItemsSource of DataGrid (click button several times).
At the same time ItemsSource of ListBox bounded to same collection behaves normally.
Contributor
3937 Points
637 Posts
Microsoft
Mar 30, 2009 09:38 PM | LINK
Hi,
Indeed this is a known regression in the Beta that will be fixed for RTW. In the meantime, there is a workaround of using a TwoWay Binding instead of a OneWay Binding:
<data:DataGrid ItemsSource="{Binding Inner,Mode=TwoWay}"></data:DataGrid>
akuznetsov
Member
6 Points
4 Posts
DataGrid -- binding to ItemsSource is broken
Mar 30, 2009 07:47 PM | LINK
link to repro
Repro solution for bug in binding collection to ItemsSource of DataGrid (click button several times).
At the same time ItemsSource of ListBox bounded to same collection behaves normally.
yifung
Contributor
3937 Points
637 Posts
Microsoft
Re: DataGrid -- binding to ItemsSource is broken
Mar 30, 2009 09:38 PM | LINK
Hi,
Indeed this is a known regression in the Beta that will be fixed for RTW. In the meantime, there is a workaround of using a TwoWay Binding instead of a OneWay Binding:
<data:DataGrid ItemsSource="{Binding Inner,Mode=TwoWay}"></data:DataGrid>