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>