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.
精彩评论