开发者

Ninject's NinjectHttpModule causing ASP.NET databound controls to lose data

开发者 https://www.devze.com 2023-03-17 23:30 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消