ASP.NET ColorPicker
This Demo shows how to define target controls for the ColorPicker, the ColorPicker will set the specified properties of the target controls to the selected color's value/name.

Picker Target Controls Description
 Picker 1 Preview Text Set BackColor
 Picker 2 Set ForeColor
 Picker 3
Will also change this text's color.

 Picker 1 Definition:
   ...
   <qwscp:ColorPicker id="ColorPickerDemo1_1" runat="server">
      <Popup PaletteFile="116WebColorSense.xml">
         <TabStyle forecolor="BLUE" Font-Italic="False" Font-UnderLine="False"/>
      </Popup>
   </qwscp:ColorPicker>
   ...
         

 Picker 2 Definition:
   ...
   <qwscp:ColorPicker id="ColorPickerDemo1_2" runat="server">
      <Popup PaletteFile="116WebColorSense.xml" />
   </qwscp:ColorPicker>
   ...
         

 Picker 3 Definition:
   ...
   <qwscp:ColorPicker id="ColorPickerDemo1_3" runat="server">
      <Popup PaletteFile="cone_icons.xml" ColorDisplayMode="CSIST"/>
   </qwscp:ColorPicker>
   ...
         

 Page_Load:
   Private Sub Page_Load(sender As object, e As EventArgs)
      Dim target As TargetControl
   
      target = New TargetControl()
      target.TargetPropertyType = TargetPropertyType.Custom
      target.TargetProperty = "value"
      target.TargetClientId = Demo1TextBox1.ClientID.ToString()
      ColorPickerDemo1_1.TargetControls.Add(target)   
   
      target = New TargetControl()
      target.TargetPropertyType = TargetPropertyType.BackColor
      target.TargetClientId = Demo1Label1.ClientID.ToString()
      ColorPickerDemo1_1.TargetControls.Add(target)   
   
      target = New TargetControl()
      target.TargetPropertyType = TargetPropertyType.Custom
      target.TargetProperty = "value"
      target.TargetClientId = Demo1TextBox2.ClientID.ToString()
      ColorPickerDemo1_2.TargetControls.Add(target)   
   
      target = New TargetControl()
      target.TargetPropertyType = TargetPropertyType.ForeColor
      target.TargetClientId = Demo1Label1.ClientID.ToString()
      ColorPickerDemo1_2.TargetControls.Add(target)   
   
      target = New TargetControl()
      target.TargetPropertyType = TargetPropertyType.Custom
      target.TargetProperty = "value"
      target.TargetClientId = Demo1TextBox3.ClientID.ToString()
      ColorPickerDemo1_3.TargetControls.Add(target)   
   
      target = New TargetControl()
      target.TargetPropertyType = TargetPropertyType.BackColor
      target.TargetClientId = Demo1Label3.ClientID.ToString()
      ColorPickerDemo1_3.TargetControls.Add(target)      
   
      target = New TargetControl()
      target.TargetPropertyType = TargetPropertyType.ForeColor
      target.TargetClientId = Description.ClientID.ToString()
      ColorPickerDemo1_3.TargetControls.Add(target)      
   End Sub