Hi
I have several action methods on my controller that return a partial view (ascx), and I want these partial views to be rendered when clicking on the different JQuery UI tabs.
The tabs are defined like this:
<div id="tabs">
<li><a href="#FirstTab" title="First tab">First tab</a></li>
<li><%= Html.ActionLink("General", "General", new {id=Model.Id}) %></li>
<li><%= Html.ActionLink("Details", "Details", new {id=Model.Id}) %></li>
<div id="FirstTab">
...
</div>
</div>
This renders the tabs fine, the first tab (with static content) is displayed correctly, but when I click the other tabs, nothing happens.
If instead of returning a partial view from the action methods I just return plain content, it renders the content just fine and the tabs work perfectly.
Any idea of what am I doing wrong?
Thanks