Quick question:I thought that <%: had replaced <%=, since mentions on
ASP.NET 4, the <%= %> syntax was used to execute code and write it
out to the page. Starting with ASP.NET 4, you should always use the
<%: %> syntax instead..."However, I've noticed that <img src='<%=ResolveUrl("~/Images/MyImage.jpg")%>' alt="blah"> works, whereas <img src='<%: ResolveUrl("~/images/MyImage.jpg")%>' alt="blah">doesn't.I'm not sure what the name for these types of expressions are so I've had trouble googling it. If anybody can explain this, or knows of a website that can, I'd appreciate it.
View Complete Post