protected void btnSave_Click(object sender, EventArgs e) { using (SiteMapOrderHelper orderHelper = new SiteMapOrderHelper()) { var lst = orderHelper.CreateSiteMapList(txtMap.Text); orderHelper.UpdateSiteMap(SiteID, lst); } Response.Redirect(SiteData.CurrentScriptName); }
protected void btnSave_Click(object sender, EventArgs e) { using (SiteMapOrderHelper orderHelper = new SiteMapOrderHelper()) { var lst = orderHelper.ParseChildPageData(txtSort.Text, guidContentID); orderHelper.UpdateSiteMap(SiteData.CurrentSiteID, lst); } Master.ShowSave(); Response.Redirect(SiteData.CurrentScriptName + "?" + Request.QueryString.ToString() + Master.SavedSuffix); }