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, 12: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, 01: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.
>



  Reply With Quote
Old 09-22-2004, 10: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.
>>

>
>



  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
Forum Jump