[CLOSED] Error loading Gridpanel Data

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Error loading Gridpanel Data

    Hi please offer some help with this error. Let me know if you require anymore information. I am attempting to load a gridpanel that uses the datastore name 'StoreDetailReport'. The gridpanel is located in the usercontrol which is being loaded dynamically.

    [HttpException (0x80004005): The control with ID 'ReportView_DetailReportView_StoreDetailReport' not found]
    Ext.Net.ResourceManager.RaisePostBackEvent(String eventArgument) +1083
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +13
    System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +175
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

  2. #2

    RE: [CLOSED] Error loading Gridpanel Data

    Hi Again,

    The attached sample produces the error. After the initial gridpanel is loaded, just click the green button in the first column and the error will be displayed. Looking forward to your reply.

  3. #3

    RE: [CLOSED] Error loading Gridpanel Data

    Hi,

    Please do not attach assemblies because Ext.Net is not public available yet
  4. #4

    RE: [CLOSED] Error loading Gridpanel Data

    Hi,

    The same problem as in the following topic
    http://forums.ext.net/showthread.php...9185-16-1.aspx


    You have to recreate user control on each request after first loading otherwise the toolkit cannot find the Store (the store uses PageProxy which initiates request to the page to retrieve the data)


    Please see solution from that topic
  5. #5

    RE: [CLOSED] Error loading Gridpanel Data

    Thanks a lot, that fixed it. Please could you tell me why the Gridpanel does not fit the en perfecttire panel in the code below. it fits perfecytly horizontally but there is alot of white space below the gridpanel.

    <ext:Panel ID="Panel1" runat="server" Frame="true"  Header="false" Title="Suppliers" Icon="Lorry">
        <Content>
            <ext:FitLayout ID="FitLayout1" runat="server">
                <Items>
                    <ext:GridPanel ID="GridPanelDetailReport" runat="server" StoreID="StoreDetailReport" Border="false">
                        <ColumnModel ID="ColumnModel1" runat="server">
                            <Columns>
                            </Columns>
                        </ColumnModel>
                        <LoadMask ShowMask="true" />
                        <SelectionModel>
                            <ext:RowSelectionModel ID="RowSelectionModel1" runat="server" SingleSelect="true" />
                        </SelectionModel>
                        
                           <View>
                                <ext:GroupingView  
                                    ID="GroupingViewDetailReport"
                                    HideGroupedColumn="false"
                                    runat="server" 
                                    ForceFit="false"
                                    StartCollapsed="true"
                                    EnableRowBody="true" />                                            
                           </View>
                           
                        <BottomBar>
                            <ext:PagingToolBar ID="PagingToolBarDetailReport" runat="server" PageSize="100" StoreID="StoreDetailReport">
                                <Listeners>
                                </Listeners>
                            </ext:PagingToolBar>
                         </BottomBar>                                                                     
                    </ext:GridPanel>
                </Items>
            </ext:FitLayout>
        </Content>
    </ext:Panel>
  6. #6

    RE: [CLOSED] Error loading Gridpanel Data

    Please mark this post as solved. I will open a new post for my last issue.

Similar Threads

  1. GridPanel Data loading problem
    By hmily6033 in forum 2.x Help
    Replies: 1
    Last Post: Jun 18, 2012, 11:24 PM
  2. Loading data in GridPanel from RefreshData event
    By huzzy143 in forum 1.x Help
    Replies: 8
    Last Post: Apr 10, 2012, 11:39 AM
  3. Replies: 5
    Last Post: Jun 13, 2011, 8:48 AM
  4. [CLOSED] LoadMask while loading huge data in gridpanel
    By Hari_CSC in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 26, 2010, 8:01 AM
  5. [CLOSED] GridPanel Loading with Large Data Set
    By bethc in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 28, 2009, 2:20 PM

Posting Permissions