Late binding User Controls

  • Thread starter Christian Hubinger
  • Start date
C

Christian Hubinger

Hi!

I'm working on a plugin based CMS system. I've put all code-behind
classes of my user controls in a WebControl dll and the ascx files in a
seperate folder. This works fine when i directely reference the dll from
my base web application.
As i like to have the thin plugin based i tried to remove the referebnce
to the dll from the main app and added following code to my page to load
the dll into the runtime:
Assembly ass = Assembly.Load( path );

I get following error:
File or assembly name
c:\inetpub\wwwroot\FrameworkTest\HRManager\SediSys.Portal.HRManager.WebPL.Controls.dll,
or one of its dependencies, was not found.

but when i browse the directory i see all needed dlls in there.

what can be wrong with that code?

thanks and greetings,
chris
 

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,772
Messages
2,569,593
Members
45,112
Latest member
VinayKumar Nevatia
Top