Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ColorPicker > RadColorPicker doesn't display palette tabs

Answered RadColorPicker doesn't display palette tabs

Feed from this thread
  • Roman avatar

    Posted on Jul 5, 2011 (permalink)

    You mentioned that this problem will be fixed in next release.
    What is the status of it?



    Related to: http://www.telerik.com/community/forums/aspnet/general-discussions/radcolorpicker-doesn-t-display-palette-tabs.aspx

    Reply

  • Answer Niko Niko admin's avatar

    Posted on Jul 6, 2011 (permalink)

    Hi Roman,

    This issue with not be addressed in the upcoming release of the controls. Still you can implement the following workaround as an event handler for the OnClientPopUpShow:
    function correctPopupPosition(picker, args)
    {
        var tabsHeight = 30;
        var documentHeight = $telerik.$(document).height();
        var palette = $telerik.$(picker.GetPaletteContainer());
        var paletteHeight = palette.height();
        var paletteOffset = palette.offset();
                      
        if(paletteOffset.top + paletteHeight + tabsHeight > documentHeight)
            palette.css({top: palette.position().top - tabsHeight});
    }
    This solution should cover most of the use-cases.

    Hope this helps.

    All the best,
    Niko
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

    Reply

  • Roman avatar

    Posted on Jul 6, 2011 (permalink)

    It has fixed my problem.
    Thanks.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ColorPicker > RadColorPicker doesn't display palette tabs
Related resources for "RadColorPicker doesn't display palette tabs"

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