I'm sure this is an easy one for most of you ... What is the best way to inject static HTML (from a html file on disc) into a View?
I want something along the lines of this:
<%= Html.RenderPartial(pathToMyHtmlFile) %>
I'm sure this is an easy one for most of you ... What is the best way to inject static HTML (from a html file on disc) into a View?
I want something along the lines of this:
<%= Html.RenderPartial(pathToMyHtmlFile) %>
WriteFile from the Response object might do what you want:
<% Response.WriteFile(pathToMyHtmlFile); %>