How would I go about finding on my ASPX page (from codebehind) and then adding the attribute "runat=server" to it?
I have tried using Page.header.attributes.add(...) and(HtmlHead) Page.FindControl("head"); The second one obviously won't work as the Head tag doesnt have an ID.
I can't work out how to change this property and I can't change or add any additional code to the ASPX page - like ID's etc.
runat="server"from code-behind, because you can't access it programmatically unless it hasrunat="server"in the first place. Kind of a catch 22.