Change header text of combobox

7 posts, 0 answers
  1. Thomas
    Thomas avatar
    5 posts
    Member since:
    Aug 2012

    Posted 18 Jan 2012 Link to this post

    Hallo,

    I have a RadComboBox with set "CheckBoxes = true". The header displayes always "X items checked". I want to display an other text. How can I affect the header text?

    Thanks
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 18 Jan 2012 Link to this post

    Hello,

    Try setting ItemsCheckedString property in Localization as shown.
    ASPX:
    <telerik:RadComboBox ID="RadComboBox1" runat="server" AllowCustomText="true" CheckBoxes="true" EnableCheckAllItemsCheckBox="true">
      <Localization ItemsCheckedString="Your Text" />
       <Items>
                ... ... ...
       </Items>
    </telerik:RadComboBox>

    Thanks,
    Princy.
  3. Thomas
    Thomas avatar
    5 posts
    Member since:
    Aug 2012

    Posted 18 Jan 2012 Link to this post

    Hi Princy,

    thank you for your quick response. Unfortunately this is not the solution to my problem.
    I want to display the Text "Choose columns".
    If I change the Property the following is displayed: "8 Choose Columns".
    I don't want to display the number of items checked.
    Is there an other solution?
    Thank you
  4. JP
    JP avatar
    122 posts
    Member since:
    Aug 2011

    Posted 28 Mar 2012 Link to this post

    I also would like to change this text without having the selected checkboxes count as prefix. How can we achieve this?
  5. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 28 Mar 2012 Link to this post

    Hi,

    Please set the RadComboBox CheckedItemsTexts property to "DisplayAllInInput".
    You can test the control behaviour upon different property configurations here.

    Regards,
    Kalina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. JP
    JP avatar
    122 posts
    Member since:
    Aug 2011

    Posted 28 Mar 2012 Link to this post

    That makes it a bit better, but the best solution would be if I could display a custom text. Is this possible?
  7. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 02 Apr 2012 Link to this post

    Hello,

    I am afraid that displaying custom text in RadComboBox input when the CheckBoxes feature is enabled is not supported.

    Regards,
    Kalina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top