Posted
on Mar 21, 2008
(permalink)
| RadControls version |
RadComboBox 2.84
RadComboBox AJAX (Prometheus)
Telerik.Web.UI 2007.3.1425
|
| .NET version |
2.0
|
| Visual Studio version |
2005
|
| programming language |
C#
|
| browser support |
all browsers supported by RadControls
|
PROJECT DESCRIPTION
This project demonstrates how to use the RadComboBox (classic and AJAX) as a ColorPicker.
It uses ItemTemplates to show the color rectangular and the Text of the item in the dropdown list.
Additional Javascript code is added to display the same color rectangular and the Text of the selected item in the Input area of the ComboBox.
The project contains two aspx files:
- Combo_ColorPicker_Classic.aspx with the "classic" ComboBox
- Combo_ColorPicker_AJAX.aspx with the AJAX ComboBox
Note, that we advise using of the RadColorPicker for ASP.NET AJAX whenever possible.