c# - ASP.NET equivalent of JSP include -


in jsp can share html code using include:

<jsp:include page="subsection.jsp" > 

for life of me, can't tell how in asp.net should including shared html. use template control, isn't same thing. use site master page , content placeholders, not same , requires different approach developing pages.

am out of luck or there function in asp.net similar jsp's include?

you have enable server can use include html files.

<!-- #include file="static/menu.html" --> 

instructions enable ssi in iis7 available @ http://tech.mikeal.com/

for dynamic content, there built-in method of templating called masterpages, should used instead.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -