Markup

Default Tags Setting Description Example
<% %> StartCodeTag, EndCodeTag Code block. <% if (_isOss) Contribute(); %>
<%= %> StartEchoTag, EndEchoTag Echo expression. String literal, variable, function, etc. <%= _licenseText %>
<%-- --%> StartCommentTag, EndCommentTag Comment block. <%-- all of this is ignored <% %> --%>
<%# %> StartUsingStatementsTag, EndUsingStatementsTag Using statements. Collected from multiple view methods, de-duplicated and placed at the top of generated partial class. <%# using log4net; %>
<%@ %> Template directive. Allows overriding of markup prefix (<%) and suffix (%>). Directive must be at line 1, column 1. The new markup takes effect after line 1. <%@ MarkupPrefix="[[" MarkupSuffix="]]" %>
::: EscapeString Prefix and suffix start and end tags to escape them. :::<% start and end tags are output literally %>:::


Last edited Aug 7, 2007 at 4:37 AM by mgutz, version 1

Comments

No comments yet.