tags:

views:

23

answers:

2

Hi. I have maybe very very Simple Question:

Where i can find documentation about expressions and syntax of WebForms view engine?

And what is the difference between

<%: expression %> 

and

<%= expression %>

?

in advance thanks for reply

+2  A: 

<%: expression %> renders the content with HTML encoding, whereas <%= expression %> renders it as is.

See Scott Guthrie's post New <%: %> Syntax for HTML Encoding Output in ASP.NET 4 (and ASP.NET MVC 2) for more info.

RedFilter
where you get this information?
ProgramWriter
@ProgramWriter: see my update
RedFilter
big thanks to you
ProgramWriter