Skip to main content
Home Forums General Silverlight New Features in Silverlight 3 DataGrid -- binding to ItemsSource is broken
1 replies. Latest Post by yifung on March 30, 2009.
(0)
akuznetsov
Member
6 points
4 Posts
03-30-2009 3:47 PM |
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
3257 points
537 Posts
03-30-2009 5:38 PM |
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>