ASPxGridView POST timeout

Posted by Jo Asakura on Stack Overflow See other posts from Stack Overflow or by Jo Asakura
Published on 2010-02-17T12:10:59Z Indexed on 2010/03/23 2:01 UTC
Read the original article Hit count: 888

Filed under:
|
|

Hello all,

I have a ASPxGridView with DetailRow in this row there are three additional ASPxGridViews. Each detail ASPxGridView contains EmptyDataRow templates with link to create a new row:

<a href="javascript:gridViewDetails1.AddNewRow();">AddNewRecord</a>

When master ASPxGridView rows is 1 or 2 then new rows in detail grids adding fine, but if in master ASPxGridView rows about 10 or more then when I clicking on detail grids link to add new row the loading panel appers for unlimited time and FireBug->Net shows that status of POST is timeout and time is about 1 sec.

How can I repair it?

To AGoodDisplayName:

are the detail row gridviews bound to anything?

yes of course, inside the details row of master gridView there are 3 another gridView and each of them have a separate ObjectDataSource.

Are you expanding more than row at a time?

No, I have only one row at time:

AllowOnlyOneMasterRowExpanded="true"

Can we see some of the mark up?

Yep:

<asp:ObjectDataSource ID="dsMaster" runat="server" TypeName="..." SelectMethod="...">
</asp:ObjectDataSource>
<dxwgv:ASPxGridView ID="gridViewMaster" ClientInstanceName="gridViewMaster" runat="server" DataSourceID="dsMaster">
    <Templates>
        <DetailRow>
            <%--first of details gridView--%>
            <asp:ObjectDataSource ID="dsDetail1" runat="server" TypeName="..." SelectMethod="...">
            </asp:ObjectDataSource>
            <dxwgv:ASPxGridView ID="gridViewDetail1" ClientInstanceName="gridViewDetail1" runat="server" DataSourceID="dsDetail1">
                <Templates>
                    <EmptyDataRow>
                        <a href="javascript:gridViewDetail1.AddNewRow();">AddNewRecord</a>
                    </EmptyDataRow>
                </Templates>
            </dxwgv:ASPxGridView>
            <%--next others detail gridViews--%>
        </DetailRow>
    </Templates>
</dxwgv:ASPxGridView>

© Stack Overflow or respective owner

Related posts about aspxgridview

Related posts about timeout