I am new to .Net from classic ASP. Can I not have a Function in <% %> tags? I used to do this all the time in classic ASP. It does not appear to work in asp.net. It works if I put them in <SCRIPT RUNAT=server> tags. Is there no way around this? Thanks.