Glow skin

ColorPicker - Columns

Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

Using the Columns property you can organize the colors in the palette so they are rendered in appropriate color groups. By default setting a Preset will automatically set the appropriate Columns property so the given palette is rendered correctly.

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

<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" />
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-containers">
        <div class="demo-container">
            <div class="inner-demo-container">
                <h2>10 Columns</h2>
                <telerik:RadColorPicker RenderMode="Lightweight" runat="server" Columns="10" ID="RadColorPicker1" Preset="Grayscale">


            <div class="inner-demo-container">
                <h2>Default Columns based on preset</h2>
                <telerik:RadColorPicker RenderMode="Lightweight" runat="server" ID="RadColorPicker2" Preset="Grayscale">


            <div class="inner-demo-container">
                <h2>Configuring Columns and Width</h2>
                <telerik:RadColorPicker RenderMode="Lightweight" runat="server" ID="RadColorPicker3" Columns="5" Width="210"


Find Assistance

Help Us Improve

Was this example helpful?