This is a migrated thread and some comments may be shown as answers.

NestedGrid Performance Issue

5 Answers 117 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Param Eswaran
Top achievements
Rank 1
Param Eswaran asked on 04 May 2010, 04:11 PM
Dear Telerik,
            I have performance issue in my NestedGrid, loading very slowly . We followed some of the performance tips given by Telerik Forum but still the problem exists.

I am having the parent grid and it has four nested grids. Each nested grid placed in each tab section with the help of multipage.
 
As per the Telerik direction I used to bind each child grid through its own NeedDataSource event. So that it may not disturb with other grids event. SInce i set the AutoPostBack=true in RadTabStrip tag and RenderSelectedPageOnly="true" in RadMultiPage tag section, i am not bother bother about invoking each child grids NeedDataSource event. It will handle automatically as i expected. I followed following ASPX code to achieve this scenario:
  <NestedViewTemplate> 
                        <asp:Panel runat="server" ID="InnerContainer" Visible="false"
                            <telerik:RadTabStrip runat="server" AutoPostBack="true" ID="TabStip1" MultiPageID="Multipage1" SelectedIndex="0"
                                <Tabs> 
                                    <telerik:RadTab runat="server" Text="Users" PageViewID="UserPage"
                                    </telerik:RadTab> 
                                     <telerik:RadTab runat="server" Text="Prefills" PageViewID="PrefillPage"
                                    </telerik:RadTab> 
                                </Tabs> 
                            </telerik:RadTabStrip> 
                            <telerik:RadMultiPage runat="server" ID="Multipage1" SelectedIndex="0" RenderSelectedPageOnly="true"
                                <telerik:RadPageView runat="server" ID="UserPage">   

But we are not able to improve the loading speed of grid for the operations like grid expanding,grouping,EditPop Window closing etc..
So guide us to what are the steps still we have to be taken to control the speed of application.

-Thanks




5 Answers, 1 is accepted

Sort by
0
Param Eswaran
Top achievements
Rank 1
answered on 05 May 2010, 09:25 AM
Hi,
    The loading time mainly takes  during each tab selected and invoking the NeedDataSource event to bind relevant grid because of PostBack of each tab selected.

--Thanks

0
Param Eswaran
Top achievements
Rank 1
answered on 06 May 2010, 03:18 PM
Dear Telerik,
                        Please do the needful for performance issue. The page loading time gradually increased mainly  if i expanded at-least five to seven parent grid items and click the Tab to view corresponding child grid or invoking edit popup to any of expanded child grid item.

I assume the problem mainly occurs if tab is clicked or EditPop invokes, then the grid itself calling the pre_render event of all child grid if its tab is focused.
The pre_render event fires as much of time to the number of the parent items is expanded. Suppose,If two parent item expanded it fires for two time for the corresponding tab focused grid.

Since our application needs better performance to work over, kindly suggest me best possible ways to resolve the the above issue.

--Thanks

0
Pavlina
Telerik team
answered on 06 May 2010, 04:16 PM
Hello Param,

Useful tips on how to optimize your page performance are available in the articles below:
Optimizing output, page load time and the overall performance of RadControls for ASP.NET AJAX
Client/server grid performance optimizations
http://www.telerik.com/products/aspnet-ajax/resources/top-performance.aspx
Hierarchy load modes

I hope this information helps.

Regards,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Param Eswaran
Top achievements
Rank 1
answered on 07 May 2010, 10:50 AM
Hello Pavlina,
                   For your kind information, we already followed the above mentioned help links and applied the performance tips like
GridTableView.HierarchyLoadMode
Tab:AutoPostBack
Multipage: RenderSelectedPageOnly
Ajaxified tabstrip and the multipage via RadAjaxManager.................etc.

We avoided ViewState since it is required for grouping, hierarchical views expand/collapse, custom edit forms (WebUserControl and FormTemplate) or filtering.

But the loading time still persists in my application without any change. As i mentioned above the page loading time mainly strikes when i expanded more than 5 to 6 parent items and doing the operations like invoking edit popup of child grid or selecting the Tab to view child grid information.

So please do the helpful suggestions to overcome the issue, we are also able to provide our application code for your reference which may help you to find out the solution as easily as possible.

Looking forward for your guidence

-Thanks
0
Pavlina
Telerik team
answered on 07 May 2010, 12:45 PM
Hello Param,

I will appreciate if you assemble a working subset of your project, illustrating the performance issue, and send it attached to a formal support ticket. We will examine your complete code logic carefully and will get back to you with our findings.

Kind regards,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Param Eswaran
Top achievements
Rank 1
Answers by
Param Eswaran
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or