You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question and maybe a potential bug to report, in case developer turns on the AutoEventWireup on System.Web.UI.Page or System.Web.UI.UserControl and uses let's say Init event e.g. "protected void Page_Init(object sender, EventArgs e)" at this point nothing is injected into properties etc.
The root of this problem is the call to RequestActivation(); in PageBase and UserControlBase which is called after base.OnInit(e); and all events are raised inside the base.OnInit.
Thoughts ?
The text was updated successfully, but these errors were encountered:
I think the issue here is that you need to use WebActivator to hookup the NinjectHttpModule via DynamicModuleUtility.RegisterModule(typeof(NinjectHttpModule)); and then this is working, but I have a situation where I can't add WebActivator to a project because it will break project's backward compatibility. So my question is, how can I hookup the NinjectHttpModule without the WebActivator ?
Note: I have tried adding modules to the web.config but had no luck.
I have a question and maybe a potential bug to report, in case developer turns on the AutoEventWireup on System.Web.UI.Page or System.Web.UI.UserControl and uses let's say Init event e.g. "protected void Page_Init(object sender, EventArgs e)" at this point nothing is injected into properties etc.
The root of this problem is the call to RequestActivation(); in PageBase and UserControlBase which is called after base.OnInit(e); and all events are raised inside the base.OnInit.
Thoughts ?
The text was updated successfully, but these errors were encountered: