AJAX page navigation

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
8/6/2010 8:31:21 AM
Gravatar
Total Posts 31

AJAX page navigation

Hi,

We're looking for a way to open the pages using AJAX. So when you click on a menu item, the leftpanel, centerpanel and rightpanel update to the new page using a asynchrome postback. We've searched a bit and placed the whole page in an UpdatePanel, but this doesn't seem to work for the menu. When we place a <asp:Button> in the page we can see the async postback in firebug, but when clicking a menu item the page does a full refresh.

We've also tryed the ScriptManager1.RegisterAsyncPostBackControl method and gave it the SiteMenu1 as parameter, which also doesn't seem to work.

 

Kind Regards,

Robert Meijers

8/7/2010 7:09:52 AM
Gravatar
Total Posts 18439

Re: AJAX page navigation

Hi Robert,

No offense intended but it is both not possible and a really bad idea :-D

Not all asp.net controls work inside updatepanel, ones that don't include menu and treeview.

Even if they did work, making your entire navigation based on updatepanel ajax postbacks would be very inefficient, prone to viewstate errors and viewstate bloat, would create a lot of problems if the user uses the browser back button, users won't be able to bookmark your pages, it would be horrible for SEO. Those are just a few issues that come to mind immediately.

I would ask why do you want to do this, what are you trying to accomplish by this approach?

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.