-2

Possible Duplicate:
what does “ <%: ” do?

What is the meaning of <%: %> tags that you can use with ASP .NET 4.5? In particular, the colon after the %.

Thanks.

Community
  • 1
  • 1
Marco Minerva
  • 822
  • 5
  • 12
  • Also: http://stackoverflow.com/questions/2676236/are-and-the-same-thing-as-embbed-code-expression-blocks – Habib Jan 11 '13 at 12:13

1 Answers1

5

It is the equivalent to <%= %> but automatically HTML encodes the content before it renders.

James
  • 77,877
  • 18
  • 158
  • 228