This example demonstrates custom CSS file and buttons use.
Example code
<%@ Register
TagPrefix="obout" Namespace="OboutInc.ColorPicker" Assembly="obout_ColorPicker" %
> ...
Click to the box:
<obout:ColorPicker runat="server" OnClientOpen="OnColorOpen" TargetId="color" TargetProperty="style.backgroundColor" StyleFile="blueStyle/style.css" Title="Select color" CloseButtonImage="blueStyle/CloseButton.gif" CloseButtonOverImage="blueStyle/CloseButtonOver.gif" CloseButtonPressedImage="blueStyle/CloseButtonPressed.gif" SetColorImage="blueStyle/SetColor.gif" SetColorOverImage="blueStyle/SetColorOver.gif" SetColorPressedImage="blueStyle/SetColorPressed.gif" SaveButtonImage="blueStyle/SaveButton.gif" SaveButtonOverImage="blueStyle/SaveButtonOver.gif" SaveButtonPressedImage="blueStyle/SaveButtonPressed.gif" > <asp:TextBox readOnly="true" id="color" style="cursor: pointer;" runat="server"/> </obout:ColorPicker>
See the full source code in
/ColorPicker/aspnet_customCSS.aspx file of downloaded
Suite.