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
Issue with XamDatagrid on Dock Content Pane
posted

When I have a datagrid on a dock panel databound using an object provider if the user loads a previously saved layout the data in the grid disapears. I have tried to do a refresh on the object provider with no luck. I have also tried to set a new binding to the data in code with no luck.

Any ideas?

  • 915
    Verified Answer
    Offline posted

    Well I guess this is one of those things if you don't watch what you are doing it does not work properly. When doing a refresh on the ObjectDataProvider I forgot to clear the parameters before adding another one. Meaning that the provider was looking for a method that contained more parameters and could not find it. :)