
It is difficult to find a decent color picker control for asp.net. However there are plenty pure javascript color picker controls. I decided to take one of them and convert it in asp.net web server control, also known as user control. As a base I took dhtmlgoodies advanced color picker. First let’s create New Project ->ASP.NET Server Control. By default name of the project would be same as name of default namespace. I called my project CutomControls and renamed ServerControl1.cs into ColorPicker.cs. Then I added to the project images, javascripts and styles supplied by dhtmlgoodies.
|