[Mono-list] Help with codebehind and xsp
Gregory Cook
monodev at birdsnestsoftware.net
Sat Oct 15 21:35:00 EDT 2005
Hi Marc,
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#"
Codebehind=Dept.aspx.cs
AutoEventWireup="false"
Inherits="NonIT.Dept" %>
<%@ Assembly name="Dept" %>
<HTML>
<HEAD>
.
.
.
in Dept.aspx.cs :
using System;
using System.Data;
using System.Collections;
using System.Configuration;
using ByteFX.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace NonIT
{
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:
> Hello,
>
> 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?
>
> Thanks
> Marc
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list