2007-01-07 Eyal Alaluf * HtmlInputImage.cs: to handle correctly relative URLs to the image. 2007-01-07 Igor Zelmanovich * HtmlInputRadioButton.cs: fixed: LoadPostData. 2007-01-07 Igor Zelmanovich * HtmlImputImage.cs: fixed: OnServerClick. 2006-12-27 Gonzalo Paniagua Javier * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See bug #76974. 2006-11-27 Igor Zelmanovich * HtmlForm.cs: refactoring: Registering of client scripts moved to Page. 2006-11-17 Marek Habersack * HtmlInputHidden.cs: Added support for event validation. * HtmlInputCheckBox.cs: Added support for event validation. * HtmlInputImage.cs: Added support for event validation. * HtmlInputButton.cs: Added support for event validation. * HtmlSelect.cs: Added support for event validation. * HtmlTextArea.cs: Added support for event validation. * HtmlButton.cs: Added support for event validation. * HtmlInputRadioButton.cs: Added support for event validation. * HtmlInputText.cs: Added support for event validation. 2006-11-13 Igor Zelmanovich * HtmlContainerControl.cs: fixed: InnerHtml property 2006-09-18 Igor Zelmanovich * HtmlHead.cs: HtmlTitle control is created if it was not declared in .aspx 2006-09-17 Igor Zelmanovich * HtmlButton.cs: make rendering of the onclick attribute to consider ValidationGroup property 2006-09-17 Igor Zelmanovich * HtmlInputImage.cs: make rendering of the onclick attribute to consider ValidationGroup property 2006-09-17 Igor Zelmanovich * HtmlInputButton.cs: make rendering of the onclick attribute to consider ValidationGroup property 2006-09-17 Igor Zelmanovich * HtmlAnchor.cs: implemented CausesValidation and ValidationGroup properties 2006-09-10 Vladimir Krasnov * HtmlInputFile.cs: fixed Value property 2006-08-23 Gonzalo Paniagua Javier * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle. 2006-08-08 Vladimir Krasnov * HtmlTable.cs: * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant to .net 2006-07-12 Andrew Skiba * HtmlInputControl.cs: remove obsolete #if NET_2_0 2006-06-06 Juraj Skripsky * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest. Fixes bug #78591. 2006-04-21 Gonzalo Paniagua Javier * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes bug #78074. 2006-04-21 Gonzalo Paniagua Javier * HtmlInputRadioButton.cs: Value returns the ID only when there's no "value" set. Fixes bug #78101. 2006-03-19 Vladimir Krasnov * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty it shouldn't be rendered * HtmlForm.cs: fixed Method, default method "post" should be added if its value null or empty string * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null value, the fix is to remove attributes with empty string value too 2006-02-23 Chris Toshok * HtmlButton.cs: fix corcompare output. * HtmlInputButton.cs: same. * HtmlInputImage.cs: same. * HtmlInputReset.cs: same. 2006-01-22 Chris Toshok * HtmlInputButton.cs: s/GetPostBackClientEvent/GetPostBackEventReference. 2005-12-01 Gonzalo Paniagua Javier * HtmlTableRow.cs: Cells is virtual in latest 1.1. 2005-11-30 Gonzalo Paniagua Javier * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time for cells. * HtmlTable.cs: moved WriteLine around. 2005-11-28 Gonzalo Paniagua Javier * HtmlForm.cs: more class-status fixes. 2005-11-28 Gonzalo Paniagua Javier * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802. 2005-11-28 Gonzalo Paniagua Javier * HtmlTable.cs: use the base class RenderChildren, as '_rows' might not be the actual collection being used. Fixes bug #76815. 2005-11-28 Gonzalo Paniagua Javier * HtmlInputFile.cs: if no one else set the encoding type for the containing form and there's a HtmlInputFile, set Enctype to 'multipart/form-data'. Fixes bug #76837. 2005-11-21 Gonzalo Paniagua Javier * HtmlInputButton.cs: render the onclick attribute only when the button is a 'submit' and no validators or when the button is a 'button' and there's a registered ServerClick event. Fixes bug #76781. 2005-09-29 Gonzalo Paniagua Javier * HtmlForm.cs: register the form and require viewstate hidden field to be rendered in Render() even if OnInit is not called. 2005-09-28 Gonzalo Paniagua Javier * HtmlHead.cs: fix the 2.0 build. 2005-09-22 Gonzalo Paniagua Javier * HtmlForm.cs: when transfering from one page to another and using cookieless session, we were doing pretty bad. Now, if the current path and the original are the same, we just use the filename. Otherwise we make the action location be relative to the original URL. 2005-09-19 Gonzalo Paniagua Javier * HtmlInputButton.cs: render the onclick for doing a postback even when there are no validators. 2005-09-19 Sebastien Pouliot * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC. 2005-09-19 Sebastien Pouliot * HtmlAnchor.cs: Added [SupportsEventValidation] on class and [UrlProperty] on HRef property for 2.0. * HtmlButton.cs: Added [SupportsEventValidation] for 2.0. * HtmlHead.cs: Remove IPageHeader interface. * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0. * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0. * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0. * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0. * HtmlInputImage.cs: Added [SupportsEventValidation] on class and [UrlProperty] on Src property for 2.0. * HtmlInputPassword.cs: Added [SupportsEventValidation]. * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0. * HtmlInputReset.cs: Added [SupportsEventValidation]. * HtmlInputSubmit.cs: Added [SupportsEventValidation]. * HtmlInputText.cs: Added [SupportsEventValidation] on class and re-enabled RenderAttribute for 2.0. * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0. * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0. * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0. 2005-09-18 Chris Toshok * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute instead of AddAttribute when dealing with "onclick." 2005-09-14 Sebastien Pouliot * HtmlHead.cs: Fixed parameter orders for CreateStyleRule. 2005-09-11 Chris Toshok * HtmlInputFile.cs (set_Value): add a message to the NotSupportedException. * HtmlInputControl.cs (RenderAttributes): add Page != null to the checks before we register our control with the __enabledControlArray JS array. 2005-09-09 Chris Toshok * HtmlInputButton.cs (CausesValidation): this is stored in Attributes, not ViewState. (ValidationGroup): same. (RenderAttributes): remove CausesValidation from the list of Attributes before calling base.RenderAttributes. Don't, however, remove ValidationGroup, to replicate an MS bug. 2005-09-07 Chris Toshok * HtmlForm.cs (DefaultFocus): not stored in Attributes either. (Name): not sure about this property.. the getter apparently just returns UniqueID, and the setter does nothing that I can figure out. (RenderAttributes): don't bother to remove "name", since it's not in the attributes anyway. 2005-09-07 Gonzalo Paniagua Javier * HtmlInputControl.cs: use the Name property instead of the ClientID. The 'name' attribute rendered contains colons if inside a NamingContainer. 2005-09-07 Chris Toshok * HtmlInputCheckBox.cs (Checked): uncomment the MinimizableAttributeTypeConverter attribute. * HtmlControl.cs (Disabled): uncomment the MinimizableAttributeTypeConverter attribute. * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO. * HtmlTableCell.cs (NoWrap): uncomment the MinimizableAttributeTypeConverter attribute. * HtmlLink.cs (Href): remove the MonoTODO. * HtmlMeta.cs (Name): remove the MonoTODO. (Scheme): same. (Render): add (pretty bogus, really..) implementation. not sure why we need this one. 2005-09-06 Chris Toshok * HtmlInputControl.cs (RenderAttributes): Check Page.Form for null. 2005-09-06 Chris Toshok * HtmlInputControl.cs (RenderAttributes): use ClientID instead of ID. 2005-09-06 Chris Toshok * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare. (AddedControl): move the HtmlTitle logic here. (RemovedControl): clear out the title if that was the control that was removed. * HtmlLink.cs: new implementation. * HtmlMeta.cs: new implementation. 2005-09-06 Chris Toshok * HtmlInputControl.cs (RenderAttributes): add ourselves to the __enabledControlArray JS array if we're currently enabled and the form is set to SubmitDisabledControls. * HtmlForm.cs (OnInit): call Page.RegisterForm here. (DetermineRenderUplevel): split this out of OnPreRender and make it internal so HtmlInputControl can call it. (OnPreRender): add handling for SubmitDisabledControls. 2005-09-05 Chris Toshok * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute, or in the ViewState. where then? (DefaultFocus): this one is stored in the ViewState, not as an Attribute. (SubmitDisabledControls): implement just as a boolean flag, not in the viewstate or attributes. (RenderAttributes): defaultfocus and defaultbutton are no longer in Attributes. 2005-09-04 Chris Toshok * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way. * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way. * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way. * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right way, and in OnPreRender, call Page.RegisterRequiresPostback. * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way, and in OnPreRender, call Page.RegisterRequiresPostback. * HtmlInputRadioButton.cs (OnPreRender): call Page.RegisterRequiresPostback. * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way. Also, in OnPreRender, call Page.RegisterRequiresPostback. * HtmlTextArea.cs (OnPreRender): call Page.RegisterRequiresPostback. 2005-09-02 Chris Toshok * HtmlSelect.cs: implement 2.0 DataSourceID data binding. 2005-09-02 Chris Toshok * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO. * htmlinputimage.cs: implement the 2.0 versions of loadpostdata, raisepostdatachangedevent, and raisepostbackevent. (validationgroup): implement. * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata and raisepostdatachangedevent. * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData and RaisePostDataChangedEvent. * HtmlInputButton.cs (RaisePostBackEventInternal): split out the body of both RaisePostBackEvent impl's here, and fix it up so we use the property Page.Validate call in 2.0. (RaisePostBackEvent): call RaisePostBackEventInternal. (IPostBackEventHandler.RaisePostBackEvent): same. * HtmlImage.cs (Align): the test case shows that we don't need to validate input. 2005-09-01 Sebastien Pouliot * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs, HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs, HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs, HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs, HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs, HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs, HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs, HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs, HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security attributes AspNetHostingPermission for Minimal level on all classes (LinkDemand) and for non-sealed classes (InheritanceDemand). 2005-08-29 Chris Toshok * System.Web.UI.HtmlControls/HtmlTableCell.cs, System.Web.UI.HtmlControls/HtmlInputFile.cs, System.Web.UI.HtmlControls/HtmlForm.cs, System.Web.UI.HtmlControls/HtmlInputText.cs, System.Web.UI.HtmlControls/HtmlInputRadioButton.cs, System.Web.UI.HtmlControls/HtmlAnchor.cs, System.Web.UI.HtmlControls/HtmlButton.cs, System.Web.UI.HtmlControls/HtmlTextArea.cs, System.Web.UI.HtmlControls/HtmlGenericControl.cs, System.Web.UI.HtmlControls/HtmlSelect.cs, System.Web.UI.HtmlControls/HtmlTableRow.cs, System.Web.UI.HtmlControls/HtmlControl.cs, System.Web.UI.HtmlControls/HtmlImage.cs, System.Web.UI.HtmlControls/HtmlTable.cs, System.Web.UI.HtmlControls/HtmlInputButton.cs, System.Web.UI.HtmlControls/HtmlInputControl.cs, System.Web.UI.HtmlControls/HtmlInputImage.cs, System.Web.UI.HtmlControls/HtmlInputCheckBox.cs, System.Web.UI.HtmlControls/HtmlInputHidden.cs, System.Web.UI/Control.cs: Add WebSysDescription/WebCategory attributes. 2005-08-29 Chris Toshok * HtmlInputSubmit.cs: new implementation. * HtmlInputReset.cs (ValidationGroup): implement * HtmlInputButton.cs (ValidationGroup): implement. 2005-08-29 Chris Toshok * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings. * HtmlForm.cs: same. 2005-08-28 Gonzalo Paniagua Javier * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set but not used. Call ResolveUrl when rendering the attributes instead. 2005-08-28 Chris Toshok * HtmlHeadBuilder.cs: this is public. * HtmlSelectBuilder.cs: in 2.0 this is public. * HtmlInputButton.cs: fix boilerplate. * HtmlInputImage.cs (RaisePostBackEvent): add missing argument. (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call Page.Validation(ValidationGroup). 2005-08-28 Chris Toshok * HtmlInputReset.cs: mostly complete implementation. 2005-08-28 Chris Toshok * HtmlInputPassword.cs: doh, make this NET_2_0 only. 2005-08-28 Chris Toshok * HtmlInputPassword.cs: implement. 2005-08-28 Chris Toshok * HtmlImage.cs: corcompare fixes. * HtmlInputCheckBox.cs: same. 2005-08-27 Chris Toshok * HtmlControl.cs (GetAttribute, SetAttribute): implement. 2005-08-27 Chris Toshok * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties. (OnPreRender): figure out (hackishly) if we're uplevel rendering. If we have a default button/focus control set, register webform.js as a client script block, and emit some JS to focus the control. (RenderAttributes): verify that the DefaultButton attribute points to a valid IButtonControl implementing control. Also remove the defaultfocus/defaultbutton attributes before calling base.RenderAttributes. 2005-08-27 Kornél Pál * HtmlTableCell.cs: Fixed to use Consts. 2005-08-26 Chris Toshok * HtmlButton.cs (ValidationGroup): implement. (RaisePostBackEvent): gross #ifdef-iry to make sure we only have one body of the actual RaisePostBackEvent code. Also, call Page.Validate(ValidationGroup) in the 2.0 case. 2005-08-25 Miguel de Icaza * HtmlHead.cs: Implement constructor, pass the tag. 2005-08-25 Sebastien Pouliot * HtmlHead.cs: Fixed base class (to HtmlGenericControl). 2005-08-25 Chris Toshok * HtmlForm.cs (CreateControlCollection, OnPreRender, RenderControl): implement naively, just calling base.Method. 2005-08-25 Chris Toshok * HtmlForm.cs (RenderAttributes): don't strip off the stuff after the last '/' when rendering the action. Fixes comments in nGallery. 2005-08-24 Chris Toshok * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs, HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs, HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs: Add MonoTODO's for all NotImplementedException's. 2005-08-18 Dick Porter * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs, HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs, HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs, HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs, HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs, HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes 2005-08-15 Sebastien Pouliot * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed Load method (bad choice) to DefaultLoadPostData. 2005-08-15 Sebastien Pouliot * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0. * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData method. Fixed support for protected LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion). * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion). * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion). 2005-08-15 Sebastien Pouliot * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap for 2.0 profile. The class seems to be internal and not (yet?) implemented. 2005-08-13 Sebastien Pouliot * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile. * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for (at least) HtmlInputControl in 2.0 profile. * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile. * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile. 2005-08-09 Dick Porter * HtmlSelect.cs: Clear databindings when adding a new one; cope with assorted combinations of empty text and value fields; write