This is a migrated thread and some comments may be shown as answers.

RadTreeView and ClientChanges

1 Answer 36 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Justin
Top achievements
Rank 1
Justin asked on 24 Feb 2015, 08:13 AM
Hi,

I am currently having a problem with clientchanges from a RadTreeView appearing on the server.

This was working fine still recently and after rolling back to known working versions I am still have the problem. I am using trackchanges on the node click event and I check the changes log before calling the trackchanges again so I can maintain a collection of changes to allow users to create a hierarchy of nodes before having to postback i.e.  

var treeView = $find(treeViewClientId);
if (treeView._log._logEntries.length == 0) {
treeView.trackChanges();
}

As I mentioned this has worked perfectly previously. As I debug through the javascript I can see the entries and then when I choose commitchanges then I see the entries converted to JSON. However on postback I cannot see any changes coming through on the server.

Could you please give me some guidance on troubleshooting to check where these changes maybe getting lost?

Many thanks

Justin

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 27 Feb 2015, 08:06 AM
Hello Justin,

I am not able to replicate such problem with the RadTreeView control. I prepared a sample project that adds a new root node on the client-side. After post-back the RadTreeView nodes count is updated as expected.


Regards,
Boyan Dimitrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
TreeView
Asked by
Justin
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or