Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - [ASP.NET 2.0beta] master page & <head runat=server>

 
Thread Tools Search this Thread
Old 09-22-2004, 01:27 PM   #1
Default [ASP.NET 2.0beta] master page & <head runat=server>


I wonder what's the point of this runat=server (in the head tag)?
because:
1. if I remove it, it works just as well.
2. if I let it, all my <% %> tag inside the head fail with some index out of
range exception.




Lloyd Dupont
  Reply With Quote
Old 09-22-2004, 02:05 PM   #2
GrantMagic
 
Posts: n/a
Default Re: [ASP.NET 2.0beta] master page & <head runat=server>
I haven't played with 2.0 at all, but in 1.1 i have never placed a
runat=server in the Head tag

"Lloyd Dupont" <> wrote in message
news:OgHIJ%...
>I wonder what's the point of this runat=server (in the head tag)?
> because:
> 1. if I remove it, it works just as well.
> 2. if I let it, all my <% %> tag inside the head fail with some index out
> of range exception.
>





GrantMagic
  Reply With Quote
Old 09-22-2004, 11:46 PM   #3
Lloyd Dupont
 
Posts: n/a
Default Re: [ASP.NET 2.0beta] master page & <head runat=server>
well, when you create a new master page with VS.NET, the newly created
master page is like that....

anyway I removed it and it works fine, I will change the template

"GrantMagic" <> wrote in message
news:...
>I haven't played with 2.0 at all, but in 1.1 i have never placed a
>runat=server in the Head tag
>
> "Lloyd Dupont" <> wrote in message
> news:OgHIJ%...
>>I wonder what's the point of this runat=server (in the head tag)?
>> because:
>> 1. if I remove it, it works just as well.
>> 2. if I let it, all my <% %> tag inside the head fail with some index out
>> of range exception.
>>

>
>





Lloyd Dupont
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
master page does not change due to preinit event not firing franchise63 General Help Related Topics 0 02-13-2008 09:18 AM
master page & app_theme folder doesn't work dummies2 General Help Related Topics 0 09-04-2007 05:41 PM
Classic Original Broadcasts Trading List - Updated ( w/o/c ) porkys1982@sbcglobal.net DVD Video 0 12-05-2005 03:38 AM
Classic Original Broadcasts Trading List - Updated ( w/o/c ) porkys1982@sbcglobal.net DVD Video 0 11-19-2005 04:46 PM
Original Airings : The A-Team , M*A*S*H , Taxi , Barney Miller , WKRP porkys1982@sbcglobal.net DVD Video 0 08-15-2005 03:09 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46