Dim loHtmlHead As System.Web.UI.HtmlControls.HtmlHead = New System.Web.UI.HtmlControls.HtmlHead ' Add the Head control oProcess.oPage.Controls.Add(loHtmlHead)This will add the control but at the end of the page. So, I looked at the AddAt(), which requires an index. If I put 0, it is added at the very top. But, this is not where I want it as it will preceed the Html tag. I need it right under the Html tag. I have a reference to the Html tag as it is a runat=server control. However, with that reference, I am unable to find a way to get the index of that control.