Becky Bloomwood

Becky Bloomwood

  • NA
  • 119
  • 285.6k

Navigate to another aspx page when tab in tab container is clicked

Jan 18 2011 7:59 PM

Hi, i am using tab container through ajax control toolkit. I have specify 2 tabs in tab container called: Products and Catalogue.
The products is one aspx page and catalogue is another aspx page. I have add in the code but when I click on the catalogue tab it did not redirects to another page.
This is the code I have entered:
 

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

}
}
Thanks!

Answers (1)