Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ColorPicker > Problem with color picker in RadComboBox ItemTemplate?

Answered Problem with color picker in RadComboBox ItemTemplate?

Feed from this thread
  • Bhuvan avatar

    Posted on Mar 17, 2011 (permalink)

    I had a Radcolorpicker in radcombobox

    My RadComboBox ItemTemplate is like this

     

     

    <ItemTemplate>

     

     

     

    <span style="z-index:8000;float:left;">

     

     

     

     

    <telerik:RadColorPicker ID="RadClrPickr_ForLabel"

     

     

     

     

    runat="server"

     

     

     

    ShowIcon="true"

     

     

     

    ToolTip="Pick Color for Label" Overlay="true" style="z-index:2000000 !important;">

     

     

     

    </telerik:RadColorPicker>

     

     

     

    </span>
    </ItemTemplate>

    I want to display radcolorpicker pallete outside the combobox..is it possible/ how to do this?

    I am attaching screenshots for this
    First Image colorpicker is in itemtemplate ..its coming inside combobox
    Second image color picker is in header template...its working fine..

    I need to display my itemtemplate color picker out side

     

    Attached files

    Reply

  • Answer Niko Niko admin's avatar

    Posted on Mar 18, 2011 (permalink)

    Hi Bhuvan,

    The RadComboBox control shows its options inside a container, which has an overflow style set to auto. This means that all content inside of it will be scrolled once it exceeds the dimensions on the container itself. In order to make the exceeding content visible the overflow CSS rule should be changed to visible. Here is a sample how you can do this:
    .RadComboBoxDropDown .rcbScroll
    {
        overflow: visible !important;
    }

    Hope I was of help. Please, let me know if you run into troubles.

    Kind regards,
    Niko
    the Telerik team

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ColorPicker > Problem with color picker in RadComboBox ItemTemplate?
Related resources for "Problem with color picker in RadComboBox ItemTemplate?"

ASP.NET ColorPicker Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]