3

In my ASP.NET WebForms (3.5) application, adding the NinjectHttpModule to the <httpModules> section in the web config causes repeaters and listviews to lose their databound items on postback.

A bit of Googling showed that some others were experiencing the same issue but it none of their solutions are working for me.

I'm using Ninject.Web.MasterPageBase for my master pages and Ninject.Web.PageBase for all my pages. I'm also using the UserControlBase mentioned in the post I linked.

Omar
  • 39,496
  • 45
  • 145
  • 213
  • Wow, that's pretty alarming. Can't imagine how `NinjectHttpModule` is written such that it silently breaks code like this without throwing any errors. Good question, though. – Kirk Woll Jul 08 '11 at 02:41