Don’t forget that when calling Html.RenderPartial() use a <% %> block and not a <%= %> block. Html.RenderPartial() doesn’t return a string of HTML but outputs directly to the calling view.
Don’t forget that because you are using a <% %>block the code elements must be ended with a semi-colon:
<% Html.RenderPartial("PartialViewName"); %>
0 comments:
Post a comment
By all means leave a comment. I may not be able to get back to you as quickly as I'd like but I'll do my very best.