New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Preset Palettes

Default

Web216






The preset palettes are defined in the ColorPreset enumeration. To use a specific palette set the Preset property of the RadColorPicker.

  • DefaultVB.aspx
  • DefaultVB.aspx.vb
  • styles.css
<%@ Page Language="vb" AutoEventWireup="true" Inherits="Telerik.Web.Examples.ColorPicker.Default.DefaultVB"CodeFile="DefaultVB.aspx.vb"  %>

<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container">
        <asp:Panel runat="server" ID="PanelDefault" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelWeb216" CssClass="ColorPickerWrapperBreakline">
        </asp:Panel>
        <br class="qsf-clear-float" />
        <asp:Panel runat="server" ID="Panel1">
            <asp:Panel runat="server" ID="PanelStandard" CssClass="ColorPickerWrapper">
            </asp:Panel>
            <asp:Panel runat="server" ID="PanelGrayscale" CssClass="ColorPickerWrapper">
            </asp:Panel>
            <asp:Panel runat="server" ID="PanelReallyWebSafe" CssClass="ColorPickerWrapperSmallBreakline">
            </asp:Panel>
        </asp:Panel>
        <br class="qsf-clear-float" />
        <asp:Panel runat="server" ID="PanelOffice" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelApex" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelAspect" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelCivic" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelConcourse" CssClass="ColorPickerWrapperBreakline">
        </asp:Panel>
        <br class="qsf-clear-float" />
        <asp:Panel runat="server" ID="PanelEquity" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelFlow" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelFoundry" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelMedian" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelMetro" CssClass="ColorPickerWrapperBreakline">
        </asp:Panel>
        <br class="qsf-clear-float" />
        <asp:Panel runat="server" ID="PanelModule" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelOpulent" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelOriel" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelOrigin" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelPaper" CssClass="ColorPickerWrapperBreakline">
        </asp:Panel>
        <br class="qsf-clear-float" />
        <asp:Panel runat="server" ID="PanelSolstice" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelTechnic" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelTrek" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelUrban" CssClass="ColorPickerWrapper">
        </asp:Panel>
        <asp:Panel runat="server" ID="PanelVerve" CssClass="ColorPickerWrapperBreakline">
        </asp:Panel>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance