当我使用 updatePanel 向服务器发送 ajax 请求时,我很困惑如何禁用加载掩码。
这是我的代码:
<asp:UpdatePanel runat="server" ID="UpdatePanel1" UpdateMode="Conditional">
<ContentTemplate>
<asp:Panel runat="server" ID="Panel1" />
<asp:Timer ID="Timer1" runat="server" Interval="20000" OnTick="Timer1_Tick" >
<ContentTemplate>
</asp:UpdatePanel>
protected void Timer1_Tick(object sender, EventArgs e)
{
// do something
UpdatePanel1.Update();
}