protected void btnDel_Click(object sender, EventArgs e) { int classId = Convert.ToInt32(this.hdnClassID.Value); if (DocumentAction.DelDocClass(classId)) { this.JS.Text = "alert('删除成功!');"; this.dgClass_Bind(); } }
protected void btnDel_Click(object sender, EventArgs e) { int classId = Convert.ToInt32(this.hdnClassID.Value); if (DocumentAction.DelDocClass(classId)) { base.RegisterScript("top.ui.show( '删除成功!')"); this.dgClass_Bind(); } }