diff options
author | Duncan Mak <duncan@mono-cvs.ximian.com> | 2002-05-10 19:02:22 +0400 |
---|---|---|
committer | Duncan Mak <duncan@mono-cvs.ximian.com> | 2002-05-10 19:02:22 +0400 |
commit | bab5fdb7f4c3502e21a98b153c05fe629dea6599 (patch) | |
tree | afec65cbcf2b1bce2228113d8af2c00412b245f6 /mcs/class/System.Web/System.Web.UI.HtmlControls | |
parent | 4ba17360619f4193c961334aa426c7b0b7e6dbc5 (diff) |
2002-05-10 Duncan Mak <duncan@ximian.com>
* System.Web.build: Include the System.Web.UI.HtmlControls namespace.
* Page.cs:
* ValidatorCollection.cs: Stubs to make things compile for
now. Added one dummy method (RegisterClientScriptFile) that's used
in the existing codebase, but not in MS docs.
* HtmlInputImage.cs (OnServerClick): Commented out parts that
won't compile.
* HtmlForm.cs (RenderAttributes):
(RenderChildren): Commented out code that doesn't compile.
svn path=/trunk/mcs/; revision=4488
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.HtmlControls')
3 files changed, 20 insertions, 12 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog b/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog index e112d3be38a..92478d12eda 100644 --- a/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog +++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog @@ -1,3 +1,11 @@ +2002-05-10 Duncan Mak <duncan@ximian.com> + + * HtmlInputImage.cs (OnServerClick): Commented out parts that + won't compile. + + * HtmlForm.cs (RenderAttributes): + (RenderChildren): Commented out code that doesn't compile. + 2002-05-07 Duncan Mak <duncan@ximian.com> * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlForm.cs b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlForm.cs index 5cd4d2e7e81..af583f3be5f 100644 --- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlForm.cs +++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlForm.cs @@ -23,15 +23,15 @@ namespace System.Web.UI.HtmlControls{ writer.WriteAttribute("action",Action,true);
Attributes.Remove("action");
- string clientOnSubmit = Page.ClientOnSubmitEvent;
- if (clientOnSubmit != null && clientOnSubmit.Length > 0){
- if (Attributes["onsubmit"] != null){
- clientOnSubmit = String.Concat(clientOnSubmit,Attributes["onsubmit"]);
- Attributes.Remove("onsubmit");
- }
- writer.WriteAttribute("language","javascript");
- writer.WriteAttribute("onsubmit",clientOnSubmit);
- }
+// string clientOnSubmit = Page.ClientOnSubmitEvent;
+// if (clientOnSubmit != null && clientOnSubmit.Length > 0){
+// if (Attributes["onsubmit"] != null){
+// clientOnSubmit = String.Concat(clientOnSubmit,Attributes["onsubmit"]);
+// Attributes.Remove("onsubmit");
+// }
+// writer.WriteAttribute("language","javascript");
+// writer.WriteAttribute("onsubmit",clientOnSubmit);
+// }
if (ID == null){
writer.WriteAttribute("id",ClientID);
}
@@ -57,9 +57,9 @@ namespace System.Web.UI.HtmlControls{ }
protected override void RenderChildren(HtmlTextWriter writer){
- Page.OnFormRender(writer,ClientID);
+ // Page.OnFormRender(writer,ClientID);
base.RenderChildren(writer);
- Page.OnFormPostRender(writer,ClientID);
+ // Page.OnFormPostRender(writer,ClientID);
}
protected override void OnInit(EventArgs e){
diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputImage.cs b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputImage.cs index 3ac74919160..a8a45da640d 100755 --- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputImage.cs +++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputImage.cs @@ -26,7 +26,7 @@ namespace System.Web.UI.HtmlControls{ protected void OnServerClick(ImageClickEventArgs e){
ImageClickEventHandler handler = (ImageClickEventHandler) Events[EventServerClick];
- if (handler != null) handler.Invoke(this, e);
+ // if (handler != null) handler.Invoke(this, e);
}
protected override void RenderAttributes(HtmlTextWriter writer){
|