In your documentation, you state:
Note that you should call the trackChanges method before you add/delete/update items and commitChanges method after you finished the client-side changes.
The standard approach for MS AJAX controls is to use methods named beginUpdate and endUpdate (rather than trackChanges and commitChanges). The MS documentation also states that these methods can be overridden to provide custom functionality.
I checked the client scripts
(Telerik.Web.UI.Common.Navigation.NavigationScripts.js)
and it appears that you are not deriving from Sys.Component or Sys.UI.Control. If you were to derive from one of these classes, you could just override beginUpdate/endUpdate to provide this standard functionality while following the MS AJAX conventions.
Please consider deriving from Sys.UI.Control for future releases and overriding beginUpdate/endUpdate instead of using the non-standard trackChanges/commitChanges.
Thank you for considering this matter.
David
Note that you should call the trackChanges method before you add/delete/update items and commitChanges method after you finished the client-side changes.
The standard approach for MS AJAX controls is to use methods named beginUpdate and endUpdate (rather than trackChanges and commitChanges). The MS documentation also states that these methods can be overridden to provide custom functionality.
I checked the client scripts
(Telerik.Web.UI.Common.Navigation.NavigationScripts.js)
and it appears that you are not deriving from Sys.Component or Sys.UI.Control. If you were to derive from one of these classes, you could just override beginUpdate/endUpdate to provide this standard functionality while following the MS AJAX conventions.
Please consider deriving from Sys.UI.Control for future releases and overriding beginUpdate/endUpdate instead of using the non-standard trackChanges/commitChanges.
Thank you for considering this matter.
David