D
D. Shane Fowlkes
I'm a fairly skilled traditional ASP/VB programmer and am learning .NET. I
was (recently) surprised to read in a book about declaring and defining all
my page Functions in <script runat="server"></script> tags and these tags
"should" be after the <html> tag but before the <body> tag.
I'm used to writing all of my "logic" including functions, in block
delimiter tags such as <% %> above the <html> tag. So, is my method now
"old school" and should I write all of my logic in a <script> tag or is this
just another way of doing the same thing?
Right or wrong, I just prefer to write all of the logic in the very top of
the page before the HTML begins.....
--
*********************************
D. Shane Fowlkes - TMM
Saving the world, one web site at a time.
http://www.shanefowlkes.com
*********************************
was (recently) surprised to read in a book about declaring and defining all
my page Functions in <script runat="server"></script> tags and these tags
"should" be after the <html> tag but before the <body> tag.
I'm used to writing all of my "logic" including functions, in block
delimiter tags such as <% %> above the <html> tag. So, is my method now
"old school" and should I write all of my logic in a <script> tag or is this
just another way of doing the same thing?
Right or wrong, I just prefer to write all of the logic in the very top of
the page before the HTML begins.....
--
*********************************
D. Shane Fowlkes - TMM
Saving the world, one web site at a time.
http://www.shanefowlkes.com
*********************************