ComboBox as Color Picker

Thread is closed for posting
1 posts, 1 answers
  1. Answer
    Telerik Admin
    Telerik Admin avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 21 Mar 2008 Link to this post


    RadControls version

    RadComboBox 2.84
    RadComboBox AJAX (Prometheus)
    Telerik.Web.UI 2007.3.1425

    .NET version


    Visual Studio version


    programming language


    browser support

    all browsers supported by RadControls

    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.