模板页使用ScriptManager,并用了一个Timer,然后在子页 用Timer没有触发,这是什么回事?好像在模板页使用第二个Timer也用不了。请大神帮忙。
比如 <asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Timer ID="Timer1" runat="server" Interval="6000" OnTick="Timer1_Tick"></asp:Timer>
<asp:Timer ID="Timer2" runat="server" Interval="50000" OnTick="Timer2_Tick"></asp:Timer>
</ContentTemplate>
</asp:UpdatePanel>
Timer2是不会触发的,在子页面想用Timer不知道怎么用。
比如 <asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Timer ID="Timer1" runat="server" Interval="6000" OnTick="Timer1_Tick"></asp:Timer>
<asp:Timer ID="Timer2" runat="server" Interval="50000" OnTick="Timer2_Tick"></asp:Timer>
</ContentTemplate>
</asp:UpdatePanel>
Timer2是不会触发的,在子页面想用Timer不知道怎么用。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货