Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- Overview
- Installation & Deployement
- EO.Web ToolTip
- EO.Web Rating
- EO.Web Slider & RangeSlider
- EO.Web ListBox
- EO.Web ComboBox
- EO.Web Captcha
- EO.Web ASPX To PDF
- EO.Web Slide
- EO.Web Flyout
- EO.Web EditableLabel
- EO.Web ImageZoom
- EO.Web Floater
- EO.Web Downloader
- EO.Web ColorPicker
- EO.Web HTML Editor
- EO.Web File Explorer
- EO.Web SpellChecker
- EO.Web Grid
- EO.Web MaskedEdit
- EO.Web Splitter
- EO.Web Menu
- EO.Web Slide Menu
- EO.Web TabStrip
- EO.Web TreeView
- EO.Web Calendar
- EO.Web Callback
- EO.Web MultiPage
- EO.Web Dialog
- EO.Web AJAXUploader
- EO.Web ProgressBar - Free!
- EO.Web ToolBar - Free!
- EO.WebBrowser
- EO.Wpf
- Common Topics
- Reference
Server Side Interface |
Accessing Value
You can get or set the value of the color picker through its Value property. For example, the following code changes Label1's background color to the color selected by the user:
Label1.BackColor = ColorPicker1.Value;
The following code clears the color picker's Value property:
ColorPicker1.Value = Color.Empty;
The following code initializes the color picker to have an initial "Blue" value:
ColorPicker1.Value = Color.Blue;
Handling Events
Server side event Change is fired when the color picker's value is changed between post backs. By default, the color picker does not post back the page when user selects a color unless AutoPostBack is set to true.