I’ve tried to perform a search on the above query but probably due to the angle brackets, I didn’t find anything on the matter.
Could anyone please explain what the differences are between <%=, <%: <%#?
I seem to recall that <%# is preferred over <%= but I am not sure why.
The following article describes them pretty well.
<%=: Rendering Code Syntax<%: %>: HTML encoded renedring (same usage as<%=)<%# %>: Data Binding Syntax – works with server side controls in classic WebForms applications, inapplicable in MVC