Author: igorz
Date: 2006-11-27 09:57:50 -0500 (Mon, 27 Nov 2006)
New Revision: 68516

Modified:
   trunk/mcs/class/System.Web/System.Web.UI/ChangeLog
   trunk/mcs/class/System.Web/System.Web.UI/Control.cs
   trunk/mcs/class/System.Web/Test/System.Web.UI/ChangeLog
   trunk/mcs/class/System.Web/Test/System.Web.UI/ControlTest.cs
Log:
2006-11-27 Igor Zelmanovich <[EMAIL PROTECTED]>

        * Control.cs: implemented Focus methods.



Modified: trunk/mcs/class/System.Web/System.Web.UI/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/ChangeLog  2006-11-27 14:54:16 UTC 
(rev 68515)
+++ trunk/mcs/class/System.Web/System.Web.UI/ChangeLog  2006-11-27 14:57:50 UTC 
(rev 68516)
@@ -1,5 +1,9 @@
 2006-11-27 Igor Zelmanovich <[EMAIL PROTECTED]>
 
+       * Control.cs: implemented Focus methods.
+
+2006-11-27 Igor Zelmanovich <[EMAIL PROTECTED]>
+
        * Page.cs: implemented SetFocus methods.
        * PageLifeCycle.cs:     
 

Modified: trunk/mcs/class/System.Web/System.Web.UI/Control.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/Control.cs 2006-11-27 14:54:16 UTC 
(rev 68515)
+++ trunk/mcs/class/System.Web/System.Web.UI/Control.cs 2006-11-27 14:57:50 UTC 
(rev 68516)
@@ -1547,10 +1547,9 @@
                        }
                }
 
-               [MonoTODO]
                public virtual void Focus()
                {
-                       throw new NotImplementedException();
+                       Page.SetFocus (this);
                }
                
                protected internal virtual void LoadControlState (object state)

Modified: trunk/mcs/class/System.Web/Test/System.Web.UI/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/Test/System.Web.UI/ChangeLog     2006-11-27 
14:54:16 UTC (rev 68515)
+++ trunk/mcs/class/System.Web/Test/System.Web.UI/ChangeLog     2006-11-27 
14:57:50 UTC (rev 68516)
@@ -2,6 +2,10 @@
 
        * ControlTest.cs: removed NotWorking attributes.
 
+2006-11-27  Igor Zelmanovich   <[EMAIL PROTECTED]>
+
+       * ControlTest.cs: removed NotWorking attributes.
+
 2006-11-26  Igor Zelmanovich   <[EMAIL PROTECTED]>
 
        * ControlTest.cs: removed NotWorking attributes, fixed tests.

Modified: trunk/mcs/class/System.Web/Test/System.Web.UI/ControlTest.cs
===================================================================
--- trunk/mcs/class/System.Web/Test/System.Web.UI/ControlTest.cs        
2006-11-27 14:54:16 UTC (rev 68515)
+++ trunk/mcs/class/System.Web/Test/System.Web.UI/ControlTest.cs        
2006-11-27 14:57:50 UTC (rev 68516)
@@ -324,7 +324,6 @@
                }
 
                [Test]
-               [Category ("NotWorking")] // Not implemented exception
                public void Focus ()
                {
                        WebTest t = new WebTest (PageInvoker.CreateOnLoad 
(Focus_Load));

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

Reply via email to