Problem with tab selection

0

I have 2 tabs, one that shows my macros together and one to show the ones sent. The macros together are already selected by default and the Page Load has the method that loads the corresponding data from it

When I click on the uploaded macros tab, my method does not even execute. How do I call a method within the li?

What can it be?

<ul class="nav nav-tabs" role="tablist" id="myTab">
    <li class="active"><a href="#home" role="tab" data-toggle="tab">Macros juntas</a></li>
    <li><a href ="#enviadas" role="tab" data-toggle="tab" runat="server" onserverclick="Carregamacrosenviadas">Macros enviadas</a></li>      
</ul>
    
asked by anonymous 05.11.2014 / 18:58

1 answer

1

I believe that only the data-toggle="tab" attribute is missing from the sent macros tab:

<li><a runat="server" href ="#enviadas" data-toggle="tab" onserverclick="Carregamacrosenviadas">Macros enviadas</a></li>
    
05.11.2014 / 19:36