[CLOSED] DateField MultiField in collapsed panel bug

  1. #1

    [CLOSED] DateField MultiField in collapsed panel bug



    Hi
    The datefield in multifield in a collapsed panel looks very strange when you expand the panel.


    Please check out this example

    <%@ Page Language="C#" %>
    
    
    <%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
    <!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 id="Head1" runat="server">
    
    
    <script type="text/javascript">
    </script>
    
    
    <title></title>
    
    
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
        {
          
        }
    </script>
    
    
    </head>
    <body>
        <form id="form1" runat="server">
            <ext:ScriptManager ID="ScriptManager1" runat="server">
            </ext:ScriptManager>
    
    
    
             <ext:Panel ID="Panel1" runat="server" Title="Panel" Collapsed="true" Collapsible="true" Border="true" BodyStyle="padding:4px;">
                <Body>
                    <ext:FormLayout ID="FormLayout4" runat="server">                                                        
                        <Anchors>                                                        
                            <ext:Anchor>
                                <ext:MultiField ID="MultiField3" runat="server" LabelSeparator=":" FieldLabel="Dates">
                                    <Fields>
                                        <ext:DateField runat="server" ID="date1"></ext:DateField>
                                        <ext:DateField runat="server" ID="date2"></ext:DateField>
                                    </Fields>                                                                        
                                </ext:MultiField>
                            </ext:Anchor>
                        </Anchors>
                    </ext:FormLayout>
                </body>
            </ext:Panel>    
        </form>
    </body>
    </html>
    /Mikael
  2. #2

    RE: [CLOSED] DateField MultiField in collapsed panel bug

    Hi,

    It is fixed already in the 1.0 version. For 0.8.x try the following

    1. HideMode="Offsets" Hidden="true" for the Panel
    2. Add the following listener to the panel
     <Render Handler="this.collapse(false);this.show();" Delay="1" />
    <ext:Panel ID="Panel1" runat="server" Title="Panel" Collapsible="true" Border="true" BodyStyle="padding:4px;" HideMode="Offsets" Hidden="true">
                <Body>
                    <ext:FormLayout ID="FormLayout4" runat="server">                                                        
                        <Anchors>                                                        
                            <ext:Anchor>
                                <ext:MultiField ID="MultiField3" runat="server" LabelSeparator=":" FieldLabel="Dates">
                                    <Fields>
                                        <ext:DateField runat="server" ID="date1"></ext:DateField>
                                        <ext:DateField runat="server" ID="date2"></ext:DateField>
                                    </Fields>                                                                        
                                </ext:MultiField>
                            </ext:Anchor>
                        </Anchors>
                    </ext:FormLayout>
                </body>
                <Listeners>
                    <Render Handler="this.collapse(false);this.show();" Delay="1" />
                </Listeners>
            </ext:Panel>
  3. #3

    RE: [CLOSED] DateField MultiField in collapsed panel bug



    Okay great!
    How do I download the 1.0 version with the Tortoise SVN?

    /Mikael
  4. #4

    RE: [CLOSED] DateField MultiField in collapsed panel bug

    Hi,

    1.0 SVN repository url


    /branches/1.0.0/


  5. #5

    RE: [CLOSED] DateField MultiField in collapsed panel bug

    Thanks,
    Do you think that the 1.0 more stable than the 0.8.2?

    /Mikael
  6. #6

    RE: [CLOSED] DateField MultiField in collapsed panel bug

    Hi,

    1.0 uses ExtJS 3.1 (if you use custom ExtJS controls then it might be broken) and contains breaking changes (which described in the ChangeLog.txt file)


    1.0 is quite stable now. Many Premium members are using it already.
    Also 1.0 version contains many improvements (see WhatsNew_1.0.txt)

Similar Threads

  1. [CLOSED] Expand collapsed panel
    By uniway in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Jan 15, 2013, 1:41 PM
  2. Replies: 9
    Last Post: Aug 26, 2009, 9:21 AM
  3. Replies: 0
    Last Post: May 27, 2009, 6:50 AM
  4. [CLOSED] Collapsed Panel Title
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 27, 2009, 1:03 PM
  5. Panel - Collapsed Title?
    By Tbaseflug in forum 1.x Help
    Replies: 5
    Last Post: Jan 21, 2009, 9:35 AM

Posting Permissions