Color Palette Not Aligning properly

5 posts, 0 answers
  1. ajit
    ajit avatar
    46 posts
    Member since:
    Jun 2009

    Posted 14 Aug 2009 Link to this post

    Hi ,
               I am trying to generate rad color picker programmatically in rad dock. Now when i click on the icon for the color picker the palette is not aligning below the icon like it is suppose to. Please could you provide a solution to this issue.

    Regards,
    Ajit
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 17 Aug 2009 Link to this post

    Hello ajit,
    In the latest internal build version of our controls that you can download from your Client.Net account, we have added a new property for the RadColorPicker - KeepInScreenBounds. I suppose that in case you set KeepInScreenBounds=false for the color picker control, the problem will be solved:
    <telerik:RadColorPicker ID="RadColorPicker1" runat="server" ShowIcon="true"  
        KeepInScreenBounds="false"
    </telerik:RadColorPicker> 

    By default, in case the palette of the color picker will not show in the visible viewport of the browser window, the control relocates it so that the whole palette is visible and the user does not need to scroll the page in order to see it. This property switches this functionality off.

    Could you please download the latest internal build and let me know whether this fixes the problem? In case it does not, send me the code of your page that demonstrates the problem and I will do my best to help.

    Kind regards,
    Tsvetie
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. ajit
    ajit avatar
    46 posts
    Member since:
    Jun 2009

    Posted 18 Aug 2009 Link to this post

    Hi Tsvetie,
                           Thank you very much for your reply. It solved my problem but now i have another issue. After i used the new DLL, all my custom skins are off and they don't seem to get applied. Do i need to change something else. Please let me know your feedback.

    Regards,
    ajit
  5. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 21 Aug 2009 Link to this post

    Hello Аjit,
    You should not have problems with your custom skins when upgrading from 2009.1 402 version (this is the one you have specified that you use) to the latest internal release - there have been no breaking changes in the HTML or CSS of the controls between those two versions and the rules for applying custom skins have not changed as well (you can review them in our online documentation).

    However, in case you are upgrading from the Q1 2009 version or earlier, please refer to these blog posts for information on the changes in the skins:
    Apart from this, in case you prefer to continue using the old version (2009.1 402), you can use the following workaround for it - it will have the same effect as setting KeepInScreenBounds=false:
    <asp:ScriptManager ID="ScriptManager1" runat="server"
    </asp:ScriptManager> 
    <telerik:RadColorPicker ID="RadColorPicker1" runat="server" ShowIcon="true"
    </telerik:RadColorPicker> 
     
    <script type="text/javascript"
    Telerik.Web.UI.RadColorPicker.prototype._oldCreateTabStrip = Telerik.Web.UI.RadColorPicker.prototype._createTabStrip; 
    Telerik.Web.UI.RadColorPicker.prototype._createTabStrip = function() 
        if(this._multiPage) return
         
        this._oldCreateTabStrip(); 
        if(this._popupBehavior) 
            this._popupBehavior.set_keepInScreenBounds(false); 
    }; 
    </script> 

    All the best,
    Tsvetie
    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.
  6. ajit
    ajit avatar
    46 posts
    Member since:
    Jun 2009

    Posted 25 Aug 2009 Link to this post

    Hi Tsvetie,
                         I was able to resolve it. Thanks for your help.


    Thank you,

    Regards,
    ajit
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017