Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0usercontrols shared between many modulesusercontrols shared between many modules
Previous
 
Next
New Post
7/9/2008 4:17 AM
 

Hi all ,

I have a  lot of usercontrols that is shared between many modules , what is the best place for them ?

or is it a good idea to make the modules depends on the usercontrols of the other modules ?

 


Anas Ghanem,
My blog
 
New Post
7/11/2008 1:15 AM
Accepted Answer 

Just put in DesktopModules/SharedUserControls (or whatever named). And in the other module, point to the right path of your shared user control.

If you mean that you just want to share functionality, then it's better to place on some library (DLL) and you can refference that DLL into your module. Or you can wrap user control programmatically by using code.

CMIIW.

HTH.

 
New Post
7/13/2008 2:49 AM
 

Yes , thanks .

I was wondering if there is a nothere way , because i don't want to modify the DNN website ,

Thanks


Anas Ghanem,
My blog
 
New Post
7/14/2008 3:09 AM
 

If you don't want to modify DNN website, then you have to create your user control programmatically from code. Then compile it. Place your DLL into bin folder. Then use it as reference for your other module. Your DLL will not modify DNN website. But you have to create from code.

Event, delegate, method, properties, create from code and wrap into a function. Your caller will call your function with return value as usercontrol.

CMIIW.

HTH.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0usercontrols shared between many modulesusercontrols shared between many modules


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out