A Technical Resource for Microsoft .NET & Oracle
(Architect @IBM India Pvt, Ltd)
Wednesday, March 24, 2010
.NET: How to prevent master page flickering
Finally I have found a simply great solution to prevent the master page flickering every time the user makes a selection off of the menu.
This does not imply preventing the master page from reloading after post back, but only stops master page flickering.
Add this magical code in between your <Head> </Head> tags of your "MasterPage.Master".
Please do not ask me how the below code works, because I am not sure either, but it works like a gem.
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0)">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0)">
Enjoy …!
10 comments:
Awesome solution. Only works on IE though. Chrome and other still flickers when using masterpages.
Maybe you forget the final /> ?
Thanks Delo, you are right i have missed />
Hi, thanks for the post but it doesn't work!
Its not working in my Master page
Thank you so much sir...... that is perfectly working in my masterpage...
Not working for me in Chrome either. Works fine in Firefox and IE. Still flashing on postback in Chrome.
Not working for me in Chrome either. Works fine in Firefox and IE. Still flashing on postback in Chrome.
This blog gives very important info about .Net
.Net Online Training Hyderabad
It has been a long time since I've read anything so informative and compelling. I'm waiting for the next article from the writer. Thank you.
Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery
Post a Comment