本文介绍了更新面板需要很长时间才能做出响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用fancybox登录div中的更新面板,但需要20秒才能对Button单击做出响应
如何解决他的问题,请帮助任何人...
I''m using update panel within my fancybox login div but it takes 20 secs to respond on Button click
how to resolve his issue plz help me anyone...
<div style="display: none;"><div id="001" style="width:400px;height:275px; overflow:hidden; background-image:removed(image/bg.jpg.pagespeed.ce.hBQipZqWVe.jpg);">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<table width="400px" height="110px" class="align" style="font-family: Arial, Helvetica, sans-serif; color: #000000; font-size: medium">
<br />
<center>
<font color="Green"> <h1>
Log in</font></h1></center>
<font style="font-family: Arial, Helvetica, sans-serif; font-size:15px; color:black;"> Email:</font> <fieldset> <asp:TextBox ID="TextBox1" runat="server" Width="200px" Height="30px"></asp:TextBox></fieldset>
<font style="font-family: Arial, Helvetica, sans-serif; font-size:15px; color:black;"> Password: </font> <fieldset><asp:TextBox ID="TextBox2" runat="server" TextMode="Password" Width="200px" Height="30px" ></asp:TextBox></fieldset>
<asp:Button ID="Button2" runat="server" Text="Login" onclick="Button2_Click" CssClass="sub5"/>
<br />
<br />
<asp:Label ID="Label1" runat="server"></asp:Label>
</table>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Button2"
EventName="Click" />
</Triggers>
</asp:UpdatePanel>
</div></div>
推荐答案
这篇关于更新面板需要很长时间才能做出响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!