| |
Custom colors can be added to the default palettes of ColorPicker.
Example code
<obout:ColorPicker runat="server" OnClientPicked="OnColorPicked" Id="picker" PickButton="false" TargetId="color" TargetProperty="style.backgroundColor" CustomColorsInLine="12" > <asp:TextBox readOnly="true" id="color" style="cursor: pointer;" runat="server"/> <obout:CustomColors runat="server"> <Collection> <obout:CustomColor Value="TRANSPARENT" Title="transparent" /> <obout:CustomColor Value="#FFFF00" /> ... <obout:CustomColor Value="#FFFFFF" /> </Collection> </obout:CustomColors> </obout:ColorPicker>
See the full source code in /ColorPicker/aspnet_CustomColors.aspx file of downloaded Suite.
| | |
| "Your fast turn around and helpful attitude have made me VERY VERY HAPPY.
This is SO RARE to find especially with something as complicated as a control suite
and one so reasonably priced at that." |
Cary Abramoff |
|
| | |
|
|
|
|