Ok, so, that title is a mouthfull... But, I reckon you understand what I'm trying to do.
I have a page which contains the jquery tabs control, and I render the different tabs by looping through my model. Now, the divs (that are "linked" to those tabs) are also created with the same loop. Hence I have equal tabs + divs connected to those tabs.
The problem is, that it's only the first RenderAction gets called, all the others are just the same.
The code that loops the renderactions:
foreach (var domain in Model.Domains)
{ %>
<%= String.Format(@"<div id=""domain_{0}"">", domain.ID)%>
<%= Html.Encode(domain.ID) %>
<% Html.RenderAction("DomainView", "Person", new { domainid = domain.ID }); %>
</div>
<% } %>
So, each div has an id of "domain_NUMBER" where of course the number is looped. And the renderaction calls the "DomainView" Action in my controller that takes a "domainid" parameter.
Optimistically, I thought this would work, but, I guess I'm wrong...