[Mono-list] Help with codebehind and xsp
monodev at birdsnestsoftware.net
Sat Oct 15 21:35:00 EDT 2005
This code behind setup below worked for me. If you post the same
someone might spot something.
in Dept.aspx :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<%@ Page language="c#"
<%@ Assembly name="Dept" %>
in Dept.aspx.cs :
public class Dept : System.Web.UI.Page
protected System.Web.UI.WebControls.Literal litError;
protected System.Web.UI.WebControls.Label lblSelectPortfolio;
I used MonoDevelop to build and a post build script to copy .dll
from ../bin/Debug to ../bin.
Hope this helps!
Gregory A. Cook
Principal, Galexan LLC
Email: gregory.cook at galexan.com
On Sat, 2005-10-15 at 15:13 -0400, Marc Boorshtein wrote:
> I'm looking for some help dealling with codebehind and xsp. i've
> created a page called index.aspx. I then created a DLL that contains a
> class MyNS.Index which extends System.Web.UI.Page. I coppied the dll
> into the "bin" directory (other classes in the dll can be loaded) but
> even though I added "Inherits" to the page directive, it doesn't seem
> to want to work. am i missing something?
> Mono-list maillist - Mono-list at lists.ximian.com
More information about the Mono-list