In my aspx file I have an episerver tag like this:
<EPiServer:Property PropertyName="Property1" runat="server" CssClass="<%= var1 %>" />
(the text "var1" is rendered in the html)
unfortunately, the episerver tag in this case don't work the same as normal asp.net tags:
<h3 class="<%= var1 %>" />
(the value of variable var1 is rendered in html)
How can I achieve the value of variable var1 to be evaluated correctly inside the episerver tags? Can you help with correct syntax please?