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
Post a Comment