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 Googlin开发者_高级运维g 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.
See: https://github.com/ninject/ninject.web/issues/1
ASP.NET dynamic data: Table is not shown anymore after inserting data if FormView.Controls is accessed on Page.Initialized event
精彩评论