Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

DataGrid Refresh

$
0
0

Hi All

I have 2 DataGrid named dg1 & dg2 that binds to List1 & List2

List1 has 4 items and List2 has no items

in a Button_Click I Remove 2 items from List1 and Add 2 Items to List2

at the end of Button_Click I refresh dg1 and dg2 but nothing changed in DataGrids

dg1.ItemsSource = List1;

dg2.ItemsSource = List2;

what's wrong?


Viewing all articles
Browse latest Browse all 1083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>