private void btnSave_ServerClick(object sender, System.EventArgs e) { if (Page.IsValid) { // page is valid, store the section. if (SectionManager.ModifySection(_sectionID, tbxSectionName.Value, tbxSectionDescription.Text, HnDGeneralUtils.TryConvertToShort(tbxOrderNo.Text))) { // went ok! // invalidate cache CacheManager.InvalidateCachedItem(CacheKeys.AllSections); // done, redirect. Response.Redirect("ModifyDeleteSection.aspx", true); } } }