dynamically including user control ...
Posted on 2004-09-16
there is probably a simple solution to this.
using asp.net (vb), i'm including a user control in one of my aspx pages. the thing is, the control i use will be determined by what the user chooses from a drop down menu.
my question is: how would i dynamically include that user control on my page?
for example, how would i dynamically change the src reference of the following namespace?
<%@ Register TagPrefix="UserControl" TagName="photos" Src="userControls/something.ascx" %>