protected void btEdit_Click(object sender, EventArgs e) { func.editCategory(lbID.Text, txtName.Text, ddlPri.SelectedValue); func.logTask(Session["UserLogin"].ToString(), "Edit danh mục: " + txtName.Text); Response.Write("<script language='javascript'> window.close();</javascript>"); }