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

Excess Amounts of Data on Every AJAX Partial Postback

5 Answers 54 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 17 Apr 2009, 08:25 PM
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

5 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 20 Apr 2009, 08:09 AM
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.
0
Robert
Top achievements
Rank 1
answered on 21 Apr 2009, 01:50 AM
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

0
Robert
Top achievements
Rank 1
answered on 22 Apr 2009, 08:00 PM
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
0
Atanas Korchev
Telerik team
answered on 23 Apr 2009, 06:22 AM
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.
0
Robert
Top achievements
Rank 1
answered on 23 Apr 2009, 01:55 PM
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
Tags
TreeView
Asked by
Robert
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Robert
Top achievements
Rank 1
Share this question
or