Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Make A Tabbed WebForm
Message
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00680496
Message ID:
00681139
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform