I have a drop down tree in an asp.net web form with checkboxes.
I don't want to display child in the hierarchy if they are the same as the parent
What is the best approach to this?
Hi,
Is there an example available of how to validate the raddropdowntree in combination with AutoPostback = true?
TIA, Marc
How can I disable RadDropDownTree node based on nodeid?
I want to disable the first and second node in the tree based on the database nodeid 1 and 2
When i check nodes in a tree (by mouse) selected values appended in title. Which is good.
However, on server side node is getting checked, but title stays empty.
Here is my code:
rddtRegion.DataSource = dtContractCounties
rddtRegion.DataBind()
For Each dr As DataRow In dtSelectedCounties.Rows
Dim nodeValue As String = dr("CountyID")
Dim node_region As RadTreeNode = rddtRegion.EmbeddedTree.FindNodeByValue(nodeValue)
node_region.Checked = True
Next
Please advice
Does this control not support a node that has more than 1 parent?
--Org
--district one
--sales
--district two
--sales
where sales object is child of both district one and district two.
Hi,
I have rad drop down tree as below. When I click on one node in the drop down tree I am able to see the parent node getting expanded by using below client side script and if i click on other node the script executes and node gets expanded. Is there a way I can collapse all other nodes except the current clicked node?
<telerik:RadDropDownTree RenderMode="Lightweight" ID="OfficeDropDownPrgFilter" runat="server" Width="500px"
ExpandNodeOnSingleClick="true" AutoPostBack="true" OnClientEntryAdded="OnClientEntryAdded1"
EnableFiltering="true" OnEntryAdded="OfficeDropDownPrgFilter_EntryAdded">
<DropDownSettings OpenDropDownOnLoad="true" />
<FilterSettings Highlight="Matches" Filter="Contains" EmptyMessage="Type here to filter" />
</telerik:RadDropDownTree>
function OnClientEntryAdded1(sender, args) {
var path = args.get_entry()._fullPath;
var item = sender.get_embeddedTree().findNodeByText(args.get_entry().get_text());
var node = item.get_parent();
node.expand();
}