Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
447
how do I hide check box for a specific node from server side
posted

I have a webdataTree with CheckboxMode = 'BiState'. Can you please let me know how I can hide a checkbox for a specific node on the server side.

DataTreeNode tn = new DataTreeNode();
                    tn.Text = dr["ID"].ToString() + " :: " + dr["LCD_NAME"].ToString();
                    tn.Value = dr["ID"].ToString();
                    tn.Key = dr["ID"].ToString();
                    tree.Nodes.Add(tn);

Please advice.