A Technical Resource for Microsoft .NET & Oracle
(Architect @IBM India Pvt, Ltd)
Showing posts with label Meta Tag. Show all posts
Showing posts with label Meta Tag. Show all posts
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 …!