This is a migrated thread and some comments may be shown as answers.

[Solved] Get the index selected in TabStrip, where this error?

0 Answers 20 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
lucas
Top achievements
Rank 1
lucas asked on 03 Sep 2010, 03:31 AM
...ClientEvents(events => events.OnSelect(() => {  %>
   function onSelect(e) {
           var item = $(e.item); 
           $("#Tab_Selected").val(item.index());
   }...


where #Tab_Selected is a hidden field

Controller in this hidden field comes empty, do not get the index you selected.
Tags
General Discussions
Asked by
lucas
Top achievements
Rank 1
Share this question
or