使用updatepane后如何弹出提示框

ScriptManager.RegisterStartupScript(this.UpdatePanel1,this.GetType(), "提示", "alert('购物车为空,请先购物!')", true);

ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "msg", "javascript:ShowDialog('FeeBudgetYearImport.aspx?button=btnimport&Year=" + drpYear.SelectedValue.ToString() + "&Dept=" + hdFeeOBJ.Value + "',800,400)", true);

你可能感兴趣的:(JavaScript,.net)