62,046
社区成员
发帖
与我相关
我的任务
分享
<asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptLocalization="true" EnablePartialRendering="true">
<Scripts>
<asp:ScriptReference Path="~/Admin/js/jquery-1.8.0.js" />
<asp:ScriptReference Path="~/Admin/js/jquery.livequery.js" />
<asp:ScriptReference Path="~/Admin/js/aAddProductAjax.js" />
</Scripts>
</asp:ScriptManager>
this.ScriptManager1.ScriptPath = Server.MapPath("js/jquery-1.8.0.js");
this.ScriptManager1.ScriptPath = Server.MapPath("js/jquery.livequery.js");
this.ScriptManager1.ScriptPath = Server.MapPath("js/aAddProductAjax.js");
}
目前用这种方法在每次回传的时候进行重新绑定,但这个属性提示已经过期,用scriptreference来代替,但没找到相关属性scriptReferences的属性,而在页面中直接用<scriptReference>的话就会有回传后js无效的问题,望分享经验