New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Events

The RadColorPicker control raises a single server-side event, ColorChanged that fires when the user changes the SelectedColor with the mouse or mouse wheel. Set the AutoPostBack property True to raise the event right after the color is changed on the client. Retrieve the SelectedColor property within the ColorChanged event handler:

C#
protected void RadColorPicker1_ColorChanged(object sender, EventArgs e)
{
	string colorName = System.Drawing.ColorTranslator.ToHtml(RadColorPicker1.SelectedColor);
	Label1.Text = string.Format("Color: {0}  Hue: {1}  Saturation: {2}  Brightness {3}",
		colorName,
		RadColorPicker1.SelectedColor.GetHue(),
		RadColorPicker1.SelectedColor.GetSaturation(),
		RadColorPicker1.SelectedColor.GetBrightness());
} 

See Also

In this article
See Also
Not finding the help you need?
Contact Support