protected void Page_Load(object sender, EventArgs e) { RedirectUtil.RedirectUnauthenticatedUserToLoginPage(); RedirectUtil.RedirectNonAdminUserToHomePage(); BreadCrumbUtil.DataBind(Page, new List <BreadCrumb>() { new BreadCrumb(NavUtil.GetHomePageUrl(), "Home"), new BreadCrumb(NavUtil.GetShowsPageUrl(), "Shows"), new BreadCrumb(NavUtil.GetShowPageUrl(GetShowId()), "Show"), new BreadCrumb(NavUtil.GetContestPageUrl(GetShowId(), GetContestId()), "Contest"), new BreadCrumb(NavUtil.GetAddScoreCriterionPageUrl(GetShowId(), GetContestId()), "Add Score Criterion", IsActive: true), }); labelPageTitle.Text = "Add a Score Criterion"; labelPageDescription.Text = "Use the form below to create a new score criterion."; scoreCriterionForm.GetSubmitButton().Click += new EventHandler(btnAddScoreCriterion_Click); scoreCriterionForm.GetCancelButton().Click += new EventHandler(btnCancel_Click); }