Basically I want to split up the Header into to two so I created a new control called TopHeader. I then copied the user information part, the login block. to the new control with the corresponding code from the old one. It builds ok but I get an error on the page something to do with a get on the actual ascx page not the code. Do I need to register the control somewhere to get it to work?
the control must be registered on the page where it will be used - eg <%@ Register src="modules/WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %>