Access <script> tag from codebehind
Posted
by Hoque
on Stack Overflow
See other posts from Stack Overflow
or by Hoque
Published on 2010-06-07T07:32:35Z
Indexed on
2010/06/07
7:42 UTC
Read the original article
Hit count: 285
I was trying to access existing within Head tag.
What I was doing to achieve that,
foreach (Control ctrl in Header.Controls)
{
Response.Write(lc.GetType() + "<br/>");
}
It gives me the reference of "title", "meta" and "literal" control. How can I get the control and get the "src" attribute of that tag.
© Stack Overflow or respective owner