[CLOSED] mysterious server error about deserializing object in v2.1

Page 1 of 3 123 LastLast
  1. #1

    [CLOSED] mysterious server error about deserializing object in v2.1

    I will the mysterious error that popup when switching to v2.1. It is about a gridpanel selection in the postback but I'm not sure which event that generate that postback. With the same code this does not appear in v2.0

    
    Server Error in '/' Application.
    --------------------------------------------------------------------------------
    
    Unexpected end when deserializing object. Path '[0]', line 1, position 2. 
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    
    Exception Details: Newtonsoft.Json.JsonSerializationException: Unexpected end when deserializing object. Path '[0]', line 1, position 2.
    
    Source Error: 
    
    
    Line 320:                StringReader sr = new StringReader(val);
    Line 321:
    Line 322:                this.selectedRows = (SelectedRowCollection)serializer.Deserialize(sr, typeof(SelectedRowCollection));
    Line 323:            }
    Line 324:
     
    
    Source File: C:\ExtNetSource2.1\Ext.Net\Ext\Selection\RowSelectionModel.cs    Line: 322 
    
    Stack Trace: 
    
    
    [JsonSerializationException: Unexpected end when deserializing object. Path '[0]', line 1, position 2.]
       Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CheckedRead(JsonReader reader) +56
       Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) +33
       Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) +98
       Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IWrappedCollection wrappedList, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) +723
       Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) +193
       Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) +125
       Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) +462
       Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) +405
       Newtonsoft.Json.JsonSerializer.Deserialize(TextReader reader, Type objectType) +44
       Ext.Net.RowSelectionModel.LoadPostData(String postDataKey, NameValueCollection postCollection) in C:\ExtNetSource2.1\Ext.Net\Ext\Selection\RowSelectionModel.cs:322
       Ext.Net.RowSelectionModel.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) in C:\ExtNetSource2.1\Ext.Net\Ext\Selection\RowSelectionModel.cs:266
       System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +9046758
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +878
    
     
    
    
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
    Last edited by Daniil; Jul 27, 2012 at 4:01 PM. Reason: [CLOSED]
  2. #2
    Hi,

    I am unable to reproduce.

    Please provide the GridPanel configuration.
  3. #3
    I tried my best to create a simple version by trace all the events and simulating that, but no success, the error didn't popup... and it is not possible to send the source code....

    However i've figured out the pattern of that is after I loaded the grid with data and some selections, I refresh the page with the browser's refresh button, then load the grid data and selection again and then the error popup....I've been scratching my head and have no idea....
  4. #4
    I just need the GridPanel and SelectionModel configuration for the beginning.
  5. #5
    I've managed to get more info about this issue:

    The postCollection variable contains this:

    postCollection = {submitDirectEventConfig=%7b%22config%22%3a%7b%22v iewStateMode%22%3a%22enabled%22%2c%22extraParams%2 2%3a%7b%22score%22%3a50%7d%7d%7d&ucPCPanel_cpcPane l_cboClientName=CHRISTODOULOU+MR.+G&_ucPCPanel_cpc Panel_cboClientName_state=%5b%7b%22value%22%3a6488 39%2c%22text%22%3a%22CHRISTODOULOU+MR.+G%22%2c%22i ndex%22%3a0%7d%5d&ucPCPanel_cpcPanel_txtBanker=Ada ms+RY+Mr&ucPCPanel_cpcPanel_txtAdviser=CH+Ip&Email =greg%40mrfuntubbles.co.za&ucPCPanel_cpcPanel_txtI D=6707315071088&ucPCPanel_cpcPanel_txtCellPhone=83 7002888&ucPCPanel_cpcPanel_txtBusPhone=7272500&ucP CPanel_cpcPanel_txtResPhone=7272590&ucPCPanel_cpcP anel_hdnClientID=648839&ucPCPanel_invPanel_ExtInvS electionModel=%5b%7b&ucPCPanel_invPanel_ProposedIn vSelectionModel=%5b%7b&ucPCPanel_TabPanel2=ucPCPan el_pnlInvestment%3a2&__EVENTTARGET=ResourceManager 1&__EVENTARGUMENT=ucPCPanel_invPanel_piiControl%7c public%7cUpdateDefaultScore&__VIEWSTATE=...}




    and

    this.ConfigID = "ucPCPanel_invPanel_ExtInvSelectionModel"

    which is the ID of the SelctionModel, and which has the value:

    val = "[{"

    That is why when it tried to Deserialize it complains at line 1 position 2 because it is not a proper object.

    The question is how the SelectionModel gets that value of just "[{" ???

    are some characters not escaped properly ?
  6. #6
    Thanks. Here is my grid panel code:

         <ext:GridPanel ID="gdpExtInv" runat="server" Selectable="true"   >
                       
                           <View>
                            <ext:GridView ID="GridView1" runat="server" LoadMask="true" LoadingText="Loading..." />
                        </View>
                          <Store>
                            <ext:Store ID="strExtInv" runat="server"  >   
                          <%--   <Listeners>
                                <Refresh  Handler="Ext.net.Bus.publish('App.Change.Investments.Existing');"></Refresh>
                            </Listeners>     --%>                   
                                <Model>
                                    <ext:Model ID="Model1" runat="server"  IDProperty="objectID">
                                        <Fields>
                                        
                                            <ext:ModelField Name="objectID"  />
                                            <ext:ModelField Name="productName"  />
                                            <ext:ModelField Name="contractID" />
                                            <ext:ModelField Name="investAmount" Type="Float"  />
                                            <ext:ModelField Name="productType"  />
                                            <ext:ModelField Name="source"  />
                                            <ext:ModelField Name="isListed" Type="Boolean"  />
                                            <ext:ModelField Name="selected" Type="Boolean"  />
                                            
                                        </Fields>
                                    </ext:Model>
                                </Model>
                                
                            </ext:Store>
                        </Store>
                          <ColumnModel ID="ColumnModel2" runat="server">
    		                  <Columns>
                       
                                <ext:Column ID="Column1" runat="server" Text="Product"  DataIndex="productName" Flex="1">                      
                                </ext:Column>
                              
                                <ext:SummaryColumn ID="SummaryColumn1" runat="server" Text="Amount" Width="90" DataIndex="investAmount" SummaryType="Sum">                               
                                   <SummaryRenderer Handler="return  Ext.util.Format.number(value, '0,000.00');"  ></SummaryRenderer>
                                  
                                </ext:SummaryColumn>
                                  <ext:Column ID="Column5" runat="server" Text="Source"  DataIndex="source"  Width="80">                      
                                </ext:Column>
                                  <ext:CheckColumn ID="isListedCol" runat="server" Text="Listed"  DataIndex="isListed" Width="40"  >                      
                                </ext:CheckColumn>
    
    
                                <ext:Column ID="Column3" runat="server" Text="Product Type" Width="90" DataIndex="productType">
                            
                                </ext:Column>
    		                </Columns>
                        </ColumnModel>
                         <Features>               
                            <ext:Summary ID="Summary2" runat="server" />                   
                        </Features>      
                        <SelectionModel>
                            <ext:CheckboxSelectionModel ID="ExtInvSelectionModel" runat="server" Mode="Multi" >
                                <Listeners>
                                    <SelectionChange Handler="#{DirectMethods}.updateExtInvSelection();" Buffer="1500"></SelectionChange>
                                </Listeners>
                            </ext:CheckboxSelectionModel>
                        </SelectionModel>            
                        <Buttons>
                            <ext:Button Icon="Add" ID="Button1" Text="Add New" runat="server" >
                                <Listeners>
                                 <%-- <Click Handler="#{winExistingInvestmentsItem}.show()" />--%>
                                 <Click Handler="#{DirectMethods}.showExistingInvestmentItemWin()" />
                                  
                                 </Listeners>
                            
                            </ext:Button>
                             <ext:Button Icon="Pencil"  ID="Button2" Text="Edit" runat="server" ></ext:Button>
                            <ext:Button Icon="Delete"  ID="Button3" Text="Remove Selected" runat="server" >
                            
                              <DirectEvents>
                                <Click OnEvent="ExtInvDelete_Click">
                                    <EventMask ShowMask="true" />
                                </Click>
                             </DirectEvents>
                            
                            </ext:Button>
                           
                        </Buttons>
                        </ext:GridPanel>
  7. #7
    Thanks for the POST collection (I wanted to request it as well) and the sample.

    Regarding the POST collection.

    this.ConfigID = "ucPCPanel_invPanel_ExtInvSelectionModel"
    
    which is the ID of the SelctionModel, and which has the value:
    
    val = "[{"
    I can't see the "ucPCPanel_invPanel_ExtInvSelectionModel" key in the post collection. Can you confirm there is no such key?

    Also could you replace
    _VIEWSTATE=<all long text here>
    with just
    __VIEWSTATE=...
    Just its value is not helpful, but covers about 8 (!) screens.

    Regarding the sample.

    Unfortunately, it didn't help to reproduce the problem.
  8. #8
    Hi

    I've removed all the data for the viewstate. The ID:
    ucPCPanel_invPanel_ExtInvSelectionModel
    is in the code but it looks like that because I used that inside an user control ASCX and it changed the prefix the ID with the parent components.....

    I think the most important thing is how can an incomplete json object in the variable....

    Chris
  9. #9
    Quote Originally Posted by CarpFisher View Post
    I think the most important thing is how can an incomplete json object in the variable....
    Yes, absolutely, but, repeat myself, I just did not see that in the post collection. Now I have found, there is just a white space in ID which doesn't allow to find that using the browser search.

    I have no idea for now why it might happen.

    Maybe this technique could help you to prepare a sample.
    http://forums.ext.net/showthread.php...ll=1#post56687

    You could replace any private data with some dummy data.
  10. #10
    after struggling for days and many sleepless nights I managed to trim down 99% of my code to the following files:

    default.aspx
    <%@ Page Language="C#"  ValidateRequest="false" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <%@ Register TagPrefix="uc" TagName="PCPanel" Src="~/PortforlioConstructionPanel.ascx" %>
    
    
    <!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">
        <title></title>
        
    </head>
    <body>
     <form id="form1" runat="server">
       
        <ext:ResourceManager ID="ResourceManager1" runat="server"  />
            
        
     <ext:Viewport ID="Viewport1" runat="server" Layout="border">
    
      
         <Items>
         
         
           
             <ext:Panel ID="pnlMain" runat="server"  Region="Center" Border="false" Layout="FitLayout" >
             <Items>
                <ext:Panel ID="pnlPCMain" runat="server" Visible="true" Layout="FitLayout">
                       <Content>
                            <uc:PCPanel runat="server" ID="ucPCPanel" />
                         </Content>
                 </ext:Panel>
            
             </Items> 
    
    
    
                 
             </ext:Panel>
                
         </Items>
     </ext:Viewport>
     
        </form>
    </body>
    </html>

    ClientProfileControl.ascx

    <%@ Control Language="C#"  %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
        {
            var qList = new[] {
                       new  {
                           FullName="10",
                           clientID="a",
                          
                           clientCIF="b"
                         
                       },
                       new {
                             FullName="2",
                           clientID="b",
                          
                           clientCIF="c"
                       },
                       new {
                            FullName="3",
                           clientID="d",
                          
                           clientCIF="e"
                       }
                   };
    
            this.Store3.Data = qList;
    
    
    
        }
    
        [DirectMethod(ViewStateMode = Ext.Net.ViewStateMode.Enabled)]
        public void saveClientProfile()
        {
    
    
            MessageBus.Default.Publish("App.Change.ClientProfile", "1");
            X.Msg.Notify("", "User:" + cboClientName.Text + " Loaded Successfully").Show();
    
    
    
    
        }
    
      
    </script>
    
    
    
                                  <ext:FormPanel 
            ID="FormPanel1" 
            runat="server"
            Title="Client Details"     
            Collapsible="true" 
            BodyPadding="10"
          >
            <Items>
            
                
                    <ext:ComboBox ID="cboClientName" 
                     FieldLabel="User Name"
                    runat="server" 
                    DisplayField="FullName" 
                    ValueField="clientID"                
                    TypeAhead="false"               
                    Width="570"
                    PageSize="10"
                    HideBaseTrigger="true"
                    MinChars="1"
                    AllowBlank="false"  >
                     <ListConfig  LoadingText="Searching...">
                        <ItemTpl ID="ItemTpl1" runat="server">
                            <Html>
                               <div class="search-item">
    							 <h3><span>{FullName}</span></h3>
    							 ({clientCIF})
    						  </div>
                            </Html>
                        </ItemTpl>
                    </ListConfig>
    
                    <Store>
                        <ext:Store ID="Store3" runat="server" AutoLoad="false">
                           
                            <Model>
                                <ext:Model ID="Model3" runat="server">
                                    <Fields>
                                        <ext:ModelField Name="FullName" />
                                        <ext:ModelField Name="clientID" />
                                        <ext:ModelField Name="clientCIF" />                                   
                                    </Fields>
                                </ext:Model>                            
                            </Model>
                        </ext:Store>
                     </Store>
                   
                </ext:ComboBox>  
    
            
                
            </Items>
                <Buttons>
               
                <ext:Button ID="btnCreate" runat="server" Text="Create Profile" >
                   <Listeners>
                    <Click Handler="#{DirectMethods}.saveClientProfile({                  
                        eventMask: {
                            showMask: true                        
                        }
                    });" ></Click>
                   </Listeners>
                </ext:Button>
                
            
            </Buttons>
        
        </ext:FormPanel>
      
         <ext:Hidden runat="server" ID="hdnClientID" Text="" >
                  </ext:Hidden>

    InvestmentControl.ascx
    <%@ Control Language="C#"  %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <script runat="server">
        [DirectMethod]
        public void loadProductList()
        {
            loadProposedProducts();
            loadExistingInvestments();
    
        }
    
        [DirectMethod]
        public void loadProposedProducts()
        {
    
            Random r = new Random();
    
            var qList = new[] {
                       new  {
                           proposedProductID="1",
                           productName="a",
                           investAmount=r.Next(100),
                           productType="b",
                           investmentType="d",
                           selected=true
                       },
                       new {
                             proposedProductID="2",
                           productName="f",
                           investAmount=r.Next(100),
                           productType="g",
                           investmentType="h",
                           selected=true
                       },
                       new {
                             proposedProductID="3",
                           productName="i",
                           investAmount=r.Next(100),
                           productType="j",
                           investmentType="k",
                           selected=false
                       }
                   };
    
    
            this.strProposedInv.Data = qList;
    
            this.strProposedInv.DataBind();
    
            ProposedInvSelectionModel.SelectedRows.Clear();
    
    
    
            if (qList != null)
            {
                foreach (var p in qList.Where(o => o.selected == true))
                {
                    ProposedInvSelectionModel.SelectedRows.Add(new SelectedRow(p.proposedProductID));
                }
    
            }
            ProposedInvSelectionModel.UpdateSelection();
    
    
            if (qList.Count() > 0)
            {
                try
                {
                    Ext.Net.Panel p = this.Parent.Parent as Ext.Net.Panel;
                    p.Icon = Icon.Accept;
                }
                catch
                {
    
                }
            }
            else
            {
                try
                {
                    Ext.Net.Panel p = this.Parent.Parent as Ext.Net.Panel;
                    p.Icon = Icon.Cancel;
                }
                catch
                {
    
                }
            }
    
    
        }
    
    
        [DirectMethod]
        public void loadExistingInvestments()
        {
    
            Random r = new Random();
    
            var qList = new[] {
                       new  {
                           objectID="1",
                           productName="a",
                           investAmount=r.Next(100),
                           productType="b",
                           investmentType="d",
                           selected=true
                       },
                       new {
                             objectID="2",
                           productName="f",
                           investAmount=r.Next(100),
                           productType="g",
                           investmentType="h",
                           selected=true
                       },
                       new {
                             objectID="3",
                           productName="i",
                           investAmount=r.Next(100),
                           productType="j",
                           investmentType="k",
                           selected=false
                       }
                   };
    
    
    
            this.strExtInv.Data = qList;
    
            this.strExtInv.DataBind();
    
    
            ExtInvSelectionModel.SelectedRows.Clear();
    
    
            if (qList != null)
            {
                foreach (var p in qList.Where(o => o.selected == true))
                {
                    ExtInvSelectionModel.SelectedRows.Add(new SelectedRow(p.objectID));
    
                }
    
            }
            ExtInvSelectionModel.UpdateSelection();
    
    
        }
    
    
        [DirectMethod()]
        public void publish()
        {
    
            MessageBus.Default.Publish("App.Change.ClientProfile", "1");
    
    
        }
        
    </script>
    
    <ext:Panel ID="pnlInvControl" runat="server"  Layout="FitLayout"   >
    <MessageBusListeners>
    <ext:MessageBusListener Name="App.Change.ClientProfile" Handler="#{DirectMethods}.loadProductList();" />
     </MessageBusListeners>
    
        <Items>
    <ext:portal runat="server"  >
        <Items>
            <ext:PortalColumn runat="server" StyleSpec="padding:10px 5px 10px 10px" ColumnWidth="0.5" Layout="anchor" DefaultAnchor="100%" >
                <Items>
                 
                      <ext:Portlet ID="pltExtInv" runat="server" Title="Existing Investments" Padding="5" Height="450" > 
                    <Items>
                        <ext:GridPanel ID="gdpExtInv" runat="server" Selectable="true"   >
                       
                           <View>
                            <ext:GridView ID="GridView1" runat="server" LoadMask="true" LoadingText="Loading..." />
                        </View>
                          <Store>
                            <ext:Store ID="strExtInv" runat="server"  >   
                                  
                                <Model>
                                    <ext:Model ID="Model1" runat="server"  IDProperty="objectID">
                                        <Fields>
                                        
                                            <ext:ModelField Name="objectID"  />
                                            <ext:ModelField Name="productName"  />
                                            <ext:ModelField Name="contractID" />
                                            <ext:ModelField Name="investAmount" Type="Float"  />
                                            <ext:ModelField Name="productType"  />
                                            <ext:ModelField Name="source"  />
                                            <ext:ModelField Name="isListed" Type="Boolean"  />
                                            <ext:ModelField Name="selected" Type="Boolean"  />
                                            
                                        </Fields>
                                    </ext:Model>
                                </Model>
                                
                            </ext:Store>
                        </Store>
                          <ColumnModel ID="ColumnModel2" runat="server">
    		                  <Columns>
                       
                                <ext:Column ID="Column1" runat="server" Text="Product"  DataIndex="productName" Flex="1">                      
                                </ext:Column>
                              
                                <ext:SummaryColumn ID="SummaryColumn1" runat="server" Text="Amount" Width="90" DataIndex="investAmount" SummaryType="Sum">                               
                                   <SummaryRenderer Handler="return  Ext.util.Format.number(value, '0,000.00');"  ></SummaryRenderer>
                                  
                                </ext:SummaryColumn>
                                  <ext:Column ID="Column5" runat="server" Text="Source"  DataIndex="source"  Width="80">                      
                                </ext:Column>
                                  <ext:CheckColumn ID="isListedCol" runat="server" Text="Listed"  DataIndex="isListed" Width="40"  >                      
                                </ext:CheckColumn>
    
    
                                <ext:Column ID="Column3" runat="server" Text="Product Type" Width="90" DataIndex="productType">
                            
                                </ext:Column>
    		                </Columns>
                        </ColumnModel>
                         <Features>               
                            <ext:Summary ID="Summary2" runat="server" />                   
                        </Features>      
                        <SelectionModel>
                            <ext:CheckboxSelectionModel ID="ExtInvSelectionModel" runat="server" Mode="Multi" >
                             
                            </ext:CheckboxSelectionModel>
                        </SelectionModel>            
                      
                        </ext:GridPanel>
                    </Items>
                </ext:Portlet> 
    
                   
    
             
                </Items>
            </ext:PortalColumn>
            <ext:PortalColumn runat="server" StyleSpec="padding:10px 10px 10px 5px" ColumnWidth="0.5" Layout="anchor" DefaultAnchor="100%">
                <Items>
                <ext:Portlet ID="pltNewInv" runat="server" Title="Proposed Investments" Padding="5" Height="450">
                    <Items>
                        <ext:GridPanel ID="gdpNewInv" runat="server"  Selectable="true" >
                          <Store>
                            <ext:Store ID="strProposedInv" runat="server"  >
                        
                                <Model>
                                    <ext:Model ID="mdlProposedProduct" runat="server" IDProperty="proposedProductID">
                                        <Fields>
                                        
                                            <ext:ModelField Name="proposedProductID" Type="String" />
                                            <ext:ModelField Name="productName" Type="String" />
                                            <ext:ModelField Name="contractID"  Type="String"/>
                                            <ext:ModelField Name="investAmount" Type="Float"  />
                                            <ext:ModelField Name="productType"  Type="String"/>
                                            <ext:ModelField Name="investmentType"  Type="String"/>
                                               <ext:ModelField Name="selected" Type="Boolean"  />
                                        </Fields>
                                    </ext:Model>
                                </Model>
                            </ext:Store>
                        </Store>
                          <ColumnModel ID="ColumnModel1" runat="server">
    		                  <Columns>
                       
                                <ext:Column ID="Column2" runat="server" Text="Product"  DataIndex="productName" Flex="1">                      
                                </ext:Column>
                                <ext:SummaryColumn runat="server" Text="Invest Amount" Width="100" DataIndex="investAmount" SummaryType="Sum">                               
                                    <SummaryRenderer Handler="return  Ext.util.Format.number(value, '0,000.00');"  ></SummaryRenderer>
                                    
                                </ext:SummaryColumn>
                                <ext:Column ID="Column4" runat="server" Text="Product Type" Width="80" DataIndex="productType">
                            
                                </ext:Column>
                                <ext:Column ID="Column6" runat="server" Text="Type" Width="60" DataIndex="investmentType">
                            
                                </ext:Column>
    		                </Columns>
                        </ColumnModel>
                         <Features>               
                            <ext:Summary ID="Summary1" runat="server" />                   
                        </Features>      
                        <SelectionModel>
                            <ext:CheckboxSelectionModel ID="ProposedInvSelectionModel" runat="server" Mode="Multi" >
                            
                           
                           
                            </ext:CheckboxSelectionModel>
                        </SelectionModel>            
                     
                        </ext:GridPanel>
                    </Items>
                </ext:Portlet>
              
                </Items>
            </ext:PortalColumn>
         </Items>
    </ext:portal>
     </Items>
     <Buttons>
        <ext:Button Text="No Error here"  runat="server">
            <Listeners >
                <Click Handler="#{DirectMethods}.publish();"></Click>
            </Listeners>
        
        </ext:Button>
     </Buttons>
    </ext:Panel>



    PortforlioConstructionPanel.ascx

    <%@ Control Language="C#"   %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <%@ Register TagPrefix="cpc" TagName="clientProfileControl" Src="~/ClientProfileControl.ascx" %>
    <%@ Register TagPrefix="inc" TagName="investmentControl" Src="~/InvestmentControl.ascx" %>
    
    
    
    
    <ext:TabPanel id="TabPanel2" layout="FitLayout" runat="server" activetabindex="0"
        border="false">
    
                         <Items>
    
                          <ext:Panel   ID="pnlClientProfile" runat="server" Title="Client Profile" BodyPadding="5"  AutoScroll="true"  >
                      
                               <Content >
                                    <cpc:clientProfileControl runat="server" ID="cpcPanel"/>
    
                                  </Content>
                         </ext:Panel>
                          
                              <ext:Panel ID="pnlInvestment" runat="server" Title="Wealth Review"   Layout="FitLayout" Icon="Cog">
                                   <Content  >
                                    <inc:investmentControl runat="server" ID="invPanel" />
    
                                  </Content>
                             </ext:Panel>
                         
                        
                         
                         </Items>
                     </ext:tabpanel>

    To reproduce the error, just type a letter in the user name box, choose the first one from the downdown list, click "create profile" button. Then click on the "Wealth Review" tab once. Now click back on the "Client profile" tab and click on the "create profile" button again you will get that error.

    It took me very very long time to pin point this up to this point and i think i can't reduce it further, as this error kind of appearing randomly with my full application. In this form it happen every time in IE8 and Chrome.

    Thank you very very much for your help
Page 1 of 3 123 LastLast

Similar Threads

  1. [CLOSED] HTML Object Tag: Error when mixed with EXT.NET
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 08, 2011, 8:39 AM
  2. Replies: 2
    Last Post: Jul 16, 2010, 11:59 AM
  3. Replies: 1
    Last Post: Jul 01, 2010, 7:09 AM
  4. [CLOSED] Grid AddRecord "Object Expected" Error
    By CMA in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 27, 2010, 8:32 AM
  5. Replies: 6
    Last Post: Aug 28, 2009, 12:19 PM

Posting Permissions