Author: igorz
Date: 2006-11-07 07:53:08 -0500 (Tue, 07 Nov 2006)
New Revision: 67449

Modified:
   trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ImageButtonTest.cs
Log:
fix directive

Modified: 
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ImageButtonTest.cs
===================================================================
--- 
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ImageButtonTest.cs    
    2006-11-07 12:50:31 UTC (rev 67448)
+++ 
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ImageButtonTest.cs    
    2006-11-07 12:53:08 UTC (rev 67449)
@@ -118,7 +118,9 @@
                        HtmlTextWriter tw = new HtmlTextWriter (sw);
 
                        Page page = new Page ();
+#if NET_2_0
             page.EnableEventValidation = false;
+#endif
                        ImageButton b = new ImageButton ();                     
                        page.Controls.Add (b);
                        page.RenderControl (tw);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to