colorpicker not shown correctly within ModalPopup

2 posts, 1 answers
  1. T
    T avatar
    13 posts
    Member since:
    Feb 2007

    Posted 12 Jun 2009 Link to this post

    hello Telerik,

    I am currently developing an application which requires a color picker control. it must be shown within a modal popup with ShowIcon=true. The problem is that the color selection list isn't shown under the dropdown. It is shown in a wrong place.

    the following code is my popup usercontrol
    <asp:Button runat="server" ID="hiddenTargetControlForModalPopup" Style="display: none" /> 
    <asp:Panel ID="selectPanel" runat="server" CssClass="popup" Style="display: none">  
        color:<telerik:RadColorPicker runat="server" ID="colorValue" ShowIcon="true" 
    <ajaxToolkit:ModalPopupExtender ID="selectModalPopupExtender" runat="server" TargetControlID="hiddenTargetControlForModalPopup" 
        BackgroundCssClass="modalCover" BehaviorID="selectBackgroundPropertyModal" PopupControlID="selectPanel" 

    and here is the css
            filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);  
            opacity: 0.5;  
            Z-INDEX: 100;  
            LEFT: 0px;  
            POSITION: absolute;  
            TOP: 0px;  

    I hope you guys could help me with this. Thanks.


  2. Answer
    Tsvetie avatar
    1517 posts

    Posted 12 Jun 2009 Link to this post

    Hello Thomas,
    There was a problem in the version you use that caused the popup palette of the RadColorPicker to show in the wrong place. Generally, before the RadColorPicker shows its palette, it checks whether the palette can show in the visible viewport of the browser window. In case it cannot, the color picker tries to reposition it according to that viewport. The problem was in the code that repositions the palette in case it will not open in the visible viewport of the browser.

    However, we have already fixed that problem and in case you update your version to the latest - 2009.1.527, the palette should show in the correct position.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top