#
adrian.libotean
Hello,
I'm using Cuyahoga with ASP.Net 2.0 on VS2005 and created some custom modules that I then inherit into more specialized versions. The problem is that when the user control is instantiated all the web controls defined in the inherited .ascx are set to null, I believe that this is due to the way Cuyahoga instantiates the module control (using the path to the .ascx and not the type):
If someone knows a way to make this work please let me know. Thanks.
Adrian
I'm using Cuyahoga with ASP.Net 2.0 on VS2005 and created some custom modules that I then inherit into more specialized versions. The problem is that when the user control is instantiated all the web controls defined in the inherited .ascx are set to null, I believe that this is due to the way Cuyahoga instantiates the module control (using the path to the .ascx and not the type):
BaseModuleControl ctrl = (BaseModuleControl)this.LoadControl(UrlHelper.GetApplicationPath() + module.CurrentViewControlPath);
If someone knows a way to make this work please let me know. Thanks.
Adrian