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