I am using a RadPanelBar control to house a hierarchical navigation tree in one of the pages on my site. The Panel Bar has two or three levels of items, each with an associated ID, parent ID, text attribute, URL and two or three other custom attributes. I have an OnItemClick event handler to update a section of the page whenever an item is clicked (from a custom attribute named "content"). Thus clicking any item causes a post-back.
My problem is this: although the site runs smoothly on my local server, when I deploy it to a remote server I experience long delays when waiting for the screen to be updated after clicking on an item in the Panel Bar. Using Firebug to investigate, I have found that a typical page is around 125KB in size, with most of this being taken up by the Panel Bar in terms of HTML tags or ViewState contents.
Is there an optimal way to use the Rad Panel Bar in situations like this when the items are "heavy"? Can I minimise the amount of ViewState required, or compress it somehow? Are there any settings that might improve performance? Or should I be looking at moving a lot of my server-side processing to the client? Any advice would be helpful, either general or specific.
Thanks,
Ed Graham
My problem is this: although the site runs smoothly on my local server, when I deploy it to a remote server I experience long delays when waiting for the screen to be updated after clicking on an item in the Panel Bar. Using Firebug to investigate, I have found that a typical page is around 125KB in size, with most of this being taken up by the Panel Bar in terms of HTML tags or ViewState contents.
Is there an optimal way to use the Rad Panel Bar in situations like this when the items are "heavy"? Can I minimise the amount of ViewState required, or compress it somehow? Are there any settings that might improve performance? Or should I be looking at moving a lot of my server-side processing to the client? Any advice would be helpful, either general or specific.
Thanks,
Ed Graham