To change Check All text of RadComboBox

6 posts, 1 answers
  1. Somnath
    Somnath avatar
    43 posts
    Member since:
    Jun 2012

    Posted 01 Feb 2012 Link to this post

    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.
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 01 Feb 2012 Link to this post

    Hello Ankit,

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

    -Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dimitry
    Dimitry avatar
    2 posts
    Member since:
    Jun 2011

    Posted 22 Aug 2013 Link to this post

    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
  5. A2H
    A2H avatar
    177 posts
    Member since:
    Mar 2010

    Posted 22 Aug 2013 Link to this post

    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;
          }


  6. Dimitry
    Dimitry avatar
    2 posts
    Member since:
    Jun 2011

    Posted 27 Aug 2013 Link to this post

    Great.  Thank you!
  7. swarup
    swarup avatar
    2 posts
    Member since:
    Jan 2016

    Posted 08 Feb Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017