Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 6th, 2013, 01:29 PM
Registered User
 
Join Date: Mar 2013
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Flicker free master pages

Hi,

I was wondering if this is even possible. I read and reread the AJAX chapter and information. The only thing that seems to be flicker free is what's within the UpdatePanel. I have set up a new page. Actually, if you want to take a look at it, you can go to http://sweetkitties.net. While developing this, I utilized the master page concept. Everything is on the master page, except for the area that shows the content. I was able to get flicker free working on the Contact page by putting the MainContent area within an UpdatePanel. It makes sense that it works here, because the Submit button is within the UpdatePanel. But it does not work anywhere else. If I click any of the menu items, I can see the whole page redraw. This is most apparent on Chrome. Thinking about it though, I guess that it makes sense. When I click a link in my Menu area, it is serving up a whole new page. So it is going to redraw the whole page. I looked online and saw some stuff about using frames, but I also saw a lot of posting that say that frames are bad.

Using master pages, is it possible to get only the MainContent area to update?

Last edited by usmaak; May 6th, 2013 at 01:31 PM..
 
Old May 7th, 2013, 02:33 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

You can't, for the reasons you described: you get a new page, rather than an existing page with only part of it refreshed.

You can look at transitions to make this smoother. Take a look here for an IE only solution: http://imar.spaanjaars.com/314/smoot...ge-transitions

The article is 9 years old, so there may be better alternatives today. Google probably knows best; I haven't looked into this for a long time..... ;-)

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add Meta Tags to Master Pages/Content Pages Pdesignz BOOK: Beginning ASP.NET 4 : in C# and VB 9 May 31st, 2012 07:08 AM
General question - Master Pages, Base pages, templates and OOP. flapjack BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 May 1st, 2010 09:33 AM
Master pages westannex ASP.NET 3.5 Basics 4 March 29th, 2009 07:48 AM
Master Pages micptpuser ASP.NET 2.0 Basics 6 January 8th, 2009 04:50 AM
Master Pages, Content Pages and CSS carliviris Visual Studio 2005 0 January 8th, 2008 05:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.