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

To change Check All text of RadComboBox

5 Answers 953 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Somnath
Top achievements
Rank 1
Somnath asked on 01 Feb 2012, 11:49 AM
Hi,

I am enabling combobox with checkbox using 

cmbValue.CheckBoxes = true;
cmbValue.EnableCheckAllItemsCheckBox = true;

I want to change the text of first item "Check all" which is generated by automatically to "Select All"

Please suggest for the above.

5 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 01 Feb 2012, 12:11 PM
Hello Ankit,

Try setting the Localization property.
aspx:
<telerik:RadComboBox ID="combo" CheckBoxes="true" Localization-CheckAllString="Select all" runat="server" >
</telerik:RadComboBox>

-Shinu.
0
Dimitry
Top achievements
Rank 1
answered on 22 Aug 2013, 06:15 PM
Hello,
Is there a way change the font family and size for the Localization-CheckAllString="Select all" property?  It doesn't seem to follow the style setting.

Thank you,
Dimitry
0
A2H
Top achievements
Rank 1
answered on 23 Aug 2013, 02:54 AM
Hi,
Please use the following css to change the font of "Select All" text
.RadComboBoxDropDown_Office2007 .rcbCheckAllItems
      {
          font-family: Bradley Hand ITC !important;
          font-size:15px !important;
      }
      .RadComboBoxDropDown_Office2007 .rcbCheckAllItemsHovered
      {
          font-family: Bradley Hand ITC !important;
          font-size:15px !important;
      }


HTML Mark Up of Combobox
<telerik:RadComboBox ID="RadComboBox1" runat="server" Skin="Office2007" MarkFirstMatch="True"
            Width="405px" Filter="Contains" EnableLoadOnDemand="true" EnableCheckAllItemsCheckBox="true"
            Localization-CheckAllString="Select all" CheckBoxes="true" DropDownAutoWidth="Disabled">
            <Items>
                .....
            </Items>
        </telerik:RadComboBox>

If you are using any other skin ,please replace YourSkinName with the name of skin.

.RadComboBoxDropDown_YourSkinName .rcbCheckAllItems
      {
          font-family: Bradley Hand ITC !important;
          font-size:15px !important;
      }
      .RadComboBoxDropDown_YourSkinName .rcbCheckAllItemsHovered
      {
          font-family: Bradley Hand ITC !important;
          font-size:15px !important;
      }


0
Dimitry
Top achievements
Rank 1
answered on 27 Aug 2013, 06:28 PM
Great.  Thank you!
0
swarup
Top achievements
Rank 2
answered on 08 Feb 2016, 12:52 PM
Hi everyone can i change the text when i checked all items.Means when i checked all items it will show my default default message rather all items checked in combo bar.
Tags
General Discussions
Asked by
Somnath
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Dimitry
Top achievements
Rank 1
A2H
Top achievements
Rank 1
swarup
Top achievements
Rank 2
Share this question
or