protected void Page_Load(object sender, EventArgs e) { if (TabContainer1.ActiveTab.OnClientClick.Equals(TabPanel3)) { Response.Redirect("CataloguePage.aspx"); } }