protected void CreateAllSpecialList_Click(object sender, EventArgs e) { HtmlSpecialCategory category = new HtmlSpecialCategory(); category.SpecialCategoryIdArray = this.GetCreateHtmlSpecialCategoryList(0); category.CommonCreateHtml(); BasePage.ResponseRedirect("CreateHtmlProgress.aspx?workId=" + category.CreateId); }
protected void CreateSpecialListById_Click(object sender, EventArgs e) { string createHtmlSpecialCategoryList = this.GetCreateHtmlSpecialCategoryList(2); if (string.IsNullOrEmpty(createHtmlSpecialCategoryList)) { AdminPage.WriteErrMsg("请选择要生成的专题类别页!", "CreateHtmlSpecial.aspx"); } HtmlSpecialCategory category = new HtmlSpecialCategory(); category.SpecialCategoryIdArray = createHtmlSpecialCategoryList; category.CommonCreateHtml(); BasePage.ResponseRedirect("CreateHtmlProgress.aspx?workId=" + category.CreateId); }