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

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top