Colorpicker changes lay-out after postback

2 posts, 0 answers
  1. P.J. Keukens
    P.J. Keukens avatar
    6 posts
    Member since:
    Sep 2012

    Posted 29 Jun 2010 Link to this post

    Hi There,

    We are using the Telerik RadColorPicker in our application. The definition we use is shown below.

    <telerik:RadColorPicker ID="rcpKleurLicht" runat="server"








    We have the following problem. The first time we load the controls everything is fine, we put our defined color in the SelectedColor and it shows op as an icon. If you click on it you see the HSV window. Then we save our data using a normal postback and edit the item again. Now the lay-out of the color picker changes, to something completely different. Can anybody explain us why this happens?

    We use Telerik for ASP.NET/AJAX version 2009.3.1314.35

    I've attached a document to show the layout change.

    Thanks in advance.


  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 29 Jun 2010 Link to this post

    Hi P.J. Keukens,
    It seems that for some reason, the styles from the embedded CSS files are not applied the second time. You can try registering the necessary CSS files manually, to see if this would fix the problem.

    For example:
    <head runat="server">
        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
            <link href='<%= Page.ClientScript.GetWebResourceUrl(typeof(RadColorPicker), "Telerik.Web.UI.Skins.ColorPicker.css") %>'
                rel="stylesheet" type="text/css" />
            <link href='<%= Page.ClientScript.GetWebResourceUrl(typeof(RadColorPicker), "Telerik.Web.UI.Skins.Windows7.ColorPicker.Windows7.css") %>'
                rel="stylesheet" type="text/css" />
        <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
            <telerik:RadColorPicker ID="RadColorPicker1" runat="server"

    In case this does not help you, please open a new support ticket and send me a running test project that demonstrates the problem.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top