Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
<
telerik:RadDropDownTree
ID
=
"RadDropDowntree1"
runat
"server"
CheckBoxes
"SingleCheck"
DataSourceID
"SqlDataSource1"
DataFieldID
"id"
DataFieldParentID
"parentid"
DataTextField
"text"
>
ButtonSettings
ShowCheckAll
"true"
/>
</
telerik:RadButton
"RadButton1"
Text
"AllChecked"
OnClick
"RadButton1_Click"
protected
void
RadButton1_Click(
object
sender, EventArgs e)
{
int
flag = 0;
foreach
(RadTreeNode node
in
RadDropDowntree1.EmbeddedTree.GetAllNodes())
if
(node.Checked ==
false
)
flag = 1;
break
;
}
(flag == 0)
Response.Write(
"all Check"
);
// all nodes are checked
else
"Uncheck"
// unchecked nodes are there