I have a user control "header.ascx" that I would like to load into a place holder on some of my webpages. It will be functioning like a header. Can anyone offer me some guidance on how to do this (VB)? I gather that I will need to do something like the following:
Dim ctlHeader as Proj.Header = new Proj.Header
'not sure what goes on this line
Me.placeholder1.Controls.Add(ctlHeader)
Thanks!
Dim ctlHeader as Proj.Header = new Proj.Header
'not sure what goes on this line
Me.placeholder1.Controls.Add(ctlHeader)
Thanks!