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

RadAjaxManager slows down the load of a Radwindow from a user control

3 Answers 86 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jürgen
Top achievements
Rank 1
Jürgen asked on 23 Nov 2010, 12:13 PM
Hi,
In our application we got a webform with 7 tabpages  (telerik:RadTabStrip -> telerik:RadMultiPage).
For each tabpage we created a usercontrol.
On one of the tabpages is a button for opening a radwindow.
At the beginning it took 3 seconds to open this window.
After installing the RadAjaxManager on the webform and the RadAjaxManagerProxy on the usercontrol-tabpage
it slows down to 9 seconds.

Between the servside eventhandler of the button-click :

        protected void btnProductDataSelectRefMRDRNr_Click(object sender, EventArgs e)<br>        {<br>            RadWindowManager_ProductData.Windows[0].VisibleOnPageLoad = true;<br>        }



And the Page_load Event of the Radwindow :

    <telerik:RadWindowManager ID="RadWindowManager_ProductData" runat="server" <br>        Animation="FlyIn" VisibleStatusbar="False" Behavior="None" BorderStyle="None" KeepInScreenBounds="True" Skin="Telerik"><br>        <windows><br>            <telerik:RadWindow ID="RadWindowselectMRDR" runat="server" ShowContentDuringLoad="false" <br>                Width="1200px" Height="540px" Title="select MRDR" Behaviors="Close,Move" VisibleStatusbar="false"<br>                OnClientClose="OnWindowClose" Modal="True" NavigateUrl="SelectMRDR.aspx"><br>            </telerik:RadWindow><br>        </windows><br>    </telerik:RadWindowManager>  

 
It slows down from 2 to 8 seconds.

Thanks for any help,
Juergen

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 25 Nov 2010, 03:33 PM
Hello Jürgen,

The RadAjaxManager control allows you to easily create settings that update many controls on the page. Having a large number of updated controls can both help with a performance problem by rendering smaller portions of the page and worsen the situation by triggering unnecessary DOM layout updates. Dealing with such a performance problem will require actions specific for the current scenario. Refer to the following help topic which elaborates on this matter and see if it helps:
http://www.telerik.com/help/aspnet-ajax/ajxclientsideperformance.html

Additionally, to improve the performance we recommend choosing RenderSelectedPageOnly = true for RadMultiPage, set AutoPostBack = true for the tabstrip and ajaxify the tabstrip and the multipage via RadAjaxManager. Thus only the active page view will be loaded at a time.
 
Give these suggestions a try and let me know if they help in reducing the loading and rendering time of the page.

Regards,
Pavlina
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Jürgen
Top achievements
Rank 1
answered on 26 Nov 2010, 10:53 AM
Dear Pavlina,
thanks for your tipps, but the problem still exists.
Now it renders only the selected tab.
But the time lag between with or without Ajaxmanager is still 5 seconds.

Any additional idea ?

kind regards,
Juergen
0
Pavlina
Telerik team
answered on 26 Nov 2010, 05:18 PM
Hello Jürgen,

Useful tips on how to optimize the RadControls performance are available in the links below and I am sure some of them will be of great help for your project.
Optimizing output, page load time and the overall performance of RadControls for ASP.NET AJAX
Optimizing client-side performance
RadControls for ASP.NET AJAX - Top Performance

Please give them a try and let me know if the issue still persists.

Kind regards,
Pavlina
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
General Discussions
Asked by
Jürgen
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Jürgen
Top achievements
Rank 1
Share this question
or