Problem with color picker in RadComboBox ItemTemplate?

2 posts, 1 answers
  1. Bhuvan
    Bhuvan avatar
    50 posts
    Member since:
    Dec 2010

    Posted 17 Mar 2011 Link to this post

    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

     

  2. Answer
    Niko
    Admin
    Niko avatar
    387 posts

    Posted 18 Mar 2011 Link to this post

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