[CLOSED] Friendly color picker in V2?

  1. #1

    [CLOSED] Friendly color picker in V2?

    Hello

    is something like that http://ryanpetrello.com/ext-ux/ColorField/ has a chance to be implemented in V2?
    Last edited by Daniil; May 24, 2012 at 6:27 PM. Reason: [CLOSED]
  2. #2
    Hi,

    I would assume it's possible.

    Probably, this extension has been already ported to ExtJS 4 (Ext.NET v2 is based on ExtJS 4).

    I would ask the author of this ColorField extension it has been ported or not.
  3. #3
    Hi

    I found nothin in Ext.JS example. For now, I manage to made one with a colorpicker into a dropdownfield. I dadapt your example. It works well, but it's a little less pretty.

    One question about color picker: it shows only basic web colors?
  4. #4
    Please use the Colors property.

    Example
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
        {
            this.ColorPicker1.Colors = new string[] 
            {
                "000000", "AAAAAA", "FFFFFF"
            };
        }
    </script>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.NET v2 Example</title>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
    
        <ext:ColorPicker ID="ColorPicker1" runat="server" />
    </body>
    </html>
    See also
    http://docs.sencha.com/ext-js/4-1/#!...roperty-colors
  5. #5
    Ok, I see, thanks

Similar Threads

  1. Replies: 7
    Last Post: Jul 13, 2012, 8:13 PM
  2. [CLOSED] RequestReduce friendly
    By moldeveloper in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 05, 2012, 3:34 PM
  3. [CLOSED] Date picker BUG
    By FpNetWorth in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Dec 08, 2010, 2:19 PM
  4. [1.0]transaction aborted friendly message
    By pbsoft in forum 1.x Help
    Replies: 3
    Last Post: Nov 26, 2010, 12:56 AM
  5. color picker field
    By king1231986 in forum 1.x Help
    Replies: 0
    Last Post: Apr 28, 2010, 6:41 AM

Posting Permissions