protected void treePower_NodeCheck(object sender, ExtAspNet.TreeCheckEventArgs e) { if (e.Checked) { treePower.CheckAllNodes(e.Node.Nodes); return; } treePower.UncheckAllNodes(e.Node.Nodes); }
protected virtual void OnNodeCheck(TreeCheckEventArgs e) { EventHandler<TreeCheckEventArgs> handler = Events[_nodeCheckHandlerKey] as EventHandler<TreeCheckEventArgs>; if (handler != null) { handler(this, e); } }