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

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -