You wire this up differently then other controls. In the HTML for the control you are using, you would enter:
onselectedindexchange = "tab_Click"
Then remove the Handles clause for the tab_Click method.
>Thanks Cathi
>
>Do you know how to I can capture what tab they selected, I tried putting the following code, but it is not capturing the "click" event. I have the autopostback set to true, and the page flashes. I'm just not getting it "WiredUp" correctly.
>
>
> Private Sub tab_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TabStrip1.SelectedIndexChange
> Label1.Text = TabStrip1.SelectedIndex
> Select Case TabStrip1.SelectedIndex
> Case 0
> Server.Transfer("SurgeonMenu.aspx")
> Case 1
> Server.Transfer("YTD_Activity.aspx")
> Case 2
> Server.Transfer("DeptGrid.aspx")
> Case 3
> Server.Transfer("Schedule.aspx")
> Case 4
> Server.Transfer("docLogin.aspx")
> End Select
> End Sub
>
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi