asp.net - New Expression Syntax issue -
in asp.net 4.0 page, inside itemtemplate in gridview, have applied new expression syntax binding columns
<%#: eval(columnname) %> the data bound in local machine. after deploying server, framework 4.0 installed receive following error
cs1525: invalid expression term ':'
against above expression. solution regarding ? included in web.config ?
have verified deployed server's application pool running .net 4.0 , not .net 2.0?
the : syntax valid in .net 4.0 , later.
here sample screenshot iis:

note: ignore lines , text, taken question.
Comments
Post a Comment