We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Treeview Client side node checking

Thread ID:





59348 Apr 11,2007 02:42 PM UTC Apr 13,2007 12:13 AM UTC ASP.NET Web Forms (Classic) 1
Tags: Tools
Peter Kitts
Asked On April 11, 2007 02:42 PM UTC


Is it possible to check each sub node of a node that's been checked using client side code?

Something like:

function nodeCheck(node)
for (subNode in node.SubNodes)
subNode.Checked = node.Checked;

Regards, Peter.

Gokul B [Syncfusion]
Replied On April 13, 2007 12:13 AM UTC

Hi Peter,

Attached is the sample in which the 'AutoPostBackOnNodeCheckChanged' is set to true for TreeView control, which triggers a callback and call the serverside function TreeView1_NodeCheckChanged. In 'TreeView1_NodeCheckChanged' we can check or uncheck the subnodes of the TreeView node whose check status has been modified.

TreeView Node Checking

We can't check and uncheck the subnodes on Clientside using code snippet which is similar to your code snippet. However, we have found an alternate way to check and uncheck the subnodes on client side using the below code snippet.

Let us know if you have any other queries.

Thanks for using Syncfusion products.

Gokulkumar B


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon