[CLOSED] Date format property set twice when creating Date Picker Menu

  1. #1

    [CLOSED] Date format property set twice when creating Date Picker Menu

    Hi,

    The following code works

    <%@ Page Language="C#" %>
    <!DOCTYPE html>
    <html>
    <head>
        <title>Ext.Net Example</title>
    </head>
    <body>
        <ext:ResourceManager runat="server" Theme="Gray" />
        <ext:Button runat="server" Text="Menu">
            <Menu>
                <ext:DateMenu runat="server">
                    <Picker runat="server" />
                </ext:DateMenu>
            </Menu>
        </ext:Button>
    </body>
    </html>
    But, if you see the output that is generated, it sets the format inside the pickerConfig twice.

    Ext.net.ResourceMgr.init({
        id: "ctl00",
        theme: "gray"
    });
    Ext.onReady(function () {
        Ext.create("Ext.button.Button", {
            id: "ctl01",
            renderTo: "App.ctl01_Container",
            menu: {
                xtype: "datemenu",
                pickerConfig: {
                    xtype: "datepicker",
                    disabledDaysText: "Disabled",
                    format: "n/j/Y",
                    format: "l, F d, Y"
                }
            },
            text: "Menu"
        });
    });
    Last edited by Daniil; May 09, 2012 at 4:29 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Thanks for the report. We are investigating.
  3. #3
    It has been fixed in SVN, revision #4002.

    Thanks again for the report.
  4. #4
    Many thanks for super quick fix! Much appreciated!

Similar Threads

  1. Replies: 1
    Last Post: Apr 13, 2012, 1:52 PM
  2. Replies: 4
    Last Post: Jun 30, 2011, 3:30 PM
  3. [CLOSED] How to Set Date Format in a Coolite Date Field
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 02, 2010, 8:47 AM
  4. Replies: 3
    Last Post: May 06, 2010, 12:48 PM
  5. date format for all date fields in grid?
    By marcmvc in forum 1.x Help
    Replies: 0
    Last Post: Dec 01, 2009, 3:41 PM

Posting Permissions