I have the following RadDropDownTree on my page:
<
telerik:RadDropDownTree
ID
=
"rddtrForeas"
runat
=
"server"
EnableFiltering="True"
DefaultMessage="Select sth"
DataTextField="Title"
DataFieldID="SomeId"
CheckBoxes="SingleCheck"
ExpandNodeOnSingleClick="true"
D
ataValueField="SomeId"
DefaultValue="-1"
DataFieldParentID="ParentId">
<
ButtonSettings
ShowCheckAll
=
"False"
ShowClear
=
"true"
></
ButtonSettings
>
<
DropDownSettings
Height
=
"400"
AutoWidth
=
"Enabled"
CssClass
=
"mis-rddtree"
OpenDropDownOnLoad
=
"False"
></
DropDownSettings
><
br
>
<
FilterSettings
Filter
=
"Contains"
FilterTemplate
=
"ByText"
Highlight
=
"Matches"
EmptyMessage
=
"Write here for filtering"
></
FilterSettings
>
</
telerik:RadDropDownTree
>
In my code behind inside Page_Load I set the DataSource to a list of three items. I then perform data bind and then set the
SelectedValue to the Ids of the first and second item.
I have noticed that if the "Title" field of my objects contains two consecutive blank spaces or ends with a blank space the drop down
tree control does not function properly. I.e. you cannot deselect in any way the node with the "problematic" title.
SelectedValue to the Ids of the first and second item.
I have noticed that if the "Title" field of my objects contains two consecutive blank spaces or ends with a blank space the drop down
tree control does not function properly. I.e. you cannot deselect in any way the node with the "problematic" title.