[Mono-bugs] [Bug 80129][Wis] New - 2.0/SVN: using masterpage class from within page code is not possible

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Dec 2 12:21:52 EST 2006


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 ck at carlo-kok.com.

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

--- shadow/80129	2006-12-02 12:21:52.000000000 -0500
+++ shadow/80129.tmp.12654	2006-12-02 12:21:52.000000000 -0500
@@ -0,0 +1,43 @@
+Bug#: 80129
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: grendello at gmail.com                            
+ReportedBy: ck at carlo-kok.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: 2.0/SVN: using masterpage class from within page code is not possible
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Things like (Master as MyMasterPage).Test() where MyMasterPAge is used by
+that page & Test exists gives:
+Compilation Error
+Description: Error compiling a resource required to service this request.
+Review your source file and modify it to fix this error.
+
+Error message:
+C:/Users/carlokok/Documents/Visual Studio
+2005/WebSites/WebSite3\Default.aspx.cs(15,18) : error CS0246: The type or
+namespace name `MyMasterPage' could not be found. Are you missing a using
+directive or an assembly reference?
+
+Steps to reproduce the problem:
+1. run xsp2 on the attached issue
+2. go to the website
+3. 
+
+Actual Results:
+Error above.
+
+Expected Results:
+Success.


More information about the mono-bugs mailing list