Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

TabContainer Issue

$
0
0

Dear All,

I have 4 tabs "A","B","C" and "D". Tab A is selected my default. When I go from tab "A" to any other tab the following event fires

protected void tabT_ActiveTabChanged(object sender, EventArgs e)
{
     Session["TabIndex"] = null;
     Session["TabIndex"] = tab.ActiveTabIndex;
     if (Request.QueryString["id"] == null)
    { 
        Response.Redirect("products.aspx?id=" + Session["pkid"]);
     }

}

which is working correctly.  But I want the same thing to happen when I click the default tab "A".  The problem is that the above ActiveTabChanged event does not  get fired when the default tab is clicked.  I want the above event to get fired when the default tab is also clicked.

Any help would be greatly appreciated.

cheers,

Sam


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>