Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ColorPicker > Pick Color From RadColorPicker To Label

Not answered Pick Color From RadColorPicker To Label

Feed from this thread
  • SATISH avatar

    Posted on Jul 29, 2011 (permalink)

    Hi All,
    I have RadColorPicker Having Id="RadColorPicker1" and also Have a asp Label..
    I have Question that once i select the color from RadColorPicked ; That should apply to Asp Label..
    Please suggest me out..
    I'm beginner of Telerik technology..

    Reply

  • Slav Slav admin's avatar

    Posted on Jul 29, 2011 (permalink)

    Hello Satish,

    There are two approaches to achieve the desired effect:
    1. You can use the sever-side event of RadColorPicker ColorChanged in order to apply the name and the color itself to the selected label.
    2. Another option is the client-side event of RadColorPicker OnClientColorChange, which can also be used to set the label control with the selected color.

    I have attached a sample project demonstrating the suggested solutions, in which the server-side and client-side approaches are presented respectively on the pages ServerSide.aspx and ClientSide.aspx.

    Please let us know if you run into difficulties during the implementation of this functionality.

    All the best,
    Slav
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ColorPicker > Pick Color From RadColorPicker To Label
Related resources for "Pick Color From RadColorPicker To Label"

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