Checkboxes with ClientItemTemplates

2 posts, 0 answers
  1. Jon
    Jon avatar
    811 posts
    Member since:
    Oct 2008

    Posted 04 Aug Link to this post


    When using a combobox that has a client item template ("#= Nme ## if(!Ena){# <span class=""disabled""> (disabled)</span> #}#") I find that when checkboxes are enabled the checkbox appears on the line above the template text.  I have tried using the nowrap method along with white-space and word-break styles with no luck.

    The online demos shows each modes independantly but not having seen them together I don't know if this is my code or a fundamental issue with the control.  Any ideas for a fix?



  2. Dimitar
    Dimitar avatar
    276 posts

    Posted 09 Aug Link to this post

    Hi Jon,

    The checkboxes are placed inside label which is styled with display: block rule. You may overwrite it as follows:

    <style type="text/css">
        html body form .RadComboBoxDropDown .rcbItem > label,
        html body form .RadComboBoxDropDown .rcbHovered > label,
        html body form .RadComboBoxDropDown .rcbDisabled > label,
        html body form .RadComboBoxDropDown .rcbLoading > label,
        html body form .RadComboBoxDropDown .rcbCheckAllItems > label,
        html body form .RadComboBoxDropDown .rcbCheckAllItemsHovered > label {
            display: inline-block;

    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft R3 2016 release webinar banner
Back to Top