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

RadWindow Performance.

1 Answer 22 Views
Window
This is a migrated thread and some comments may be shown as answers.
Guhan
Top achievements
Rank 1
Guhan asked on 27 Sep 2013, 07:14 AM
Hi  ,
we are facing peformance issue with the Rad window.

We had a functionality on a page, with almost 4 text boxes and a grid with two columns , one with a checkbox column and another with a text column. The grid contains almost 1000 row. The page was loading pretty fast.
Based on our client requirement, he wanted to change the look and feel, and wanted the same functionality in model dialog in place of a page.
We put almost the same kind of look and feel inside a RadWindow with content template on a page, The Rad window takes nearly 20-25 sec to show up.

 

Version Details:Telerik.Web.UI
Runtime version :v4.0.30319
Version :2011.1.519.40


Please guide us regarding this.

Regards
Guhan.S

 

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 30 Sep 2013, 12:59 PM
Hello Guhan,

When a RadWindow with a ContentTemplate is first shown it has to move all the HTML the controls rendered in the DOM - from the original place to the popup element it renders with JavaScript in this moment. When you have 1000 rows this amounts to a lot of HTML and the browser simply needs time to do this. The older the browser, the poorer its performance will be.

What I can advise is that you create a separate page and load that in the RadWindow, because this will load it in an iframe and use the browser's rendering engine and avoid so many JavaScript DOM operations.


Regards,
Marin Bratanov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Window
Asked by
Guhan
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or