<% =reg.Event.Title + " - " + reg.Event.Date %>
Works.
<% =reg.Event.Title + " - " + reg.Event.Date; %>
Tosses a runtime error:
Compiler Error Message: CS1026: ) expected
There are no mismatched operators – no unclosed ‘(‘ …could something in a controller or further upstream in the backend be to blame?
thx
Probably ´<%= … %>´ is turned into a Response.Write() statement during compilation, e.g:
…then the semicolon is definitely incorrect.