This question is locked. New answers and comments are not allowed.
I'm trying to get the currently selected tab index so I can dump it into a hidden field so that on post back the same tab is shown to the user.
I have a my tab strip setup for a client event:
And my method:
The event fires successfully, but e.target.tabIndex always shows 0 even though I have 2 tabs.
thanks,
Justin
I have a my tab strip setup for a client event:
| .ClientEvents(events => events.OnSelect("SetSelectedTabIndex")) |
And my method:
| function SetSelectedTabIndex(e) { |
| $('#SelectedTabIndex').val(e.target.tabIndex); |
| } |
The event fires successfully, but e.target.tabIndex always shows 0 even though I have 2 tabs.
thanks,
Justin