OK I understand ASP.NET code is read from the top down. Can I code the HTML and then add all the kewl ASP code with absolute positiong of obects after the HTML?
I'de like to develope pages in RAD proggies like Dreamweaver or Corel Rave and what not and then add all the kewl ASP.NET stuff.
You can stick the code above the html or in the head within some script tags like so
<head>
<script runat="server">
code here
</script>
</head>
You can also put code in code behind file which is basically like a script section like this, but outside of the file and it is requested in the directive at the top, or in an extneral class. You can embed code within the body of your html as well
<a href="<% this code goes within the html and will fire on page load %>">this link was genorated by the code</a>
Bookmarks