[Mono-bugs] [Bug 76580][Maj] New - Problem when compiling (at runtime) a user web control

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Oct 28 05:10:23 EDT 2005


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 informatique.internet at fiducial.fr.

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

--- shadow/76580	2005-10-28 05:10:23.000000000 -0400
+++ shadow/76580.tmp.19380	2005-10-28 05:10:23.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 76580
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: informatique.internet at fiducial.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Problem when compiling (at runtime) a user web control
+
+I've made a very simple web control:
+
+
+namespace MonoTestLib
+{
+       public class TestComposant:System.Web.UI.WebControls.Label
+       {
+
+		public enum CWebContextMenuStyle
+		{
+			Test1,
+			Test2,
+			Standard
+		}
+
+		public TestComposant():base()
+		{
+			
+		}
+
+	
+		public CWebContextMenuStyle MenuStyle
+		{
+			get
+			{
+				if (ViewState["CSSPREFIX"]==null)
+					return CWebContextMenuStyle.Standard;
+				else
+					return (CWebContextMenuStyle)ViewState["CSSPREFIX"];
+			}			
+			set
+			{
+				ViewState["CSSPREFIX"]=value;
+			}
+		}	
+     }
+}


More information about the mono-bugs mailing list