Currently you can get and set the current color of a RadColorPicker programmatically only through a System.Drawing.Color
type. Nevertheless, you can easily convert a hex color code to and from a System.Drawing.Color
through the static methods FromHtml
of the System.Drawing.ColorTranslator
class. For your convenience I have attached a sample page, demonstrating getting and setting an HTML color value from code. Please use it as a reference for your further development.
I hope that helps.
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed