colors in dropdown list

Posted by Anoo under ASP.NET on 9/2/2009 | Views : 4143 | Status : [Member] | Replies : 2
hi,
i want to disply the list of colors in dropdown list and if u press one color then perticular text or image has to be changed into that color.

please reply me if u know the correct code..

anoo...




Responses

Posted by: Vuyiswamb on: 9/2/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Good Day Ano

look at this

http://www.codeproject.com/KB/custom-controls/csMultiColorDropDownList.aspx


Thank you for Posting at Dotnetfunda


Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

Anoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rtpharry on: 9/4/2009 [Member] [MVP] Bronze

Up
0
Down
Hi,

It is one task to create a colour picker UI component and another task to update content based on that selection.

The latest version of AjaxControlToolkit now contains a color picker which you can use:

http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ColorPicker/ColorPicker.aspx

The example code shows how to update a preview box with the selected color. You could apply this to the text by changing css properties to match your text.

To change the color of an image is more difficult and you will have to explain what exactly you want to do so that we can help you more.

Anoo, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response