I have a Pagination user control (ascx) that I render with:
<% Html.RenderPartial("Pagination", ViewData["Pagination"]); %>
I want to show this in two places though, above and below the results for that page. It seems inefficient to render the control twice so is it possible to store the output of the render in a variable which I can then output to my hearts content without worrying?