ColorPicker SelectedColor

3 posts, 0 answers
  1. Iry Lee
    Iry Lee avatar
    32 posts
    Member since:
    Feb 2010

    Posted 17 Feb 2010 Link to this post

    I've a page to add type of an event, with a colorpicker.
    <telerik:RadColorPicker runat="server" ID="RadColorPicker1" Preset="Standard" showicon="true" width="300px" EnableEmbeddedSkins="false"/> 

    before i save the selectedcolor to database, i change the color to html color as below:
    ColorTranslator.ToHtml(RadColorPicker1.SelectedColor) 

    now, i wanted to add another page for edit type and i tried to get the color code from database display at the colorpicker :
    RadColorPicker1.SelectedColor = System.Drawing.ColorTranslator.FromHtml(color)

    but, the colorpicker didn't display the color i set. Anything i left out?
    ----------
    i've found the problem. thanks
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 19 Feb 2010 Link to this post

    Hi Iry Lee,
    I created a simple page to test your code, but it worked as expected on my side - I have attached it for your reference. Could you please open a new support ticket and send me a simple running project, demonstrating the problem?

    All the best,
    Tsvetie
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Iry Lee
    Iry Lee avatar
    32 posts
    Member since:
    Feb 2010

    Posted 22 Feb 2010 Link to this post

    thanks alot for the reply.
    i've found the problem.
    and now it works well :)
Back to Top