This is a migrated thread and some comments may be shown as answers.

Localization vis-a-vis combobox.Localization

2 Answers 66 Views
DropDownTree
This is a migrated thread and some comments may be shown as answers.
Morten
Top achievements
Rank 1
Iron
Iron
Veteran
Morten asked on 02 Oct 2013, 12:46 PM
I'm missing the details from the Localization section of the Combobox control in the DropDownTree Localization section

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 Oct 2013, 07:36 AM
Hi Morten,

I assume that you need to set the Localization Property for RadDropDownTree. Please have a look into the following Mark Up. Please elaborate your requirement if it doesn't help you.

ASPX:
<telerik:RadDropDownTree ID="RadDropDownTree1" runat="server" Width="250px" DefaultMessage="Please select"
    CheckBoxes="SingleCheck" DataSourceID="SqlDataSource1" DataFieldID="id" DataFieldParentID="parentid"
    DataTextField="text">
    <ButtonSettings ShowCheckAll="true" ShowClear="true"/>
    <Localization Clear="Clear All" CheckAll="Check All" />
</telerik:RadDropDownTree>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
    SelectCommand="SELECT * FROM [Details]">
</asp:SqlDataSource>

Thanks,
Shinu.
0
Morten
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 03 Oct 2013, 08:00 AM
I replaced a RadComboBox (CheckBoxes="true") with a RadDropDownTree as the built-in treeview in RadDropDownTree much better (and easier) represents the data.

Specifically I miss the "ItemsCheckedString" and "AllItemsCheckedString" properties of the RadComboBox.Localization section when multiple checkboxes are selected (i.e. "3 campaigns selected")
<RadComboBox ... >
    <Localization ItemsCheckedString="campaigns selected" AllItemsCheckedString="All campaigns selected" />
</RadComboBox>

When multiple checkboxes are selected in RadDropDownTree, the DataTextField are simply listed in a separated string.
Tags
DropDownTree
Asked by
Morten
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Shinu
Top achievements
Rank 2
Morten
Top achievements
Rank 1
Iron
Iron
Veteran
Share this question
or