ASP.NET的AJAX的TIMER事件会导致滚动条跳动,如何解决? 这可能是ajax的一个不好的地方。总是保持页面的滚动条。但是同时又是ajax的一个优点,当提交事件位于滚动条下方时,并不会因为表单的提交而把滚动条拉到页面的最上方。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <!-- 注释 --> <!-- Timer控件 --> <!-- 通过设置Interval值(毫秒)可以定期的更新页面; 可以配合UpdateMode来禁止某些UpdataPanle不更新. --> <!-- 如果把Timer置于UpdatePanel外面, 可以非异步提交整个页面. --> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> 当前时间: <%= DateTime.Now %> <asp:Timer ID="Timer1" runat="server" Interval="1000"> </asp:Timer> </ContentTemplate> </asp:UpdatePanel> <%--<asp:Timer ID="Timer1" runat="server" Interval="1000"> </asp:Timer>--%> <%--<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode=conditional> <ContentTemplate> 当前时间: <%= DateTime.Now %> </ContentTemplate> </asp:UpdatePanel>--%> asp.net中页面截图 (满分,打酱油给分!) 谁有Jquery折叠展开的效果。 Repeater 中的RadioButtonList 死人了 救火啊 怎么使用邮件把密码发给用户 关于treeview的下面一段建结点的代码,帮我理解一下 安装 高手指点迷津!急 ADO.NET如何调用ORACLE的存储过程返回记录集! Response.Write的问题! 也许是一个简单的问题,关于Render的 关于ajaxpro的返回问题(急!)
<!-- Timer控件 -->
<!-- 通过设置Interval值(毫秒)可以定期的更新页面; 可以配合UpdateMode来禁止某些UpdataPanle不更新. -->
<!-- 如果把Timer置于UpdatePanel外面, 可以非异步提交整个页面. -->
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
当前时间: <%= DateTime.Now %>
<asp:Timer ID="Timer1" runat="server" Interval="1000">
</asp:Timer>
</ContentTemplate>
</asp:UpdatePanel>
<%--<asp:Timer ID="Timer1" runat="server" Interval="1000">
</asp:Timer>--%>
<%--<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode=conditional>
<ContentTemplate>
当前时间: <%= DateTime.Now %>
</ContentTemplate>
</asp:UpdatePanel>--%>