Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > [ASP.NET 2.0beta] master page & <head runat=server>

Reply
Thread Tools

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

 
 
Lloyd Dupont
Guest
Posts: n/a
 
      09-22-2004
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.


 
Reply With Quote
 
 
 
 
GrantMagic
Guest
Posts: n/a
 
      09-22-2004
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.
>



 
Reply With Quote
 
 
 
 
Lloyd Dupont
Guest
Posts: n/a
 
      09-22-2004
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.
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB 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
What does this runat=server means in this head element Tony Johansson ASP .Net 1 11-29-2010 10:52 AM
Disable head runat=server for some pages? Christopher ASP .Net 0 03-26-2008 02:22 AM
Some pages not require head runat=server for Themes? Christopher ASP .Net 0 03-22-2008 08:11 AM
DynamicHoverStyle Bug w/<head runat="server" /> =?Utf-8?B?VG9t?= ASP .Net 0 06-22-2006 02:09 PM
How to modify <head> tag when using a master page? ericgla@gmail.com ASP .Net 6 12-06-2005 12:59 AM



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 47 48 49 50 51 52 53 54 55 56 57