protected void cmdDelete_Click(object sender, EventArgs e) { Controller.DeleteFeatureList(FeatureListId); if (Request.QueryString["adminmode"] != null) { Response.Redirect(Globals.NavigateURL(TabId, "", "adminmode=featurelist"), true); } else { Response.Redirect(EditUrl(), true); } }