Quick links
TreeView
Examples
Documentation
Knowledge base
Grid
Examples
Documentation
Knowledge base
Editor
Examples
Documentation
Knowledge base
Calendar
Examples
Documentation
Knowledge base
Splitter
Examples
Documentation
Knowledge base
Combobox
Examples
Multilevel combobox
Documentation
Knowledge base
Flyout
Examples
Documentation
Knowledge base
Window
Examples
Dialog window
Documentation
Knowledge base
Easy menu
Examples
Tab strip
Documentation
Knowledge base
Purchase
Purchase page
Ordering/Licensing details
Install
Add to Visual Studio
Add to project
Support
Contact Us
obout.com
obout.com Home
obout ColorPicker
Download
Site Map
ColorPicker home
Working examples
- 11
Default settings
Background color
TextBox inside ColorPicker
Without TargetId
Post back to server
Callback with
MS ASP.NET AJAX
Callback with
obout AJAXPage
AutoPostBack
New
"One touch"
New
Custom colors
New
Custom colors only
New
Inside obout
Grid
control
New
Customize
- 1
Custom style file
Documentation
- 2
Server side interface
Client side interface
Change Log
Current color (click to the box):
Previous color:
This example demonstrates
AutoPostBack
and
PickButton
properties use with
ColorPostBack
event
(
MS ASP.NET AJAX
)
.
Example code
<
script
runat
="server"
language
="c#">
private void Color_CallBack(object sender,
ColorPostBackEventArgs
e){
color.Style[
"background-color"
] = e.Color;
previous.Style[
"background-color"
] = e.PreviousColor;
}
</
script
>
...
<
obout:ColorPicker
runat
="server"
ID
="picker"
TargetId
="color"
TargetProperty
="style.backgroundColor"
OnColorPostBack
="Color_CallBack"
PickButton
="false"
AutoPostBack
="true"
>
<
asp:TextBox
readOnly
="true"
id
="color"
style
="cursor: pointer;"
runat
="server"
/
>
<
/
obout:ColorPicker
>
Previous color:
<
asp:TextBox
readOnly
="true"
id
="previous"
style
="width: 40px;"
runat
="server"
/
>
Download working example
.
Please visit
HOW-TO and Help
page for any questions.
"
All your controls are professionally developed and well documented. Easy to modify and implement. They have been saving a lot of time and making the applications more user friendly. Your email support is awesome, so fast in replies. This means a lot to a customer. I hope the support team will always continue the same way.
"
Mustafa Basgun
Atlanta, GA USA
Terms of Use
|
Privacy Statement
obout software inc, New York Ph: (718) 645-8720 Fax: (718) 645-6184