Hi,
Please help me with the following issue:
I want to disable the selection on parent node in this code below
Please help me with the following issue:
I want to disable the selection on parent node in this code below
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DisableNodeSelected.aspx.cs" Inherits="Portal.Demo.RadControls.RadTreeView.DisableNodeSelected" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml" > |
<head runat="server"> |
<title></title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<div> |
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> |
<telerik:RadTreeView ID="RadTreeView1" runat="server"> |
<Nodes> |
<telerik:RadTreeNode Text="Parent 1" Value="Parent 1" Selected="true"> |
<Nodes> |
<telerik:RadTreeNode Text="Child 01" Value="Child 01" /> |
<telerik:RadTreeNode Text="Child 02" Value="Child 02" /> |
<telerik:RadTreeNode Text="Child 03" Value="Child 03" /> |
<telerik:RadTreeNode Text="Child 04" Value="Child 04" /> |
<telerik:RadTreeNode Text="Child 05" Value="Child 05" /> |
</Nodes> |
</telerik:RadTreeNode> |
<telerik:RadTreeNode Text="Parent 2" Value="Parent 2"> |
<Nodes> |
<telerik:RadTreeNode Text="Child 01" Value="Child 01" /> |
<telerik:RadTreeNode Text="Child 02" Value="Child 02" /> |
<telerik:RadTreeNode Text="Child 03" Value="Child 03" /> |
<telerik:RadTreeNode Text="Child 04" Value="Child 04" /> |
<telerik:RadTreeNode Text="Child 05" Value="Child 05" /> |
</Nodes> |
</telerik:RadTreeNode> |
</Nodes> |
</telerik:RadTreeView> |
</div> |
</form> |
</body> |
</html> |