Click to See Complete Forum and Search --> : Does an .aspx file need to be compiled before being used?


RJoe
January 21st, 2004, 05:12 PM
The following page.aspx is a very simple sample. But when I try to load it, it just prints 'ABCDED' as against making it a link. So, I was wondering if this file will first need to be compiled before being used.
Thanks in advance for any help.
RJoe

<script runat="server">
Sub Page_Load
link1.HRef="http://www.w3schools.com"
End Sub
</script><html>
<body><form runat="server">
<a id="link1" runat="server">ABCDEF</a>
</form></body>
</html>

ZoSoo7
January 23rd, 2004, 01:22 PM
the pages need to be built if you have server side code, so yes.