[Mono-bugs] [Bug 81132][Nor] New - CodeFileBaseClass page directive not allowed for 2.0 site

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Mar 13 19:31:15 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by mmorano at mikeandwan.us.

http://bugzilla.ximian.com/show_bug.cgi?id=81132

--- shadow/81132	2007-03-13 18:31:15.000000000 -0500
+++ shadow/81132.tmp.6142	2007-03-13 18:31:15.000000000 -0500
@@ -0,0 +1,39 @@
+Bug#: 81132
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mhabersack at novell.com                            
+ReportedBy: mmorano at mikeandwan.us               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: CodeFileBaseClass page directive not allowed for 2.0 site
+
+MS Asp.Net provides a means to extend the list of attributes available in
+the page directive (and potentially the control directive as well), where
+you can implement a custom class that extends System.Web.UI.Page.  Any
+(basic) property provided in this base class is then allowed in the list of
+attributes for the page directive that inherits from this base class.  
+
+In order for this to work, you specify the Inherits property which points
+at the codebehind class as usual.  However, you would also specify a
+CodeFileBaseClass attribute that references the base class that the
+codebehind extends.
+
+Currently mono does not allow for the CodeFileBaseClass attribute, let
+alone using this to provide for an extended set of attributes on the page
+directive.
+
+There is a good overview (and sample) of this here:
+http://weblogs.asp.net/scottgu/archive/2005/08/02/421405.aspx
+
+
+Thanks,
+Mike


More information about the mono-bugs mailing list