Home - Forums-.NET - FlyTreeView (ASP.NET) - Disable a checkbox

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

Disable a checkbox
Link Posted: 18-Nov-2007 23:41
Hi,

how to disable a checkbox? If I set to a node

node.CanBeSelected = false;

the checkbox is further on enabled. Is this a bug or am I doing something wrong?

Thanks in advance!
Link Posted: 19-Nov-2007 01:34
Unfortunately, flytreeview checkbox has only two states, and does not provide \"disabled\" appearance.

So the only way it to remove it from node, or use server-side templates (with asp:checkbox control).