Saturday, March 31, 2012

Sharing modules accross multiple portals.

I am developing an internal site that is running multiple portals. What I want to do is create a central location where I can put modules that all the portals can reference. This would be easier for obvious reasons. I'm new to .NET so maybe I'm missing something. When I try to reference the module in the location I created, it says it cannot include a module outside the portal. Any ideas?Are these ascx controls you are attempting to reference?
Yes
Hi,

There are a few insteresting hacks around that enable you to package user controls into a dll that you can register into the GAC, as resources.
But the simplest solution is still to have a virtual directory on each of your sites that points to the same user control repository directory.

Hope this helps.

0 comments:

Post a Comment