Public Function GetHeader() As String Dim lcHeaderHttps As String = "" Dim loHead As System.Web.UI.HtmlControls.HtmlGenericControl = New System.Web.UI.HtmlControls.HtmlGenericControl() Dim loStringBuilder As StringBuilder = New StringBuilder() ' If we are under Https If lHeaderHttps Then lcHeaderHttps = oProcess.oApp.cHttps End If ' Put the BASE HREF in the head loHead = oProcess.oPage.FindControl("Head") loHead.InnerHtml = "<TITLE>" + oProcess.oApp.cTitle + "</TITLE>" + _ "<BASE HREF=" + oProcess.oApp.cHttp + ">" + _ "<link rel=""STYLESHEET"" href=""StyleSheet.css"" type=""text/css"">" ' If we want the header If lHeader Then loStringBuilder.Append("<A HREF=http://localhost/optic/Administration.aspx>Administration</A>") loStringBuilder.Append("<P>") End If Return loStringBuilder.ToString End FunctionBut, this is ok for as long as I do not have anything the head control already. But, in one specific page, we need to have some custom code in the head control. So, basically, this method will do its work but should also take in consideration to add the actual custom code of the head control. So, basically, on the loHead.InnerHtml line, I could simple replace the = sign with +=. But, when doing it, I have: