如何停止自动重新压缩 [英] how to stop auto refresshing
本文介绍了如何停止自动重新压缩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
已经托管了网站,但是自动压缩和自动滚动想停止
解决方案
这可以做到。使用< asp:UpdatePanel > < / asp:UpdatePanel > 跨度>。确保你已将autopost的内容放回更新面板中
希望这会有所帮助。
放置你的位置脚本管理器位于pade的顶部< asp:content xmlns:asp =#unknown>
< asp:ScriptManager ID = ScriptManager1 runat = server >
< / asp:ToolkitScriptManager < span class =code-keyword>>
并将所有代码放在更新面板中,您不想一次又一次地加载
<前郎=xml> < asp:UpdatePanel ID = CustNameCodePnl < span class =code-attribute> runat = server >
< ContentTemplate >
<% - 在此输入您的代码 - %>
Already Hosted the web site but getting autorefresshed and auto scrolled want to stop that
解决方案
This can be done. By using<asp:UpdatePanel></asp:UpdatePanel>. Make sure that u have place the content that is autopost back in the Update Panel
Hope This will help.
Place ur script manager on the top of the pade under <asp:content xmlns:asp="#unknown">
<asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ToolkitScriptManager>
and place all of the code in update panel which u do not want to load again and again
<asp:UpdatePanel ID="CustNameCodePnl" runat="server"> <ContentTemplate> <%--Enter Your Code Here--%>
这篇关于如何停止自动重新压缩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文