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
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