hi.. i have a menu outside of the contentplaceholder in my master page . i have update panel and scriptmanager being wriitten.
However, i still wonder why each time when i click on the menu, the page still feel shaky( page load) while it load the contents into the contentplaceholder.
Hi lyealain The ASP.NET Menu control is used for page navigation, and when we navigate to a new page, the new page will be load and page will do a certain full-load from server. That means we cannot make the navigation
between pages without refresh even we use AJAX or MasterPage. If you need page navigation without refresh, the only way is to use iframe or frameset. Thanks.
lyealain
Member
32 Points
122 Posts
menu click with no page load
Apr 01, 2009 03:17 PM|LINK
hi.. i have a menu outside of the contentplaceholder in my master page . i have update panel and scriptmanager being wriitten.
However, i still wonder why each time when i click on the menu, the page still feel shaky( page load) while it load the contents into the contentplaceholder.
How do i avoid that loading ?
Thanks
sidharth049
Member
356 Points
155 Posts
Re: menu click with no page load
Apr 02, 2009 08:42 AM|LINK
menu in masterpage along with updatepanel will have a postback. it won't work the way you expect it to.
lyealain
Member
32 Points
122 Posts
Re: menu click with no page load
Apr 02, 2009 09:00 AM|LINK
Pleasae advice which is the best way . Thanks
any sample link
DesertRose83
Member
4 Points
37 Posts
Re: menu click with no page load
Apr 02, 2009 10:55 AM|LINK
lyealain
Member
32 Points
122 Posts
Re: menu click with no page load
Apr 03, 2009 01:12 AM|LINK
so are u saying i should not put my menu in the master page?
Please advice. THanks
Lance Zhang ...
All-Star
33091 Points
2361 Posts
Re: menu click with no page load
Apr 03, 2009 02:17 AM|LINK
Hi lyealain
The ASP.NET Menu control is used for page navigation, and when we navigate to a new page, the new page will be load and page will do a certain full-load from server. That means we cannot make the navigation between pages without refresh even we use AJAX or MasterPage.
If you need page navigation without refresh, the only way is to use iframe or frameset.
Thanks.
Pawan_Mishra
Star
8869 Points
1293 Posts
Re: menu click with no page load
Apr 03, 2009 08:33 AM|LINK
Hi
Just chk out the following links for a control called UFrames , which i guess can solve ur problem :-
http://weblogs.asp.net/omarzabir/archive/2008/05/25/uframe-goodness-of-updatepanel-and-iframe-combined.aspx
http://www.codeproject.com/KB/aspnet/uframe.aspx
Pawan Mishra
Moving from Asp.Net to WPF and SilverLight .....
.Net 360°