thnx, but the problem is that i don't write the inline tags. I get them and
i have first to analyze them and, if nessesary, correct them.
otherways, attribute id is the best choise(it has all support from
codebehind)
sorry for the direct replay
"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:O8****************@TK2MSFTNGP12.phx.gbl...
If you add the runat='server' attribute to the header tags then you can
access them from your code behind.
Here's more info and a good example using the Title tag:
http://www.aspalliance.com/kenc/faq5.aspx
Another option would be to turn the whole header section into a user
control. This gives you ultimate flexibility. Then you can output
whatever you want wherever you want within the header.
--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"Peter Licen" <pe*********@nps.si> wrote in message
news:eX****************@TK2MSFTNGP10.phx.gbl... my server control generates part of page from codebehind. I get other
part from different source.
how can i get <head></head> (written inline on .aspx) from the
ControlCollection(.aspx.vb)? For example - i would like to insert
metatags.
it looks getting it by ID(which i don't have) is the only possibillity
(i don't want to override rendering )
any idea(getting it by TagName maybe)?
thnx