This is a migrated thread and some comments may be shown as answers.
RadColorPicker.SelectedColor return Name or ColorCode
2 Answers 148 Views
This is a migrated thread and some comments may be shown as answers.
วรวุฒิ
Top achievements
Rank 2
วรวุฒิ asked on 20 Jul 2008, 10:43 PM
I try to pick color from RadColorPicker on IE6 .When the code behind get color from RadColorPicker.SelectedColor this properties sometime RadColorPicker return value color code(ffffffff) and sometime are return color names(White).
How I can force RadColorPicker to just return color code like ffffffff?

2 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 21 Jul 2008, 12:43 PM
Hello Worawut,

Indeed, SelectedColor will return the color as an object - you will need to transform it to get the desired result.
e.g.
System.Drawing.ColorTranslator.ToHtml(ColorPicker1.SelectedColor);


Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Ramesh
Top achievements
Rank 1
answered on 29 Mar 2017, 04:16 AM
Thank you very much.. I solved my problem :-)
Asked by
วรวุฒิ
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
Ramesh
Top achievements
Rank 1
Share this question
or