tab strip

asp.net United States
  • 18 years ago

    anybody know how to fire up the selectedindexchange event in codebehind?


    thanks!

  • 18 years ago

    I dont know what you mean by tab strip??? but the selectedindexchanged event is a procedure you declare in your codebehind for the dropdownlist for example:-


    Private Sub DropDownList1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged


    End Sub


    you also need to specifiy the event procedure in the html:-


    <asp:DropDownList id="DropDownList1" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"  runat="server"></asp:DropDownList>

  • 18 years ago

    i was talking about the tabstrip thats included in the free web controls package from Microsoft.
    Anyway, I have already figured out the answer. I just set the AutoPostback property of the
    control to true. this enables the execution of the code-behind file for the tabstrip control.


    thanks for your reply anyway!

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Never trust a programmer in a suit.” - Anonymous