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
447
original datasource does not support updates
posted

I have 3 layer hierarchial grid with inline editing. I use Object datasource and WebHierarchialDataSource as datasource in aspx page. When i edit a cell, i call Row_Updating event to capture the new data. Row_Updating event is being called and looks good. But the grid is being loaded again and my change in the cell is lost. So i added EnableDataViewState="true".. Now i a getting this message on javadscript side.

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Original data source does not support updates.

Please assist.

 

Parents
No Data
Reply
  • 37874
    posted

    Hi naveentatineni,

    You should make sure your datasource is configured correctly to support CRUD operations, in order to be able to perform them through the grid. Also you should set the DataKeyFields property for each band you want to edit.

    Let me know if you have any further questions.

Children