Am running VS2008 and it seems my web project's files are not linked properly. I created a web ASCX page and am populating the page with controls. When I attempt to add events to the code behind (via the designer properties back-tab) the designer creates a script block. How do I link the ASCX page to its respective code-behind file? I prefer to deploy the code-behind via a complied DLL. I am running C#.
<%@ Register assembly="DevExpress.Xpo.v8.2, Version=188.8.131.52, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1" namespace="DevExpress.Xpo" tagprefix="dxxpo" %>
protected void ASPxButtonUpdateReports_Click(object sender, EventArgs e)