[FIXED] 0.5.3 Breaks Fieldsets

  1. #1

    [FIXED] 0.5.3 Breaks Fieldsets

    Sorry for the large post, I did edit out quite a bit...

    Upgraded to 0.5.3 from 2008-06-23 and started receiving errors when I collapse or expand my fieldsets. Everything worked in 0.5.2

    Getting:
    Microsoft JScript runtime error: 'Ext.get(...).dom' is null or not an object
    On this dynamic code:
    function(){Ext.get("FormView1_fsName_Collapsed").dom.value="true";}
    From this page:
    
    
    
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="fi.aspx.cs" Inherits="windows_favorites_fi" %>
    
    
    <!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>BICSI Vantage</title>
        <link rel="stylesheet" href="../../css/style.css" type="text/css" />
    </head>
    <body>
        <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager2" LoadScriptsBeforeUI="true" runat="server" />
        <ext:ScriptManager ID="ScriptManager1" runat="server" Theme="Gray" Hide="true" />
        
            <ext:ViewPort ID="ViewPort1" runat="server">
                <Content>
                    <ext:BorderLayout ID="BorderLayout1" runat="server">
                        <North Collapsible="True" Split="True">
                            <ext:Panel ID="NorthPanel" runat="server" Title="Search" Collapsible="true" TitleCollapse="true"
                                AutoHeight="true">
                                <Content>
                                    
                                        <ul class="searchList">
                                            <li>
                                                <asp:Label ID="lbLastName" runat="server" CssClass="PropertyLabel" Width="87">Last Name</asp:Label>
                                                <br />
                                                <ext:TextField ID="tfLastName" runat="server" Width="90">
                                                </ext:TextField>
                                            </li>
                                            <li>
                                                <asp:Label ID="lbFirstName" runat="server" CssClass="PropertyLabel" Width="87">First Name</asp:Label>
                                                <br />
                                                <ext:TextField ID="tfFirstName" runat="server" Width="90">
                                                </ext:TextField>
                                            </li>
                                            <li>
                                                <asp:Label ID="lbCustCD" runat="server" CssClass="PropertyLabel" Width="67">Customer #</asp:Label>
                                                <br />
                                                <ext:NumberField ID="tfCustCD" runat="server" Width="70">
                                                </ext:NumberField>
                                            </li>
                                            <li>
                                                <asp:Label ID="lbEmail" runat="server" CssClass="PropertyLabel" Width="177">Email</asp:Label>
                                                <br />
                                                <ext:TextField ID="tfEmail" runat="server" Width="180">
                                                </ext:TextField>
                                            </li>
                                            <li>&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp </li>
                                            <li>
                                                <br />
                                                <ext:Button ID="btnSearch" runat="server" Text="Search" Icon="Find" CausesValidation="false">
                                                </ext:Button>
                                            </li>
                                        </ul>
                                        <br />
                                        <br />
                                        <asp:Panel ID="pnlResults" runat="server">
                                            <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" DataKeyNames="CUSTOMERCD"
                                                DataSourceID="SqlDataSource2" EnableViewState="false">
                                                <Columns>
                                                    <asp:CommandField CausesValidation="false" ShowSelectButton="True" />
                                                    <asp:BoundField DataField="CUSTOMERCD" HeaderText="CUSTOMERCD" ReadOnly="True" SortExpression="CUSTOMERCD" />
                                                    <asp:BoundField DataField="FIRSTNAME" HeaderText="FIRSTNAME" SortExpression="FIRSTNAME" />
                                                    <asp:BoundField DataField="LASTNAME" HeaderText="LASTNAME" SortExpression="LASTNAME" />
                                                    <asp:BoundField DataField="ORGNAME" HeaderText="ORGNAME" SortExpression="ORGNAME" />
                                                    <asp:BoundField DataField="CITY" HeaderText="CITY" SortExpression="CITY" />
                                                    <asp:BoundField DataField="STATECD" HeaderText="STATECD" SortExpression="STATECD" />
                                                    <asp:BoundField DataField="COUNTRY" HeaderText="COUNTRY" SortExpression="COUNTRY" />
                                                </Columns>
                                            </asp:GridView>
                                            <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:BICSI_CVConnectionString1 %>"
                                                SelectCommand="bv_GetCustListByParams" SelectCommandType="StoredProcedure">
                                                <SelectParameters>
                                                    <asp:ControlParameter ControlID="tfCustCD" DefaultValue="0" Name="CustomerCD" PropertyName="Text"
                                                        Type="String" />
                                                    <asp:ControlParameter ControlID="tfFirstName" DefaultValue="%" Name="FirstName" PropertyName="Text"
                                                        Type="String" />
                                                    <asp:ControlParameter ControlID="tfLastName" DefaultValue="%" Name="LastName" PropertyName="Text"
                                                        Type="String" />
                                                    <asp:ControlParameter ControlID="tfEmail" DefaultValue="%" Name="Email" PropertyName="Text"
                                                        Type="String" />
                                                </SelectParameters>
                                            </asp:SqlDataSource>
                                        </asp:Panel>
                                        <br />
                                    
    
                                </Content>
                            </ext:Panel>
                        </North>
                        <Center>
                            <ext:Panel ID="CenterPanel" runat="server" Header="False" HeaderAsText="False" Title="Results">
                                <Content>
                                    <ext:FitLayout ID="CenterFitLayout" runat="server">
                                        <ext:TabPanel ID="CenterTabPanel" runat="server" ActiveTab="0" Border="false" Collapsible="False"
                                            EnableTabScroll="true" Title="Result">
                                            <Tabs>
                                                <ext:Tab ID="ProfileTab" runat="server" Title="Profile" AutoScroll="true">
                                                    <Content>
                                                        <asp:FormView ID="FormView1" runat="server" DataKeyNames="CUSTOMERCD" DataSourceID="LinqDataSource1"
                                                            DefaultMode="Edit">
                                                            <EditItemTemplate>
                                                                <ext:FieldSet ID="fsName" runat="server" Title="Name" Collapsible="True" AnimCollapse="true"
                                                                    AutoWidth="true">
                                                                    <Content>
                                                                        <asp:Label ID="CUSTOMERCDLabel" runat="server" CssClass="PropertyLabel" Width="120"
                                                                            Height="15" Text="CUSTOMERCD" />
                                                                        <asp:Label ID="CUSTOMERCDLabel1" runat="server" Text='<%# Eval("CUSTOMERCD") %>'>
                                                                        </asp:Label><br />
                                                                        <asp:Label ID="PREFIXLabel" runat="server" CssClass="PropertyLabel" Width="120" Height="15"
                                                                            Text="PREFIX" />
                                                                        <ext:TextField ID="PREFIXTextBox" runat="server" Grow="true" GrowMin="120" Text='<%# Bind("PREFIX") %>'>
                                                                        </ext:TextField>
                                                                        <br />
                                                                        <asp:Label ID="FIRSTNAMELabel" runat="server" CssClass="PropertyLabel" Width="120"
                                                                            Height="15" Text="FIRSTNAME" />
                                                                        <ext:TextField ID="FIRSTNAMETextBox" runat="server" Grow="true" GrowMin="120" Text='<%# Bind("FIRSTNAME") %>'>
                                                                        </ext:TextField>
                                                                        <br />
                                                                        <asp:Label ID="MIDDLENAMELabel" runat="server" CssClass="PropertyLabel" Width="120"
                                                                            Height="15" Text="MIDDLENAME" />
                                                                        <ext:TextField ID="MIDDLENAMETextBox" runat="server" Grow="true" GrowMin="120" Text='<%# Bind("MIDDLENAME") %>'>
                                                                        </ext:TextField>
                                                                        <br />
                                                                        <asp:Label ID="LASTNAMELabel" runat="server" CssClass="PropertyLabel" Width="120"
                                                                            Height="15" Text="LASTNAME" />
                                                                        <ext:TextField ID="LASTNAMETextBox" runat="server" Grow="true" GrowMin="120" Text='<%# Bind("LASTNAME") %>'>
                                                                        </ext:TextField>
                                                                        <br />
                                                                        <asp:Label ID="PREFNAMELabel" runat="server" CssClass="PropertyLabel" Width="120"
                                                                            Height="15" Text="PREFNAME" />
                                                                        <ext:TextField ID="PREFNAMETextBox" runat="server" Grow="true" GrowMin="120" Text='<%# Bind("PREFNAME") %>'>
                                                                        </ext:TextField>
                                                                        <br />
                                                                        <asp:Label ID="SUFFIXLabel" runat="server" CssClass="PropertyLabel" Width="120" Height="15"
                                                                            Text="SUFFIX" />
                                                                        <ext:TextField ID="SUFFIXTextBox" runat="server" Grow="true" GrowMin="120" Text='<%# Bind("SUFFIX") %>'>
                                                                        </ext:TextField>
                                                                        <br />
                                                                    </Content>
                                                                </ext:FieldSet>
                                                                <ext:FieldSet ID="fsEmp" runat="server" Title="Employment" Collapsible="True" AnimCollapse="true"
                                                                    Collapsed="true">
                                                                    <Content>
                                                                        ORGNAME:
                                                                        <ext:TextField ID="ORGNAMETextBox" runat="server" Grow="true" GrowMin="120" Text='<%# Bind("ORGNAME") %>'>
                                                                        </ext:TextField>
                                                                        <br />
                                                                        ORGCD:
                                                                        <ext:TextField ID="ORGCDTextBox" runat="server" Grow="true" GrowMin="120" Text='<%# Bind("ORGCD") %>'>
                                                                        </ext:TextField>
                                                                        <br />
                                                                        JOBTITLE:
                                                                        <ext:TextField ID="JOBTITLETextBox" runat="server" Grow="true" GrowMin="120" Text='<%# Bind("JOBTITLE") %>'>
                                                                        </ext:TextField>
                                                                        <br />
                                                                        DEPARTMENT:
                                                                        <ext:TextField ID="DEPARTMENTTextBox" runat="server" Grow="true" GrowMin="120" Text='<%# Bind("DEPARTMENT") %>'>
                                                                        </ext:TextField>
                                                                        <br />
                                                                        INDUSTRY:
                                                                        <ext:TextField ID="INDUSTRYTextBox" runat="server" Grow="true" GrowMin="120" Text='<%# Bind("INDUSTRY") %>'>
                                                                        </ext:TextField>
                                                                        <br />
                                                                        OCCUPATIONCD:
                                                                        <ext:TextField ID="OCCUPATIONCDTextBox" runat="server" Grow="true" GrowMin="120"
                                                                            Text='<%# Bind("OCCUPATIONCD") %>'>
                                                                        </ext:TextField>
                                                                        <br />
                                                                        WWWADDRESS:
                                                                        <ext:TextField ID="WWWADDRESSTextBox" runat="server" Grow="true" GrowMin="120" Text='<%# Bind("WWWADDRESS") %>'>
                                                                        </ext:TextField>
                                                                        <br />
                                                                    </Content>
                                                                </ext:FieldSet>
                                                                <ext:Button ID="Update" runat="server" Text="Save" AutoPostBack="false" Icon="Disk"
                                                                    CommandName="Update" StyleSpec="display:inline;">
                                                                </ext:Button>
                                                                <ext:Button ID="btnCancel" runat="server" Icon="Cancel" CausesValidation="False"
                                                                    CommandName="Cancel" Text="Cancel">
                                                                </ext:Button>
                                                            </EditItemTemplate>
                                                        </asp:FormView>
                                                        <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="CVDataContext"
                                                            TableName="CUSTOMERs" EnableUpdate="true" Where="CUSTOMERCD == @CUSTOMERCD">
                                                            <WhereParameters>
                                                                <asp:ControlParameter ControlID="GridView2" Name="CUSTOMERCD" PropertyName="SelectedValue"
                                                                    Type="Int32" DefaultValue="0" />
                                                            </WhereParameters>
                                                        </asp:LinqDataSource>
                                                    </Content>
                                                </ext:Tab>
                                            </Tabs>
                                        </ext:TabPanel>
                                    </ext:FitLayout>
                                </Content>
                            </ext:Panel>
                        </Center>
                    </ext:BorderLayout>
                </Content>
            </ext:ViewPort>
        
    
        </form>
    </body>
    </html>
    
    Here is the code for view source:
    <!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>
        <!-- Coolite Toolkit for ASP.NET [Community Edition]. Version 0.5.3.8366. -->
        <link rel="stylesheet" type="text/css" href="/BICSI-Vantage2/extjs/resources/css/ext-all-embedded-css/coolite.axd" />
        <link rel="stylesheet" type="text/css" href="/BICSI-Vantage2/extjs/resources/css/xtheme-gray-embedded-css/coolite.axd" />
        <style type="text/css">
            .icon-find
            {
                background-image: url(/BICSI-Vantage2/icons/find-png/coolite.axd) !important;
            }
            .icon-disk
            {
                background-image: url(/BICSI-Vantage2/icons/disk-png/coolite.axd) !important;
            }
            .icon-cancel
            {
                background-image: url(/BICSI-Vantage2/icons/cancel-png/coolite.axd) !important;
            }
        </style>
        <title>BICSI Vantage </title>
        <link rel="stylesheet" href="../../css/style.css" type="text/css" />
    
    
        <script type="text/javascript" src="/BICSI-Vantage2/extjs/adapter/ext/ext-base-js/coolite.axd"></script>
    
    
        <script type="text/javascript" src="/BICSI-Vantage2/extjs/ext-all-js/coolite.axd"></script>
    
    
        <script type="text/javascript" src="/BICSI-Vantage2/coolite/coolite-core-js/coolite.axd"></script>
    
    
        <script type="text/javascript">
     //<![CDATA[
      Ext.onReady(function(){Ext.QuickTips.init();this.ViewPort1=new Ext.FormViewport({id:"ViewPort1",items:[{id:"NorthPanel",split:true,region:"north",collapsible:true,autoHeight:true,titleCollapse:true,title:"Search",collapsible:true,contentEl:"NorthPanel_Content"},{id:"CenterPanel",region:"center",items:{id:"CenterTabPanel",xtype:"tabpanel",border:false,items:{id:"ProfileTab",title:"Profile",autoScroll:true,contentEl:"ProfileTab_Content"},enableTabScroll:true,activeTab:0},layout:"fit",title:"Results",headerAsText:false,header:false}],layout:"border"});this.tfLastName=new Ext.form.TextField({id:"tfLastName",width:90,value:"ertle",applyTo:"tfLastName_Input"});this.tfFirstName=new Ext.form.TextField({id:"tfFirstName",width:90,value:"",applyTo:"tfFirstName_Input"});this.tfCustCD=new Ext.form.NumberField({id:"tfCustCD",width:70,value:"",applyTo:"tfCustCD_Input"});this.tfEmail=new Ext.form.TextField({id:"tfEmail",width:180,value:"",applyTo:"tfEmail_Input"});this.btnSearch=new Ext.Button({id:"btnSearch",renderTo:"btnSearch_Container",text:"Search",iconCls:"icon-find"});this.FormView1_fsName=new Ext.form.FieldSet({id:"FormView1_fsName",autoWidth:true,title:"Name",collapsible:true,renderTo:"FormView1_fsName_Container",contentEl:"FormView1_fsName_Content",autoHeight:true});this.FormView1_PREFIXTextBox=new Ext.form.TextField({id:"FormView1_PREFIXTextBox",growMin:120,grow:true,value:"",applyTo:"FormView1_PREFIXTextBox_Input"});this.FormView1_FIRSTNAMETextBox=new Ext.form.TextField({id:"FormView1_FIRSTNAMETextBox",growMin:120,grow:true,value:"Stephen ",applyTo:"FormView1_FIRSTNAMETextBox_Input"});this.FormView1_MIDDLENAMETextBox=new Ext.form.TextField({id:"FormView1_MIDDLENAMETextBox",growMin:120,grow:true,value:"",applyTo:"FormView1_MIDDLENAMETextBox_Input"});this.FormView1_LASTNAMETextBox=new Ext.form.TextField({id:"FormView1_LASTNAMETextBox",growMin:120,grow:true,value:"Ertle",applyTo:"FormView1_LASTNAMETextBox_Input"});this.FormView1_PREFNAMETextBox=new Ext.form.TextField({id:"FormView1_PREFNAMETextBox",growMin:120,grow:true,value:"",applyTo:"FormView1_PREFNAMETextBox_Input"});this.FormView1_SUFFIXTextBox=new Ext.form.TextField({id:"FormView1_SUFFIXTextBox",growMin:120,grow:true,value:"",applyTo:"FormView1_SUFFIXTextBox_Input"});this.FormView1_fsEmp=new Ext.form.FieldSet({id:"FormView1_fsEmp",title:"Employment",collapsible:true,collapsed:true,renderTo:"FormView1_fsEmp_Container",contentEl:"FormView1_fsEmp_Content",autoHeight:true});this.FormView1_ORGNAMETextBox=new Ext.form.TextField({id:"FormView1_ORGNAMETextBox",growMin:120,grow:true,value:"Aloha Communications",applyTo:"FormView1_ORGNAMETextBox_Input"});this.FormView1_ORGCDTextBox=new Ext.form.TextField({id:"FormView1_ORGCDTextBox",growMin:120,grow:true,value:"69454",applyTo:"FormView1_ORGCDTextBox_Input"});this.FormView1_JOBTITLETextBox=new Ext.form.TextField({id:"FormView1_JOBTITLETextBox",growMin:120,grow:true,value:"Project Manager",applyTo:"FormView1_JOBTITLETextBox_Input"});this.FormView1_DEPARTMENTTextBox=new Ext.form.TextField({id:"FormView1_DEPARTMENTTextBox",growMin:120,grow:true,value:"",applyTo:"FormView1_DEPARTMENTTextBox_Input"});this.FormView1_INDUSTRYTextBox=new Ext.form.TextField({id:"FormView1_INDUSTRYTextBox",growMin:120,grow:true,value:"CON_LVOLT",applyTo:"FormView1_INDUSTRYTextBox_Input"});this.FormView1_OCCUPATIONCDTextBox=new Ext.form.TextField({id:"FormView1_OCCUPATIONCDTextBox",growMin:120,grow:true,value:"NO_RESP",applyTo:"FormView1_OCCUPATIONCDTextBox_Input"});this.FormView1_WWWADDRESSTextBox=new Ext.form.TextField({id:"FormView1_WWWADDRESSTextBox",growMin:120,grow:true,value:"",applyTo:"FormView1_WWWADDRESSTextBox_Input"});this.FormView1_Update=new Ext.Button({id:"FormView1_Update",style:"display:inline;",renderTo:"FormView1_Update_Container",text:"Save",iconCls:"icon-disk"});this.FormView1_btnCancel=new Ext.Button({id:"FormView1_btnCancel",renderTo:"FormView1_btnCancel_Container",text:"Cancel",iconCls:"icon-cancel"});this.NorthPanel=Ext.getCmp("NorthPanel");this.ProfileTab=Ext.getCmp("ProfileTab");this.CenterTabPanel=Ext.getCmp("CenterTabPanel");this.CenterPanel=Ext.getCmp("CenterPanel");this.NorthPanel.on("collapse",function(){Ext.get("NorthPanel_Collapsed").dom.value="true";});this.NorthPanel.on("expand",function(){Ext.get("NorthPanel_Collapsed").dom.value="false";});this.btnSearch.on("click",function(){__doPostBack('btnSearch','');});this.CenterTabPanel.on("beforetabchange",function(el,newTab){Ext.get("CenterTabPanel_ActiveTab").dom.value=el.items.indexOf(newTab);});this.CenterTabPanel.doLayout();this.FormView1_fsName.on("collapse",function(){Ext.get("FormView1_fsName_Collapsed").dom.value="true";});this.FormView1_fsName.on("expand",function(){Ext.get("FormView1_fsName_Collapsed").dom.value="false";});this.FormView1_fsEmp.on("collapse",function(){Ext.get("FormView1_fsEmp_Collapsed").dom.value="true";});this.FormView1_fsEmp.on("expand",function(){Ext.get("FormView1_fsEmp_Collapsed").dom.value="false";});this.FormView1_btnCancel.on("click",function(){__doPostBack('FormView1$btnCancel','');});});Ext.BLANK_IMAGE_URL="/BICSI-Vantage2/extjs/resources/images/gray/s-gif/coolite.axd";
     //]]>
        </script>
    
    
    </head>
    <body>
        <form name="form1" method="post" action="fi.aspx" id="form1">
        
            <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
            <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
            <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="R+MvuPalK+ctUXQdfcBVlSaGu8a7rejhCpP5rwdbxpQyohTyqTIuWT8JU4vPRZlfps1gEugX8tipegUDm0yh7U1G9LcGWLWn/SITU70BYC6/8QjIndtXUnZumxnPVPif0UCmkhSCT1p/6wZyQ56ffySHb+cEWC7qTBXXCUgBFpR6YSQ3Cx9nAg/XQIuMuUrs7raxPBImNlkgdXJ6KULThChLlZWdx1rQsnhXCVLVXF/9SFXBulbYuVQ/A8CiEXK/6HEsmPCXPdKiXsDlj7TDOuHn409Ty1NDZO9Zg7PpIi+rPMQV21I7qMaPAywOPWA1QFDh2S9FE3TnibKN7RkoyVB3XCN2BoOGkxtyeU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WzWPnGW4xxOYuqPMMkNl2n9qh28K79sAXMu7arSO86DUuc9EPO7kqmPJGSUE4EBNxr78Qx9uMmuHalZfi4QFwqSPIj2cOWywxsA4mWw2DOv1v1NVA/pVl7P6Ns8rzSN9KBZrTBEZrPmH5h0W4q8q52WmSZ3X6JjplK4JZ2vS3fPfIcn7j67wTc1/0NmHlcX4SiWdBdWUcBlF7ybEk2RtYTjHwuf/8hV7YJAKFpkrQqFwQZtb43QN8bhm36MDyKN9vMBBMj8RICx+Gt7eihN2Y2W8RPA7dY6ZVD5qGNNERBSJnquSOh6zCu4RA2yPfZ8ZmZljNmamFrUo9wyutW37T5U0+M7rZRKhQhm/3kqylSkLS6qxxeHz/yOjDwZgXSkAWhKNm0vxEaej5CQ/pSoV1kX7/XAsg2t9Crzr3N+k+EGxUfQslAo8AkdSbqVHz+MRb/GU7KA==" />
        
    
    
    
        <script type="text/javascript">
    //<![CDATA[
    var theForm = document.forms['form1'];
    if (!theForm) {
        theForm = document.form1;
    }
    function __doPostBack(eventTarget, eventArgument) {
        if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
            theForm.__EVENTTARGET.value = eventTarget;
            theForm.__EVENTARGUMENT.value = eventArgument;
            theForm.submit();
        }
    }
    //]]>
        </script>
    
    
        <script src="/BICSI-Vantage2/WebResource.axd?d=qsOVmtj9LsW5JnO61lgVIQ2&amp;amp;t=633366727502187500"
            type="text/javascript"></script>
    
    
        <script src="/BICSI-Vantage2/ScriptResource.axd?d=KD09peeHMMR3j2JECogsFa6pF9Yr3zCR3BvrLhlGhbwXFs7_DowiQ1SrrFe0uIAR3UNZLP8tklywXoA8dz8xP_0SDKlcBzCbeOHVG3OPEmg1&amp;amp;t=633465679977187500"
            type="text/javascript"></script>
    
    
        <script type="text/javascript">
    //<![CDATA[
    if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
    //]]>
        </script>
    
    
        <script src="/BICSI-Vantage2/ScriptResource.axd?d=KD09peeHMMR3j2JECogsFa6pF9Yr3zCR3BvrLhlGhbwXFs7_DowiQ1SrrFe0uIARalxlyxYzUtYX_P8tM7732dLM0fVNdNOiWlz8Hc39Tq-OWysl_jSnIDBSO0BpiYJ50&amp;amp;t=633465679977187500"
            type="text/javascript"></script>
    
    
        <script type="text/javascript">
    //<![CDATA[
    Sys.WebForms.PageRequestManager._initialize('ScriptManager2', document.getElementById('form1'));
    Sys.WebForms.PageRequestManager.getInstance()._updateControls([], [], [], 90);
    //]]>
        </script>
    
    
        
            <div id="ViewPort1_Container">
                <div id="NorthPanel_Content">
                    
                        <ul class="searchList">
                            <li>
                                Last Name
                                <br />
                                <div id="tfLastName_Container" style="display: inline;">
                                    <input name="tfLastName_Input" type="text" id="tfLastName_Input" value="ertle" />
                                
    
                            </li>
                            <li>
                                First Name
                                <br />
                                <div id="tfFirstName_Container" style="display: inline;">
                                    <input name="tfFirstName_Input" type="text" id="tfFirstName_Input" />
                                
    
                            </li>
                            <li>
                                Customer #
                                <br />
                                <div id="tfCustCD_Container" style="display: inline;">
                                    <input name="tfCustCD_Input" type="text" id="tfCustCD_Input" />
                                
    
                            </li>
                            <li>
                                Email
                                <br />
                                <div id="tfEmail_Container" style="display: inline;">
                                    <input name="tfEmail_Input" type="text" id="tfEmail_Input" />
                                
    
                            </li>
                            <li>&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp </li>
                            <li>
                                <br />
                                <div id="btnSearch_Container" style="display: inline;">
                                
    
                            </li>
                        </ul>
                        <br />
                        <br />
                        <div id="pnlResults">
                            
                                <table class="DataWebControlStyle" cellspacing="0" rules="all" border="1" id="GridView2"
                                    style="border-collapse: collapse;">
                                    <tr class="HeaderStyle">
                                        <th scope="col">
                                            &amp;nbsp;
                                        </th>
                                        <th scope="col">
                                            CUSTOMERCD
                                        </th>
                                        <th scope="col">
                                            FIRSTNAME
                                        </th>
                                        <th scope="col">
                                            LASTNAME
                                        </th>
                                        <th scope="col">
                                            ORGNAME
                                        </th>
                                        <th scope="col">
                                            CITY
                                        </th>
                                        <th scope="col">
                                            STATECD
                                        </th>
                                        <th scope="col">
                                            COUNTRY
                                        </th>
                                    </tr>
                                    <tr class="RowStyle">
                                        <td>
                                            <a href="__doPostBack('GridView2','Select$0')">Select</a>
                                        </td>
                                        <td>
                                            112449
                                        </td>
                                        <td>
                                            Steve
                                        </td>
                                        <td>
                                            Ertle
                                        </td>
                                        <td>
                                            Jay And Bee Enterprise Inc.
                                        </td>
                                        <td>
                                            Sewell
                                        </td>
                                        <td>
                                            NJ
                                        </td>
                                        <td>
                                            USA
                                        </td>
                                    </tr>
                                    <tr class="SelectedRowStyle">
                                        <td>
                                            <a href="__doPostBack('GridView2','Select$1')">Select</a>
                                        </td>
                                        <td>
                                            112452
                                        </td>
                                        <td>
                                            Stephen
                                        </td>
                                        <td>
                                            Ertle
                                        </td>
                                        <td>
                                            Aloha Communications
                                        </td>
                                        <td>
                                            Williamstown
                                        </td>
                                        <td>
                                            NJ
                                        </td>
                                        <td>
                                            USA
                                        </td>
                                    </tr>
                                    <tr class="RowStyle">
                                        <td>
                                            <a href="__doPostBack('GridView2','Select$2')">Select</a>
                                        </td>
                                        <td>
                                            185296
                                        </td>
                                        <td>
                                            Jason
                                        </td>
                                        <td>
                                            Ertle
                                        </td>
                                        <td>
                                            BICSI
                                        </td>
                                        <td>
                                            Tampa
                                        </td>
                                        <td>
                                            FL
                                        </td>
                                        <td>
                                            USA
                                        </td>
                                    </tr>
                                </table>
                            
    
                        
    
                        <br />
                    
    
                
    
                <input name="NorthPanel_Collapsed" type="hidden" id="NorthPanel_Collapsed" value="False" />
                <div id="ProfileTab_Content" class="x-hide-display">
                    <table cellspacing="0" border="0" id="FormView1" style="border-collapse: collapse;">
                        <tr>
                            <td colspan="2">
                                <div id="FormView1_fsName_Container">
                                    <div id="FormView1_fsName_Content">
                                        CUSTOMERCD 
                                                112452<br />
                                        PREFIX
                                        <div id="FormView1_PREFIXTextBox_Container" style="display: inline;">
                                            <input name="FormView1$PREFIXTextBox_Input" type="text" id="FormView1_PREFIXTextBox_Input" />
                                        
    
                                        <br />
                                        FIRSTNAME
                                        <div id="FormView1_FIRSTNAMETextBox_Container" style="display: inline;">
                                            <input name="FormView1$FIRSTNAMETextBox_Input" type="text" id="FormView1_FIRSTNAMETextBox_Input" />
                                        
    
                                        <br />
                                        MIDDLENAME
                                        <div id="FormView1_MIDDLENAMETextBox_Container" style="display: inline;">
                                            <input name="FormView1$MIDDLENAMETextBox_Input" type="text" id="FormView1_MIDDLENAMETextBox_Input" />
                                        
    
                                        <br />
                                        LASTNAME
                                        <div id="FormView1_LASTNAMETextBox_Container" style="display: inline;">
                                            <input name="FormView1$LASTNAMETextBox_Input" type="text" id="FormView1_LASTNAMETextBox_Input" />
                                        
    
                                        <br />
                                        PREFNAME
                                        <div id="FormView1_PREFNAMETextBox_Container" style="display: inline;">
                                            <input name="FormView1$PREFNAMETextBox_Input" type="text" id="FormView1_PREFNAMETextBox_Input" />
                                        
    
                                        <br />
                                        SUFFIX
                                        <div id="FormView1_SUFFIXTextBox_Container" style="display: inline;">
                                            <input name="FormView1$SUFFIXTextBox_Input" type="text" id="FormView1_SUFFIXTextBox_Input" />
                                        
    
                                        <br />
                                    
    
                                
    
                                <div id="FormView1_fsEmp_Container">
                                    <div id="FormView1_fsEmp_Content">
                                        ORGNAME:
                                        <div id="FormView1_ORGNAMETextBox_Container" style="display: inline;">
                                            <input name="FormView1$ORGNAMETextBox_Input" type="text" id="FormView1_ORGNAMETextBox_Input" />
                                        
    
                                        <br />
                                        ORGCD:
                                        <div id="FormView1_ORGCDTextBox_Container" style="display: inline;">
                                            <input name="FormView1$ORGCDTextBox_Input" type="text" id="FormView1_ORGCDTextBox_Input" />
                                        
    
                                        <br />
                                        JOBTITLE:
                                        <div id="FormView1_JOBTITLETextBox_Container" style="display: inline;">
                                            <input name="FormView1$JOBTITLETextBox_Input" type="text" id="FormView1_JOBTITLETextBox_Input" />
                                        
    
                                        <br />
                                        DEPARTMENT:
                                        <div id="FormView1_DEPARTMENTTextBox_Container" style="display: inline;">
                                            <input name="FormView1$DEPARTMENTTextBox_Input" type="text" id="FormView1_DEPARTMENTTextBox_Input" />
                                        
    
                                        <br />
                                        INDUSTRY:
                                        <div id="FormView1_INDUSTRYTextBox_Container" style="display: inline;">
                                            <input name="FormView1$INDUSTRYTextBox_Input" type="text" id="FormView1_INDUSTRYTextBox_Input" />
                                        
    
                                        <br />
                                        OCCUPATIONCD:
                                        <div id="FormView1_OCCUPATIONCDTextBox_Container" style="display: inline;">
                                            <input name="FormView1$OCCUPATIONCDTextBox_Input" type="text" id="FormView1_OCCUPATIONCDTextBox_Input" />
                                        
    
                                        <br />
                                        WWWADDRESS:
                                        <div id="FormView1_WWWADDRESSTextBox_Container" style="display: inline;">
                                            <input name="FormView1$WWWADDRESSTextBox_Input" type="text" id="FormView1_WWWADDRESSTextBox_Input" />
                                        
    
                                        <br />
                                    
    
                                
    
                                <div id="FormView1_Update_Container" style="display: inline;">
                                
    
                                <div id="FormView1_btnCancel_Container" style="display: inline;">
                                
    
                            </td>
                        </tr>
                    </table>
                
    
                <input name="ProfileTab_Collapsed" type="hidden" id="ProfileTab_Collapsed" value="False" />
                <input name="CenterTabPanel_ActiveTab" type="hidden" id="CenterTabPanel_ActiveTab" />
                <input name="CenterPanel_Collapsed" type="hidden" id="CenterPanel_Collapsed" value="False" />
            
    
        
    
        
            <input type="hidden" name="__VIEWSTATEENCRYPTED" id="__VIEWSTATEENCRYPTED" value="" />
            <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="JkXUB2TGV0WIXXPq4ljHL2wcslP9F+D0Bj2HBnzH/wHEHdd0/3tXFibI/xi89rCCUC1xykl5dpxd7IsRx0zD0KYI6FuzZzps/3Z7V5CANqxYMRZNJDao147ugBfI7s3d7BSg/OXZptiv6ovCIkGJqdcD3mvQWrM7NnkuGaVPUXrhUfs1ROTmbJEve7zzs5EaO00r/SwJybhdJas7IaT0vw==" />
        
    
    
    
        <script type="text/javascript">
    //<![CDATA[
    Sys.Application.initialize();
    //]]>
        </script>
    
    
        </form>
    </body>
    </html>
    Last edited by Baidaly; Nov 28, 2012 at 3:58 AM. Reason: [FIXED]
  2. #2

    RE: [ACCEPTED] 0.5.3 Breaks Fieldsets

    I think I know what's happening, although not why. There's something about the page lifecycle when binding the FormView control that causes one of the FieldSet events (Page_LoadComplete) to not fire (or fires too late). The Page_LoadComplete is where the hidden <input> field is added.

    This is going to take some time to test and to try and figure out another solution.

    As a temp work-around, you can add a hidden <input> field to your Page with an ID of "FormView1_fsName_Collapsed".

    Or, change the StateProvider property on the ScriptManager to "None".

    Thanks for reporting the bug.
    Geoffrey McGill
    Founder
  3. #3

    RE: [ACCEPTED] 0.5.3 Breaks Fieldsets

    Thanks for the quick response!

    The hidden input works. What are the ramifications from setting state provider to none? Will that apply only to ext object/controls?

    Great work on everything! I can't wait for the data controls :)
  4. #4

    RE: [ACCEPTED] 0.5.3 Breaks Fieldsets

    I just reread your post and I wanted to clarify that with the exact same page that fieldsets within formviews work with 0.5.2.

    The issues I had with 0.5.2 were my result gridview would disappear whenever a row was selected and I could not run the same search consecutively. Those do work now though.

    Not sure if that helps...
  5. #5

    RE: [ACCEPTED] 0.5.3 Breaks Fieldsets



    I must apologize. Updates with formviews and fieldsets were not working with 0.5.2. The page showed the updated values but the DB was never updated... drrrrr ;) sorry for any confusion I may have caused.


    Do you have a paypal donation account setup?

Similar Threads

  1. [CLOSED] [#105] Window constrain w/ collapsed Fieldsets
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Mar 07, 2013, 1:08 PM
  2. [FIXED] [2.0] DateField Problem
    By MrMp3 in forum Bugs
    Replies: 3
    Last Post: Dec 12, 2012, 5:07 AM
  3. [CLOSED] ColumnLayout Style issues with FieldSets
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Aug 02, 2010, 4:38 PM
  4. [CLOSED] [1.0] FieldSets and Checkbox
    By state in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: May 20, 2010, 6:59 PM
  5. Draggable Fieldsets?
    By jlertle in forum 1.x Help
    Replies: 0
    Last Post: Jul 03, 2008, 12:18 AM

Posting Permissions