加上ScriptManager,按钮Button不起作用了
各位大侠,我以前的Default.aspx页面没用AJAX,
protected void Button2_Click(object sender, EventArgs e)
{
Server.Transfer("ReRecord.aspx");
}
可以正常使用。
但自从我加上:
<asp:ScriptManager ID="ScriptManager1" EnableScriptGlobalization="true" EnableScriptLocalization="true" runat="server" ></asp:ScriptManager>
之后Button2_Click就没反应了!!