Hello,
I'm unsure whether this is an actual bug, but I can't seem to clear the selected text in the RadDropDownTree when i use UncheckAllNodes or UnselectAllNodes from the server side.
I try to to set SelectedText and SelectedValue on the RadDropDownTree control to string.Empty but neither works.
The nodes are unchecked though, but the text showing the previous selection is still visible after i reload the page.
What should I do to also set the text to represent the selection done by UncheckAllNodes?
Kind regards,
Anders
Workaround 1; input[type=text]::-ms-clear { display: none; } Workaround 2: // https://www.telerik.com/support/kb/aspnet-ajax/details/how-to-create-a-javascript-array-of-all-particular-radcontrols-on-the-page function get_allRadDropDownTrees() { var allRadDropDownTrees = []; var allRadControls = $telerik.radControls; for (var i = 0; i < allRadControls.length; i++) { var element = allRadControls[i]; if (Telerik.Web.UI.RadDropDownTree && element instanceof Telerik.Web.UI.RadDropDownTree) { Array.add(allRadDropDownTrees, element); } } return allRadDropDownTrees; } function fixClearButton(sender, args) { tree = sender; if ($telerik.isIE) { var dropDownTrees = get_allRadDropDownTrees(); dropDownTrees.forEach(function (dropdowntree) { $telerik.$(dropdowntree.get_filterElement()).on('input', function (e, a) { if (!e.target.value) { dropdowntree.filterByText("") } }) }) } Sys.Application.remove_load(fixClearButton); } Sys.Application.add_load(fixClearButton); Workaround 3: var tree; function OnClientLoad(sender, args) { tree = sender; if ($telerik.isIE) { $telerik.$(sender.get_filterElement()).on('input', function (e, a) { if (!e.target.value) { tree.filterByText("") } }) } }
Two requests. 1. When filtering allow tree children to be unhidden if the parent matches the pattern. Maybe add filter by level (parent, child, both). 2. Add highlight capability to show all matching node filter patterns.
when there are a lot of items checked, the RadDropDownTree displays the names of the checked items and an ellipsis, Unlike the RadComboBox which displays "X items checked" or "All items checked" if the list of checked items is too long. Please add an option for behaving like the combobox UX "[N | All] Items checked". Users do not understand this is a different control and they think it's a combo but unlike the RadComboBox they are getting a different type of behavior when selecting multiple items
<telerik:RadDropDownTree RenderMode="Lightweight" ID="RadDropDownTree3" runat="server" Width="300px" DefaultMessage="Please select"
DataFieldID="EmployeeID" DataFieldParentID="ReportsTo" DataTextField="LastName"
DataSourceID="SqlDataSource1">
</telerik:RadDropDownTree>
<asp:SqlDataSource runat="server" OnSelecting="SqlDataSource1_Selecting" ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
SelectCommand="SELECT * From Employees"></asp:SqlDataSource>
protected void SqlDataSource1_Selecting(object sender, SqlDataSourceSelectingEventArgs e)
{
Label1.Text += "<br /> Sql request at:" + DateTime.Now.ToLongTimeString();
}
Reproduction: https://www.screencast.com/t/Y6HRTmGngkJ
When using a RadDropDownTree with a fairly large number of items, a user may select quite a few of the items. The current behaviour when the drop down is closed is that the names of only the first few selected items are shown, with no immediate visual feedback that more items are also selected (other than the tooltip). This can be misleading for users. I would like the ability to customise the message shown in the entry area, based on how many items are actually selected, e.g. "10 selected items, click here to review".
Hi Please add rtl support to RadDropDownTree. Thanks
All admin fields should have built in label controls. Several such as RadTextBox do have built in labels and it is not that helpful when some other controls don't have the label functionality. Makes for a messy page. Please add in for this and other control types.
Would like the ability to bind raddropdowntree using a webservice (I have a tree structure that has 15,000+ items) while still having the ability to enable filtering. Currently you can do one or the other.