ComboBox as Color Picker

Thread is closed for posting
1 posts, 1 answers
  1. Answer
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 21 Mar 2008 Link to this post

    Requirements

    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


     
  2. 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.
  • Back to Top

    This Code Library is part of the product documentation and subject to the respective product license agreement.