Answered by:
ASP.NET : Avoid Flickering Of Master Page And Content Page

Question
-
User-1097017955 posted
Hi Experts,
I have a Master and Content page. On my Master page I have DropDownList. When I change the value from it then both Master and Content page get refreshed.
I have control same behavior in Content page using Update panel (Partial Page Update, using AJAX). I mean page is not get Post Back at time of Content page.
How to avoid flickering from Master page?
Thanks.
Monday, July 6, 2009 7:11 AM
Answers
-
User-1867839302 posted
Using an Update Panel page-wide is not a good idea as it can be much slower than a simple postback.
However, to stop flickering in IE (Firefox already does protect against that) I suggest you add the following meta tags:
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0)">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0)">- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, July 6, 2009 5:58 PM
All replies
-
User-1867839302 posted
Using an Update Panel page-wide is not a good idea as it can be much slower than a simple postback.
However, to stop flickering in IE (Firefox already does protect against that) I suggest you add the following meta tags:
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0)">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0)">- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, July 6, 2009 5:58 PM -
User-1097017955 posted
Hi Nissan Fan,
I will check it and soon I will get back to you.
Thanks.
Tuesday, July 7, 2009 2:20 AM -
User-1097017955 posted
Hi Nissan Fan,
Gr8 man!
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0)">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0)">
I have added both of above into my Master page, and it works great.
Thanks.
Tuesday, July 7, 2009 2:20 AM -
User-2080682229 posted
Hello Can anyone tell me how this two line works i mean what is the logic begind this
Thanks,
monalisa
Tuesday, July 21, 2009 12:10 AM -
User-758219241 posted
Using an Update Panel page-wide is not a good idea as it can be much slower than a simple postback.
However, to stop flickering in IE (Firefox already does protect against that) I suggest you add the following meta tags:
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0)">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0)">Thanks dude.
this worked like a charm for me also
Tuesday, July 21, 2009 1:37 AM -
User-1867839302 posted
Monalisa, what this simply does is use IE page transitions. That causes IE to effectively buffer the response from the new page until it's fully rendered. With no time in the transition what you end up with is simply an almost instantaneous switch from one page to the other.
Tuesday, July 21, 2009 10:22 AM -
User-2080682229 posted
Hello Nissan
Thanx for d quick reply .
Why only IE why not FireFox.If i want to achieve d same in FF then what should b done?
Tuesday, July 21, 2009 12:44 PM -
User-147803175 posted
its not working fine,
i am getting flickering in ie only,not firefox,
Tuesday, November 30, 2010 6:46 AM -
User892410294 posted
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0)">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0)">
it is not working for me. i put this after head, in meta , it shows error like empty elements such as meta must end with / ..so i gave / also. but working. again flickering only. pls help me. thanks
Thursday, August 8, 2013 12:08 AM