DotNetNuke - Creating Modules that use other usercontrols

D

David Rose

I have an existing asp.net web application which contains several user
controls. Some of these user controls contain other user controls (generic
controls) which are located in a subdirectory. Now I am creating dotnetnuke
modules from each user control and am not sure how to deal with the generic
controls.

Ideally, I want to create a project housing these controls and then
reference it from the other modules, but am not sure how to do this. I
notice that the dotnetnuke modules are usercontrols housed in class library
project, but if I try to create a class library for the generic controls, I
get null reference exceptions, when I try to create a generic object from
modules.

I know I could use a web controls DLL, but know nothing about these and have
no time to learn. Currently the only way I can get them to work is to copy
the generic subdirectory into every dotnetnuke module project, but this is
far from efficient.

Thanks
 

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,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top