I have three tabs on page and one user control. I want to RenderPartial on each tab.
<script type="text/javascript">
$(document).ready(function() {
$("#tabs").tabs();
});
</script>
<div id="tabs">
<ul>
<li><a href="#tabs-1">Text 1</a></li>
<li><a href="#tabs-2">Text 2</a></li>
<li><a href="#tabs-3">Text 3</a></li>
</ul>
<div id="tabs-1">
<% Html.RenderPartial("usercontrol", Model); %>
</div>
<div id="tabs-2">
<% Html.RenderPartial("usercontrol", Model); %>
</div>
<div id="tabs-3">
<% Html.RenderPartial("usercontrol", Model); %>
</div>
</div>
how can i get values from different tabs.