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

Treeview posting entire viewstate

1 Answer 54 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Brandon
Top achievements
Rank 1
Brandon asked on 02 Apr 2012, 07:27 PM
I'm not sure if this should go in the Treeview or the Scheduler section but..  I have something set up similar to:  http://demos.telerik.com/aspnet-ajax/scheduler/examples/outlook2007/defaultcs.aspx

However, in the bottom left I have a TreeView to do my filtering.  I have several custom resources defined that are in the tree (buildings and rooms).

My issue is that when I do any filtering with the RadTree view it is posting the entire viewstate, which includes all of the schedular data.  This amount of data is ~500KB and causing performance issues. 

What options do I have?  Is there a way to have all of the filtering done client side?

1 Answer, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 2
answered on 03 Apr 2012, 01:26 PM
Hello Brandon,

That is to be expected when using ASP.NET Ajax. If you want to reduce the amount of data being sent to the server, you could use the XmlHttpPanel control instead. That would reduce the amount of data being data to and from the server.

Another alternative would be to enable RadCompression on your site.

I hope that helps.
Tags
TreeView
Asked by
Brandon
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 2
Share this question
or