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"); %>