This question is locked. New answers and comments are not allowed.
I have an event handler I attached to my tabStrip like this
This working fine when I click on my third tab and select it
However, It happens also that I select and open my tab using code where I have a button when cliked open the tab
the tab is opened but the attached event is not fired
.ClientEvents(events => events.OnSelect( () => { %> function(e) { var item = $(e.item); if( item.index() === 2 ) { doSomeThing(); } } <% } ))However, It happens also that I select and open my tab using code where I have a button when cliked open the tab
$('#btnNext').click(function (){ var item = $('li.t-state-active +li'); var tabstrip = $('.t-widget.t-tabstrip.t-header').data('tTabStrip'); tabstrip.enable(item); tabstrip.select(item); return false;});the tab is opened but the attached event is not fired