How to Optimize the rendering speed of a ASP Ajax Page

Last post 07-06-2009 11:12 PM by Zhi-Qiang Ni - MSFT. 4 replies.

Sort Posts:

  • How to Optimize the rendering speed of a ASP Ajax Page

    07-03-2009, 11:10 PM
    • Member
      1 point Member
    • SG_himadri
    • Member since 04-28-2009, 6:14 AM
    • Posts 13

    Hi

    I am a new comer at ASP.net Ajax page. so am faceing some problems.

    I have a  ASP.net Ajax page where i use 3 ASP. dropdown List and

    3 cascading dropdown extender for those 3 dropdown list.

    when i call the page from server it takes long time for first time  rendering  compare to a normal aspx page containing three dropdown list.

    How can i optimize the download/rendering speed of a aspx page containing Ajax Controls.

    I need this help very bedly...Is there Any one who can help me..

    you can view the my page at   http://122.144.14.112/weberp/warehouse/finishgoodIn.aspx

  • Re: How to Optimize the rendering speed of a ASP Ajax Page

    07-04-2009, 3:11 AM
    • Contributor
      2,367 point Contributor
    • akhhttar
    • Member since 02-14-2007, 8:17 AM
    • Pakistan - Lahore
    • Posts 352

    Hi,

    You can optimized AJAX performance by enabling compression and caching in AJAX configurations, Please see http://forums.asp.net/p/1428340/3191965.aspx

    Thanks

    Muhammad Akhar Shiekh

    Lets resolve the problem together.

    Please remember to mark the appropriate replies as answer after your question is solved, thanks

    My Blog
  • Re: How to Optimize the rendering speed of a ASP Ajax Page

    07-04-2009, 2:48 PM
    • Star
      8,755 point Star
    • Pawan_Mishra
    • Member since 03-13-2008, 11:37 AM
    • Bangalore
    • Posts 1,280

    Hi

    If you are using 3.5 version of .net framework then you can use <CompositeScript> property of ScriptManager control to combine various scripts so that they are downloaded in one Http request . Actually having extender controls forces lots of js files to be downloaded from server . You can verify this by making use of tools like FireBug , web development helper etc. Set LoadScriptBeforeUI to false in Scriptmanager control decleration , set ScriptMode to false again in ScriptManager control.real performance benifit comes from asp.net ajax webservice , so try using it as much as possible .

    Regards
    Pawan Mishra

    Moving from Asp.Net to WPF and SilverLight .....

    .Net 360°
  • Re: How to Optimize the rendering speed of a ASP Ajax Page

    07-05-2009, 6:35 AM
    • Member
      1 point Member
    • SG_himadri
    • Member since 04-28-2009, 6:14 AM
    • Posts 13

    Thanks for reply

    But I am using ASP.net 2.0....

    That's Why i cannot use <CompositeScript> or toolkit Script manager

    I have made some change in web.config file like this

    <system.web.extensions>
        <scripting>
          <scriptResourceHandler enableCompression="true" enableCaching="true"/>
        </scripting>
      </system.web.extensions>

    I also set the LoadScriptBeforeUI='false' and scriptMode='Release' of Script Manager

    this three change made the page little faster...But it does not meet my desire

    Do you know any more technique for the subject metter

    Again thanks for Reply

    With Regards

    Himadri Das

    Software Engineer

    Akij Group, Dhaka, Bangladesh


  • Re: How to Optimize the rendering speed of a ASP Ajax Page

    07-06-2009, 11:12 PM
    Answer

    Hi Himadri Das,

    Glad to see your page is faster. Please refer to my partner's blog:http://lancezhang.wordpress.com/2008/11/15/aspnet-ajax-performance/

    You will find the detailed description about how to improve the Ajax performance.

    In addition, the CascadingDropDown's render stage won't cost much time unless there are many CascadingDropDown extenders or the ServiceMethods of them are too complicated.

    Please refer to the tutorials of CascadingDropDown, maybe these can improve the service method's efficiency.

    http://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-14-cs.aspx
    http://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-15-cs.aspx
    http://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-16-cs.aspx
    http://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-17-cs.aspx

    Best regards,

    Zhi-Qiang Ni

    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as
    Answer” if a marked post does not actually answer your question.
Page 1 of 1 (5 items)