![]() |
|
|
|||||||
![]() |
ASP Net - [ASP.NET 2.0beta] master page & <head runat=server> |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
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 |
|
|
|
|
#2 |
|
Posts: n/a
|
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. > |
|
|
|
#3 |
|
Posts: n/a
|
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. >> > > |
|