#
swilliam
Dear All
Would it be a good idea to create, say, IModuleControl and IModule? That way you wouldn't have to subclass BaseModuleControl and Module Base to create modules. You would be able to reuse existing code that doesn't extend these classes. Creating a ModuleControl otherwise requires creating a dummy ModuleControl and ASCX and dynamically loading the actual class by filename (LoadControl(fileName)) because otherwise you get a cast exception from Cuyahoga.
Many thanks
Simon
Would it be a good idea to create, say, IModuleControl and IModule? That way you wouldn't have to subclass BaseModuleControl and Module Base to create modules. You would be able to reuse existing code that doesn't extend these classes. Creating a ModuleControl otherwise requires creating a dummy ModuleControl and ASCX and dynamically loading the actual class by filename (LoadControl(fileName)) because otherwise you get a cast exception from Cuyahoga.
Many thanks
Simon