This is a migrated thread and some comments may be shown as answers.

Problem with color picker in RadComboBox ItemTemplate?

1 Answer 70 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Bhuvan
Top achievements
Rank 1
Bhuvan asked on 18 Mar 2011, 03:46 AM
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

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Niko
Telerik team
answered on 18 Mar 2011, 12:25 PM
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
Tags
ColorPicker
Asked by
Bhuvan
Top achievements
Rank 1
Answers by
Niko
Telerik team
Share this question
or