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

L

Lloyd Dupont

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.
 
G

GrantMagic

I haven't played with 2.0 at all, but in 1.1 i have never placed a
runat=server in the Head tag
 
L

Lloyd Dupont

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 :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top