I am trying to use <%=%>
in server controls but it isn't working.
This is my code:
<input type="button" runat="server" value="<< Previous" id="btnPrevious"
onclick="location.href='<%=PreviousLink %>'"/>
PreviousLink
is property defined in page.
When I view the page the whole expression is written as it without being evaluated.