5 Answers, 1 is accepted
0
Hi Koen,
Generally, the state of the controls in grid templates or edit mode will reset its state on rebinding operations. Therefore, you can try to change the HierarchyLoadMode to Client or ServerBind:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/hierarchical-grid-types-and-load-modes/hierarchy-load-modes
Regards,
Eyup
Telerik
Generally, the state of the controls in grid templates or edit mode will reset its state on rebinding operations. Therefore, you can try to change the HierarchyLoadMode to Client or ServerBind:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/hierarchical-grid-types-and-load-modes/hierarchy-load-modes
Regards,
Eyup
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Koen
Top achievements
Rank 1
answered on 11 Apr 2016, 03:11 PM
Hi Eyup, that does not seem to do the trick. The value is still modified.
I have AllowExpandCollapse="True" in the ClientSettings and I have HierarchyLoadMode="Client" in the MasterTableView
0
Hi Koen,
Could you please make sure that you are not using DataBind() to bind the grid? Performing complex grid operations such as Inserting, Deleting, Updating, Hierarchy relations, Grouping, Exporting, Paging, Sorting, Filtering, etc. require accommodating appropriate database operations. Therefore, we suggest you to avoid Simple Databinding and strongly recommend the use of more advanced databinding methods, which automatically handle the aforementioned functions:
Declarative DataSource
Programmatic Data Binding (NeedDataSource and DetailTableDataBind event)
You should set the DataSource property only within these event handlers.
Also, temporarily disable any AJAX on the page if present (RadAjaxManager, RadAjaxPanel, UpdatePanel, etc.) and enable your script debugger (FireBug or F12) to see whether there are any script or server errors interfering.
Regards,
Eyup
Telerik
Could you please make sure that you are not using DataBind() to bind the grid? Performing complex grid operations such as Inserting, Deleting, Updating, Hierarchy relations, Grouping, Exporting, Paging, Sorting, Filtering, etc. require accommodating appropriate database operations. Therefore, we suggest you to avoid Simple Databinding and strongly recommend the use of more advanced databinding methods, which automatically handle the aforementioned functions:
Declarative DataSource
Programmatic Data Binding (NeedDataSource and DetailTableDataBind event)
You should set the DataSource property only within these event handlers.
Also, temporarily disable any AJAX on the page if present (RadAjaxManager, RadAjaxPanel, UpdatePanel, etc.) and enable your script debugger (FireBug or F12) to see whether there are any script or server errors interfering.
Regards,
Eyup
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Koen
Top achievements
Rank 1
answered on 12 Aug 2016, 01:12 PM
Reason was that I was using grouping, and then GroupLoadMode="Client" should be used instead.
0
Hi Koen,
Even then, using DataBind() is not recommended. You should one of the approaches referenced in my previous reply.
Regards,
Eyup
Telerik by Progress
Even then, using DataBind() is not recommended. You should one of the approaches referenced in my previous reply.
Regards,
Eyup
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.