Lightswith client can update data show and no refresh
-
Sunday, April 22, 2012 2:17 AM
The lightswith whether you can do it without refresh data synchronization, please write code.
The timing is refreshed, this. Refresh () the code will refresh the page and jump to refresh the page, I tried using this. Pucduce. Refresh() or this. Pucduce. loaded() ,refresh the page code pucduce binding in data sources, but the code does not occur effect, the page data will no change.
Can refresh the control only part of the page . Such as the default refresh controls lightswitch is only refresh list or datagrid control, and not to refresh the entire page , could you tell me how to realize the code for a page-refresh!
All Replies
-
Monday, April 23, 2012 8:49 AMModerator
Hi whao,
As far as I know, If you are using Entity.Refresh(), the DataGrid or ListBox will refresh the data as soon as possible.
(The change will show after the data have saved.)
It would be appreciated if you could tell me how you bing the data and what you want to do.
If you want to communicate before saving, you should to create wcf duplex service to communicate between two people.
- Marked As Answer by Otomii LuModerator Tuesday, May 08, 2012 5:46 AM

