How to update datagrid after add an entity to domaincontext without reload
WPF
2
Posts
1
Posters
0
Views
1
Watching
-
It is a question about WCF RIA. A Datagrid is binding with DomainDataSource. When I add an entity to DomainContext in client, how can I update the DataGrid(add a row) without connecting to DomainService in server and reload?
-
It is a question about WCF RIA. A Datagrid is binding with DomainDataSource. When I add an entity to DomainContext in client, how can I update the DataGrid(add a row) without connecting to DomainService in server and reload?
I've solved it. The method DomainDataSource.DataView.Add() can do this . ^^