I have a ASP.NET web page developed in VS 2008 with the below Page directive in the aspx page
I placed a asp.net button control in my page and double clicked on it to write an event.It is showing the event (method) in the aspx page itself. Why it is not getting added to the aspx.cs file ?
I have removed the Inherits attribute from the page since i want to deploy this to an environment with aspx files and aspx.cs file. (NOT DLL’S)
Try this (replacing namespace.to.my.class with the namespace containing the SupplierAnalysis class definition):
You need the Inherits atttibue as well as CodeBehind.