none
Refresh a DataGrid Cache

    Question

  • Hi

    I have a datagrid that is not refreshing. once loaded. The server side data has not change, but changing the below filter on the client side. How do I modify the below code to clear the cache

     EntityQuery<ReNtZTouch.Web.Main> query = from c in _MainViewContext.GetMainsQuery()   
                                        
                        
                                                         where c.CustID == xCust
                                                         select c;
    
                LoadOperation<ReNtZTouch.Web.Main> loadOp = this._MainViewContext.Load(query);
                mainDataGrid.ItemsSource = loadOp.Entities;
    Friday, May 04, 2012 8:01 PM

Answers