* Control.cs: implemented ObBubbleEvent.
* Page.cs: temporary workaround to make POST work with xsp server.
svn path=/trunk/mcs/; revision=7829
+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
}\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
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;