开发者

Why Visual Studio Controls Event functions written, but it still gives error?

开发者 https://www.devze.com 2023-03-22 08:03 出处:网络
i was working in asp.net, suddenly i found that, the buttons and controls lost the code behind, like if i place a button and click on it, and as it automatically writes functions

i was working in asp.net, suddenly i found that, the buttons and controls lost the code behind, like if i place a button and click on it, and as it automatically writes functions but it still gives error 'ASP.meeting_schedular_aspx' d开发者_StackOverflowoes not contain a definition for 'Button1_Click1' and no extension method 'Button1_Click1' accepting a first argument of type 'ASP.meeting_schedular_aspx' could be found (are you missing a using directive or an assembly reference?)

Even there is definition of this function available in csharp file.


This error usually occurs when you hide the contents of master pages with manual css code, like we do styling display:none to the default master pages content.

0

精彩评论

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