Answered by:
Page postback with web service when used with master page?

Question
-
User2108892867 posted
Hello everyone, I have a question web service. I have been testing but not sure what is causing this. I am trying to prevent my web page from flickering when there is a post back. So I used web service. It is working fine without any noticeable flickering when I put my dropdownlist on a normal page (without Master page). However, when I move my code to page with master page, then the flickering happens. Anyone has any ideas how to fix this please? My html mark up is as below:
<div> <div> <asp:DropDownList ID="ddlState" runat="server" AutoPostBack="True"></asp:DropDownList> </div> <div> <asp:DropDownList ID="ddlCity" runat="server" DataTextField="city_name" DataValueField="city_id"></asp:DropDownList> </div> </div>
Thank you very much.
Monday, November 25, 2013 11:24 PM
Answers
-
User-488622176 posted
I think this will solve your issue : http://forums.asp.net/t/1443681.aspx
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, November 26, 2013 10:29 AM -
User260886948 posted
Hi,
Please try to add this magical code inside your <Head> </Head> tags of your "MasterPage.Master":
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0)">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0)">For more information, please try to refer to:
#How to prevent master page flickering:
http://srinisreeramoju.blogspot.in/2010/03/net-preventing-master-page-flickering.html .Best Regards,
Amy Peng- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, November 27, 2013 4:57 AM
All replies
-
User-488622176 posted
I think this will solve your issue : http://forums.asp.net/t/1443681.aspx
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, November 26, 2013 10:29 AM -
User260886948 posted
Hi,
Please try to add this magical code inside your <Head> </Head> tags of your "MasterPage.Master":
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0)">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0)">For more information, please try to refer to:
#How to prevent master page flickering:
http://srinisreeramoju.blogspot.in/2010/03/net-preventing-master-page-flickering.html .Best Regards,
Amy Peng- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, November 27, 2013 4:57 AM