PDA

View Full Version : [CLOSED] CheckedNodes disable checked



gs_user
Jun 20, 2012, 3:16 AM
Hi,

TreeNode has been checked, how to disable check selection?

I use this code, but can't work


protected void ToRefreshTree(object sender, DirectEventArgs e)
{
if (this.mytree.CheckedNodes != null)
{
this.mytree.CheckedNodes.Clear();
}
}

Daniil
Jun 20, 2012, 11:26 AM
Hi,

Please use:

this.TreePanel1.Call("clearChecked");

I've added the server ClearChecked method, revision #4117.

So, after update possible just:

this.TreePanel1.ClearChecked();

gs_user
Jun 21, 2012, 8:21 AM
It's can work,thank you very much


Hi,

Please use:

this.TreePanel1.Call("clearChecked");

I've added the server ClearChecked method, revision #4117.

So, after update possible just:

this.TreePanel1.ClearChecked();