This example demonstrates background color setting of Textbox control.
Example code
<%@ Register
TagPrefix="obout" Namespace="OboutInc.ColorPicker" Assembly="obout_ColorPicker" %
> ...
<asp:TextBox readOnly="true" id="color" style="vertical-align: middle;" runat="server"/> Click here:
<obout:ColorPicker runat="server" OnClientOpen="OnColorOpen" TargetId="color" TargetProperty="style.backgroundColor" />
See the full source code in
/ColorPicker/aspnet_backgroundColor.aspx file of downloaded
Suite.