[MonoDevelop] ASP.NET 2.0 -Master Page

Marek Habersack grendello at gmail.com
Tue May 22 04:12:16 EDT 2007


On Tue, 22 May 2007 00:21:31 +0100, Paulo Aboim Pinto <esqueleto at tusofona.com>
scribbled:

> Master Page Code Behind:
> 
> using System;
> using System.Configuration;
> using System.Collections;
> using System.Web;
> using System.Web.Security;
> using System.Web.UI;
> using System.Web.UI.WebControls;
> using System.Web.UI.WebControls.WebParts;
> using System.Web.UI.HtmlControls;
> 
> namespace MasterPageExample
> {
>      public class chezTolib : System.Web.UI.MasterPage
>      {
>      }
> }
> 
> 
> Default.ASPX Code Behind
> 
> using System;
> using System.Web;
> using System.Web.UI;
> 
> namespace MasterPageExample
> {
>      public class Default : Page
>      {
>      }
> }
If this is your codebehind, then your .master and .aspx 'inherits' attributes
should look, respectively, like this:

Inherits="MasterPageExample.chezToLib"
Inherits="MasterPageExample.Default"

best regards,

marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070522/a8ec6f2d/attachment.bin 


More information about the Monodevelop-list mailing list