I found a post on Dan Crevier's Blog that explained the difference very well.
To sum it up it works as follows:
- The "<%=" expressions are evaluated at render time
- The "<%#" expressions are evaluated at DataBind() time and are not evaluated at all if DataBind() is not called.
- "<%#" expressions can be used as properties in server-side controls. "<%"= expressions cannot.
No comments:
Post a Comment