Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
915
Grid refresh issue.
posted

I have a datagrid working with data provided by a WCF service I need to refresh the grid when changes are made at the database. To this end the application subscribes to a publishing service which then calls back and lets the application know when changes have been made. The issue is when the objectDataProvider is refreshed the current view of the grid is wiped out i.e the grouping,the current display, etc, so far the work around has been to redo the grouping and try to reconstruct the previous view from the code behind which does work but it also produces a very ugly situation with the display.

Any suggestions would be appreciated.

Thanks,

Parents
No Data
Reply
  • 4850
    Offline posted

    Are you using the latest version of the controls, v7.2 that was released last week. This was a bug that had been fixed, when the DataSource changed we were clearing the sorting/grouping criteria.

    If you are up on the latest version and are still having the problem then maybe the code you are using to do the refresh is causing the issue. If you post the code you are using to refresh the grid then I may be able to spot what is causing the problem.

Children