RadWindow Performance.

2 posts, 0 answers
  1. Guhan
    Guhan avatar
    1 posts
    Member since:
    Sep 2013

    Posted 27 Sep 2013 Link to this post

    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.


  2. Marin Bratanov
    Marin Bratanov avatar
    3908 posts

    Posted 30 Sep 2013 Link to this post

    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.

    Marin Bratanov
    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.
Back to Top