更新面板控件不能在正常模式下工作,即当我在调试模式下浏览时没有进行调试时,它工作得很好。UpdatePanel只能在调试模式下工作
我的代码如下 -
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
<ContentTemplate>
<asp:Timer runat="server" id="Timer1" Interval="5000"></asp:Timer>
<%-- web content here --%>
</ContentTemplate>
</asp:UpdatePanel>
请建议在正常模式下上述的工作无需调试。 在此先感谢。
我不愿刷新整个页面。我的要求是每隔10秒从数据库中获取更改的属性而不刷新它。 –