I have a Web Project named WebApplication1 which contains a web form named WebForm1.aspx. I have created a directory under the root virtual directory named CB which is also a virtual directory. I have stored the code behind for the page named WebForm1.aspx.cs in CB directory. When the project is built, it is built fine, but when the page is run, the events in the page’s code-behind are not fired. Like, I have Page_Load event which has a Response.Write. I have a label and a button. On clicking the button, text is written onto the label, but this is not happening.
The Page-Directive is as :-
<%@ Page Language="c#" Src="CB/WebForm1.aspx.cs" AutoEventWireup="false" %>