Asp.net controls are not accessible in code behind

后端 未结 26 1146
慢半拍i
慢半拍i 2020-12-15 16:25

I have a project that was previously built by someone else. When I try to add a new control to the page, I can\'t access it in the code behind. When I try to access it there

26条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-15 17:27

    I have the same problem. I found the solution by removing "PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %>" from aspx page and it works normal now.

提交回复
热议问题