Hi,
You will need to use our client side JavaScript API to do it. This is the function you will need to call:
http://doc.essentialobjects.com/library/1/jsdoc.public.treenode.setcheckstate.aspxIn order to call this function, you need to get a reference of the client side TreeNode object, you can do that by first getting a reference of the TreeView object and then call various methods on the TreeView to get the TreeNode object you want to check/uncheck. For example, the following code checks the first root node:
Code: JavaScript
//Get the TreeView object
var tv = eo_GetObject("TreeView1");
//Get the top "Group" object, which represents all nodes within
//a single parent node
var topGroup = tv.getTopGroup();
//Get the first node in the group
var firstItem = topGroup.getItemByIndex(0);
//Check the node
firstItem.setCheckState(1);
You can go over this topic to get a basic idea of how to use our client side API:
http://doc.essentialobjects.com/library/1/clientapi_howto.aspxYou will aslo need to go over the reference section (especially "JavaScript Objects" section) to see what objects and functions are available to you. The code above demonstrates how to check a single node. In order to check/uncheck all nodes in a TreeView, you need to write a recursive function to do it.
You can not do it with JQuery because a lot of our internal data needs to be updated when you update the checkbox. Thus you can only do it through our API.
Please feel free to let us know if you have any more questions.
Thanks!