p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 4.5 : in C# and VB (http://p2p.wrox.com/forumdisplay.php?f=710)
-   -   Ch 10 update panel (http://p2p.wrox.com/showthread.php?t=92336)

AlanWheeler March 3rd, 2014 01:43 PM

Ch 10 update panel
 
Hi Imar,

In this chapter you showed us how to avoid flicker during postbacks.

Are there any techniques that avoid flicker during transfers to another page? It may sound like an odd question, but since we're using a template design for all the pages it would seem like we could avoid flicker when changing between pages as well. Obviously there may be a concept here I haven't yet internalized.

Thanks.

Best Regards,
Alan

Imar March 5th, 2014 06:52 AM

Hi Alan,

There isn't a good solution for this. Since each page is a new request, you can't use a UpdatePanel to solve this issue. For IE, you can use this proprietary solution: http://imar.spaanjaars.com/314/smoot...ge-transitions (Note: old article, so I don't know if this still works).

Other alternatives include "single page applications" that don't make full page requests but instead load data dynamically. However, SPAs are a huge subject of their own, bringing in many, many new concepts and technologies.

Cheers,

Imar

AlanWheeler March 5th, 2014 12:58 PM

Hi Imar,

Thanks on this. I had begun to wonder if the 'single page application' I was seeing in various places may have been employed to solve this issue, and I did figure it introduced a lot of new stuff. That will have to come later...

Regarding your solution for page load flicker, content="revealtrans...", is that on every page, or can it be added to the master page?

Best Regards,
Alan

Imar March 6th, 2014 06:33 AM

You can add it to the Master Page so it ends up in the final HTML for each page that is based on that master.

Cheers,

Imar


All times are GMT -4. The time now is 05:20 AM.

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