I am converting a web site project to a web application project in VS 2008 and i've run across a query regarding dynamically loading user controls.
<%@ Reference Control="~/UserControls/MyUserControl.ascx" %>
and then in the page I simply called...
Dim ucSupplierDetails As New ASP.usercontrols_myusercontrol_ascx
Sadly when updateing to a web applciation project, this is no longer a valid line. Is there an alternative?