RadColorPicker Loses Colors On Postback

2 posts, 0 answers
  1. Brandon Spilove
    Brandon Spilove avatar
    8 posts
    Member since:
    Jul 2005

    Posted 12 May 2009 Link to this post

    This is very easy to duplicate.  See the code below.  Click the Submit button and when the page reloads, the colors are gone.  Is this a bug in the control or am I missing a property?

    Visual Studio 2008
    .Net Framework 3.5
    Telerik.Web.UI.dll 2009.1.311.35


    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="www.Default" %> 
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml" > 
    <head runat="server">  
        <title>Untitled Page</title> 
        <form id="form1" runat="server">  
        <asp:ScriptManager ID="sm" runat="server" /> 
        <telerik:RadColorPicker ID="rcpColor1" runat="server" Preset="None" 
            <telerik:ColorPickerItem Title="Black" Value="#000000" /> 
            <telerik:ColorPickerItem Title="White" Value="#FFFFFF" /> 
            <telerik:ColorPickerItem Title="Red" Value="#FF0000" /> 
            <telerik:ColorPickerItem Title="Blue" Value="#0000FF" /> 
            <telerik:ColorPickerItem Title="Green" Value="#00FF00" /> 
            <telerik:ColorPickerItem Title="Yellow" Value="#FFFE00" /> 
            <telerik:ColorPickerItem Title="Orange" Value="#FF6600" /> 
            <telerik:ColorPickerItem Title="Purple" Value="#9900CA" /> 
        </telerik:RadColorPicker><br /> 
        <asp:Button ID="btn" runat="server" Text="Submit" /> 



  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 13 May 2009 Link to this post

    Hello Brandon Spilove,
    This is a bug in the RadColorPicker control. The good news is that we have already fixed it - the fix is part of the latest internal build that you can download from here.

    Kind regards,
    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