I am using your RadTreeview to show my categories in parent child mode with code as
in code behind:
i also checked but its not working
i want to check only parent while binding the data
can anyone please help to tell me if i am doing something wrong, it is not possible or some kind of bug
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><
br
><
telerik:RadTreeView
ID
=
"RadTreeView1"
<br> runat="server" TriStateCheckBoxes="true" CheckBoxes="true" CheckChildNodes="false"><
br
> <
Nodes
><
br
> <
telerik:RadTreeNode
Text
=
"hello"
Value
=
"hello"
></
telerik:RadTreeNode
><
br
> <
telerik:RadTreeNode
Text
=
"hello1"
Value
=
"hello1"
Selected
=
"true"
Checked
=
"true"
><
br
> <
Nodes
><
br
> <
telerik:RadTreeNode
Text
=
"hello11"
Value
=
"hello11"
></
telerik:RadTreeNode
><
br
> <
telerik:RadTreeNode
Text
=
"hello12"
Value
=
"hello12"
></
telerik:RadTreeNode
><
br
> <
telerik:RadTreeNode
Text
=
"hello13"
Value
=
"hello13"
></
telerik:RadTreeNode
><
br
> </
Nodes
><
br
> </
telerik:RadTreeNode
><
br
> <
telerik:RadTreeNode
Text
=
"hello2"
Value
=
"hello2"
></
telerik:RadTreeNode
><
br
> <
telerik:RadTreeNode
Text
=
"hello3"
Value
=
"hello3"
></
telerik:RadTreeNode
><
br
> </
Nodes
><
br
> </
telerik:RadTreeView
>
in code behind:
i also checked but its not working
RadTreeView1
.ClearCheckedNodes();<br>RadTreeNode trnode = RadTreeView1
.GetAllNodes().Where(tn => tn.Text==
"hello1"
).FirstOrDefault();<br> trnode.Selected =
true
;<br>
// trnode.Checkable = true;<br> trnode.Checked = true;
i want to check only parent while binding the data
can anyone please help to tell me if i am doing something wrong, it is not possible or some kind of bug