Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Make A Tabbed WebForm
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Divers
Thread ID:
00680496
Message ID:
00681139
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform