* UI/UserControl.cs: fixed ParseChildren attribute to be compliant to .net
* WebControls/Content.cs:
* WebControls/Label.cs:
* WebControls/ListControl.cs:
* WebControls/MultiView.cs:
* WebControls/WebControl.cs: fixed ParseChildren attribute to be compliant to .net
* HtmlControls/HtmlTable.cs:
* HtmlControls/HtmlTableRow.cs: fixed ParseChildren attribute to be compliant to .net
svn path=/trunk/mcs/; revision=63490
* 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
svn path=/trunk/mcs/; revision=58162
* HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
for cells.
* HtmlTable.cs: moved WriteLine around.
svn path=/trunk/mcs/; revision=53705
* HtmlTable.cs: use the base class RenderChildren, as '_rows'
might not be the actual collection being used. Fixes bug #76815.
svn path=/trunk/mcs/; revision=53593
* 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.
svn path=/trunk/mcs/; revision=53567
* 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.
svn path=/trunk/mcs/; revision=53316
* HtmlForm.cs: register the form and require viewstate hidden field to
be rendered in Render() even if OnInit is not called.
svn path=/trunk/mcs/; revision=50986
* 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.
svn path=/trunk/mcs/; revision=50560
* 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.
svn path=/trunk/mcs/; revision=50248
* HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
instead of AddAttribute when dealing with "onclick."
svn path=/trunk/mcs/; revision=50204
* 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.
svn path=/trunk/mcs/; revision=49915
* 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.
svn path=/trunk/mcs/; revision=49822
* 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.
svn path=/trunk/mcs/; revision=49668
* HtmlInputControl.cs: use the Name property instead of the ClientID.
The 'name' attribute rendered contains colons if inside a
NamingContainer.
svn path=/trunk/mcs/; revision=49656
* 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.
svn path=/trunk/mcs/; revision=49581
* 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.
svn path=/trunk/mcs/; revision=49574
* 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.
svn path=/trunk/mcs/; revision=49510
* 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.
svn path=/trunk/mcs/; revision=49408
* 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.
svn path=/trunk/mcs/; revision=49352