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); %>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With