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
20
sorting - on child band problem
posted

I am binding the WebHierarchicalDataGrid with a DataSet. I enabled the sorting for both parent and child band. when i click the sort in the child band the data in the child band disappeared. and if i click the same child band column header again, i got  an exception: [NullReferenceException]: Object reference not set to an instance of an object. any idea why? and how can i fix that.

  • 2783
    posted

    Hi,

    Are you re-assigning the DataSet to the grid on every postback?  If you are not, then please do so, and you should not see the issue anymore.  If you re-assigning the DataSet, then please post a sample that reproduces the issue.

    Thank You,

    Olga