2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Mon, 11 Aug 2003 21:18:07 +0000 (21:18 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Mon, 11 Aug 2003 21:18:07 +0000 (21:18 -0000)
* TemplateControl.cs: more Delegate.CreateDelegate fixes.

svn path=/trunk/mcs/; revision=17268

mcs/class/System.Web/System.Web.UI/ChangeLog
mcs/class/System.Web/System.Web.UI/TemplateControl.cs

index 836ba1ebad9e24cb83088ce3d6a174b936843ece..f628f01b6e1f1635058f4f080a3d37831c3e4e47 100644 (file)
@@ -1,3 +1,7 @@
+2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TemplateControl.cs: more Delegate.CreateDelegate fixes.
+
 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
 
        * PartialCachingControl.cs: is not abstract
index c5dc626e8f3c3a1fa43d3fbad569c82bfba79496..f5af80004dd527609b8b56466c12702e3139de27 100755 (executable)
@@ -99,7 +99,8 @@ namespace System.Web.UI {
                                if (evt == null)
                                        continue;
 
-                               evt.AddEventHandler (this, Delegate.CreateDelegate (typeof (EventHandler), method));
+                               evt.AddEventHandler (this, Delegate.CreateDelegate (
+                                                       typeof (EventHandler), this, method.Name));
                        }
                }