markup - ASP.NET server tag with colon? -
i searched around, not find reasonable explanation.
i found <%:
tag in 1 of projects. works <%=
tag.
i not find description on tag found <%:
, <%=
same.
so question popped out, why there 2 different tags same functionality? think there should difference.
could please clarify me.
thank you
according this blog post new feature introduced in asp.net 4. used automatically html encode output.
i suggest read full blog post, see how works ;)
Comments
Post a Comment