Dynamically loading a Web User Control from a seperate DLL

L

Luwk

Hi,
I have a major issue regarding Web User Controls in ASP .Net2.
In my project, I need to load various assemblies [dll libraries] which
are defined in the configuration file.
Each of these assemblies has a unique Web User Control that handles its
configuration.

Here is the problem:
In order to be able to display user controls in Visual Studio 2005,
you need to reference them in the aspx/ascx file where they will be
implemented [by adding the following tag -
<%@ Reference VirtualPath="~/PrimaryControls/GenericControl.ascx"
%> ]

But since I am dynamically loading the assembly files, hence their Web
User Controls, I cannot add this reference and specify the link to the
assembly.

Please let me know if I am missing any steps or working erroneously.

Cheers and Regards.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top