0

I have a child window and there are a radgrid view and textboxes which show the radgridview items as I select a row of gridview!and i'm using mvvm pattern.

when I open the child window it automatically show the data of last row as selected row in default but when I select another row although my bindings model are changed,the data in textboxes does not change while child is open!!!

Zahra
  • 1
  • 3

1 Answers1

0

you can try to bind like below mentioned code, it may help u.

 <cmd:EventToCommand Command="{Binding  DataContext.FDE.EfileReturnedChecked,RelativeSource={RelativeSource AncestorType=controls:ChildWindow}, Mode=TwoWay}" CommandParameter="{Binding}"/>
Dhaval Patel
  • 7,471
  • 6
  • 37
  • 70