Excess Amounts of Data on Every AJAX Partial Postback

6 posts, 0 answers
  1. Robert
    Robert avatar
    253 posts
    Member since:
    Aug 2007

    Posted 17 Apr 2009 Link to this post

    I would like to cross-post here something that I just posted on the ASP.Net forums.

    I want to restate again that I have been and will continue to be a HUGE FAN of Telerik and the RadTreeView.  I do believe that I've improperly used your product (version 6.3.3) and am simply seeking help to resolve the problem.

    Once again, the pertinent questions I have are these:
    1. With the RadTreeView, I am loading on demand so why is so much data being brought down from the server each time?
    2. With the first screenshot you see, I actually viewed the source, copied it all into Notepad, and saved it into a text file.  It was only 84K.  Why then do I have those 230K Fiddler numbers?
    3. Does Telerik's newer RadTreeView helps resolve some of these problems?  I was gearing up to upgrade to VS2008 and their latest RadTreeView but haven't as of yet.

    Sincerely,

    Robert Werner
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 20 Apr 2009 Link to this post

    Hello rmdw,

    You can check this blog post which describes the different load on demand modes supported by radtreeview. ServerSide load on demand is actually a simple postback and the whole page is sent back and forth. ServerSideCallback is a lighter mode implemented via ASP.NET 2.0 Callbacks and submits only the viewstate and hidden fields when hitting the server. The WebService or PageMethods transmit the least data back and forth. If the payload size is crucial you should consider using those modes. You can check our online example here.

    Regards,
    Albert
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Robert
    Robert avatar
    253 posts
    Member since:
    Aug 2007

    Posted 20 Apr 2009 Link to this post

    Albert, thank you!

    Just so you know, I have since found this posting as well: http://www.telerik.com/help/aspnet-ajax/troubleshooting-optimizing-radtreeview-performance.html

    I'm going to try things out with your latest TreeView and using Web Services and see how things go.

    Robert

  4. Robert
    Robert avatar
    253 posts
    Member since:
    Aug 2007

    Posted 22 Apr 2009 Link to this post

    Albert,

    I just D/L and installed the latest version of your ASP.Net AJAX controls.  In the TreeView Load-On-Demand examples, I see that you now offer PageMethods as a 4th way of loading nodes.  I tested the speed of Web Services vs. Page Methods.  They seemed VERY similar.

    Has Telerik yet done any benchmarking to compare the approximate speeds of the two approaches?

    Robert
  5. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 23 Apr 2009 Link to this post

    Hi rmdw,

    They are indeed very similar. I suggest you pick the one mode that is easier for you to implement.

    Regards,
    Albert
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Robert
    Robert avatar
    253 posts
    Member since:
    Aug 2007

    Posted 23 Apr 2009 Link to this post

    Albert,

    Well, I have quite a bit of experience with Page Methods and none with Web Services so I'm ecstatic that you guys have extended support to the former.  I have an interesting 5-level hierarchy that is operating very sluggishly when accessed through the Internet.  I've been using Server Side Postback, albeit in an AJAX Update Panel, so it'll be interesting to see how much things improve once I switch over to using Page Methods!

    Robert
Back to Top