2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 26 Sep 2002 00:56:48 +0000 (00:56 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 26 Sep 2002 00:56:48 +0000 (00:56 -0000)
* Control.cs: implemented ObBubbleEvent.
* Page.cs: temporary workaround to make POST work with xsp server.

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

mcs/class/System.Web/System.Web.UI/ChangeLog
mcs/class/System.Web/System.Web.UI/Control.cs
mcs/class/System.Web/System.Web.UI/Page.cs

index 4fd477121c8a5c27aaaaef38311cc61415874273..78e1153acb6ac6081f3c436c095b15f1d577b16e 100644 (file)
@@ -1,3 +1,8 @@
+2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs: implemented ObBubbleEvent.
+       * Page.cs: temporary workaround to make POST work with xsp server.
+
 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
index 7655e1e31a5f7ca7317dbf58ad9d460a6e8e02c1..6ae43861e2d19985049f89cf6da82c1daffb3abd 100644 (file)
@@ -457,16 +457,21 @@ namespace System.Web.UI
                         }\r
                 }\r
                 \r
-                               [MonoTODO]\r
                 protected void RaiseBubbleEvent(object source, EventArgs args)\r
                 {\r
-                        throw new NotImplementedException();\r
-                        //return false;\r
+                       Control c = Parent;\r
+                       while (c != null) {\r
+                               if (c.OnBubbleEvent (source, args))\r
+                                       break;\r
+                               c = c.Parent;\r
+                       }\r
                 }\r
+\r
                 protected virtual void Render(HtmlTextWriter writer) //DIT\r
                 {\r
                         RenderChildren(writer);\r
                 }\r
+\r
                 protected virtual void RenderChildren(HtmlTextWriter writer) //DIT\r
                 {\r
                         if (_renderMethodDelegate != null)\r
index 3c18c857391c038852699186ffbd1fc2275bdbc7..176827095e86be45acc04847594463d51b783d12 100755 (executable)
@@ -281,7 +281,8 @@ public class Page : TemplateControl, IHttpHandler
 
                NameValueCollection coll = null;
                if (IsPostBack)
-                       coll =  _context.Request.Form;
+                       //coll =  _context.Request.Form; FIXME: the correct is this one. commented out to let xsp work
+                       coll = _context.Request.QueryString;
                else 
                        coll = _context.Request.QueryString;