Skip to main content

Microsoft Silverlight

Answered Question DataGrid -- binding to ItemsSource is brokenRSS Feed

(0)

akuznetsov
akuznetsov

Member

Member

6 points

4 Posts

DataGrid -- binding to ItemsSource is broken

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
yifung

Contributor

Contributor

3313 points

540 Posts

Microsoft
Answered Question

Re: DataGrid -- binding to ItemsSource is broken

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>

 

Yifung Lin [MSFT]
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities