1 2010-06-01 Marek Habersack <mhabersack@novell.com>
3 * HtmlHead.cs: added code to render description and keywords metas
4 if the corresponding HtmlMeta controls aren't found and the user
5 set either Description or Keywords properties.
7 2009-12-22 Marek Habersack <mhabersack@novell.com>
9 * HtmlForm.cs: RenderChildren is slightly more efficient now.
11 2009-11-13 Marek Habersack <mhabersack@novell.com>
13 * HtmlForm.cs: reverted part of the previous patch - action is not
14 set to the result of calling ResolveClientUrl(action)
15 anymore. Fixes bug #554324
17 2009-10-30 Marek Habersack <mhabersack@novell.com>
19 * HtmlForm.cs: action is built using Request.ClientFilePath
20 (instead of Request.FilePath) and ResolveClientUrl, so that it's
21 correct even if url rewriting is being used.
23 2009-09-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
25 * HtmlSelectBuilder.cs: <option> allows the value of the 'selected'
26 attribute to be a boolean or the string "selected", which is treated
29 2009-06-16 Marek Habersack <mhabersack@novell.com>
31 * HtmlHeadBuilder.cs: use faster String.Compare overloads.
33 * HtmlHead.cs: implemented 4.0 properties Description and
36 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
38 * HtmlTitle.cs: HtmlTitle allows children that are not
39 LiteralControls. Fixes bug #511882.
41 2009-05-15 Marek Habersack <mhabersack@novell.com>
43 * HtmlForm.cs: if application isn't running on /, make sure we
44 generate the correct relative path for the action form attribute.
46 2009-04-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
48 * HtmlInputText.cs: make sure we're inside a Page before dereferencing
51 2008-11-06 Marek Habersack <mhabersack@novell.com>
53 * HtmlForm.cs: added the undocumented, but supported, Action
54 attribute. Fixes bug #442104
56 2008-10-17 Marek Habersack <mhabersack@novell.com>
58 * HtmlInputHidden.cs: validate the event in LoadPostDataInternal.
60 * HtmlInputButton.cs: validate the event in
61 RaisePostBackEventInternal ().
62 Register for event validation in RenderAttributes ()
64 * HtmlTextArea.cs: validate the event in
65 RaisePostBackDataChangedEvent ().
67 * HtmlButton.cs: validate the event in RaisePostBackEvent ().
68 Register for event validation in RenderAttributes ()
70 * HtmlAnchor.cs: validate the event in RaisePostBackEvent ().
71 Register for event validation in RenderAttributes ().
73 * HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in
76 * HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs,
77 HtmlInputPassword.cs: validate the event in
78 RaisePostDataChangedEvent ().
80 2008-10-07 Christian Hergert <christian.hergert@gmail.com>
82 * HtmlImage.cs: Do not render the src attribute if it is null or empty.
83 An empty src attribute makes browsers download the current page url as
86 2008-08-29 Marek Habersack <mhabersack@novell.com>
88 * HtmlHead.cs: call base.OnInit ()
89 If Page is null, throw an exception.
91 2008-07-25 Dean Brettle <dean@brettle.com>
93 * HtmlControl.cs (PreProcessRelativeReference),
94 HtmlForm.cs (RenderAttributes), HtmlInputButton (RenderAttributes),
95 HtmlInputRadioButton (RenderAttributes), HtmlSelect (RenderChildren):
96 Encode attributes that could contain HTML special chars.
98 * HtmlSelect (RenderChildren): HTML-encode option text.
100 2008-06-30 Marek Habersack <mhabersack@novell.com>
102 * HtmlForm.cs: hush the warnings
104 2008-06-08 Gert Driesen <drieseng@users.sourceforge.net>
106 * HtmlAnchor.cs: Do not render empty name, target or title attribute.
107 Removed extra check for target attribute in RenderAttributes. Use
108 string.Empty instead of "", and check string's Length instead of
109 comparison with "" or string.Empty. Minor code formatting.
111 2008-06-04 Juraj Skripksy <js@hotfeet.ch>
113 * HtmlAnchor.cs (Render): Add missing call to
114 ClientScriptManager.RegisterForEventValidation. Fixes bug #397142.
116 2008-06-04 Juraj Skripsky <js@hotfeet.ch>
118 * HtmlAnchor.cs: Do not render an empty href attribute.
121 2008-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
123 * HtmlForm.cs: fixed action attribute in RenderAttributes under
126 2008-02-06 Marek Habersack <mhabersack@novell.com>
128 * HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
129 mode. Fixes bug #354425
131 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
133 * HtmlSelect.cs: refactoring.
135 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
137 * HtmlSelect.cs: fix databinding (only 2.0), state management.
139 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
141 * HtmlSelect.cs: Fix infinite recursion (only in 2.0) found using
144 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
146 * HtmlForm.cs: refactoring.
148 2007-12-13 Marek Habersack <mhabersack@novell.com>
150 * HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
151 instead of String.Format in some cases.
153 2007-11-07 Juraj Skripsky <js@hotfeet.ch>
155 * HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
156 Fixes bug #339426 for master pages.
158 2007-11-06 Marek Habersack <mhabersack@novell.com>
160 * HtmlForm.cs: a small DetermineRenderUplevel optimization - the
161 result is now cached in a nullable boolean variable.
162 Render the 'onkeypress' attribute if DefaultButton is used. Fixes
165 2007-08-27 Marek Habersack <mhabersack@novell.com>
167 * HtmlForm.cs: make sure the ID is set before HtmlControls renders
168 the attributes. Fixes bug #82596
170 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
172 * HtmlHead.cs: refactoring, used AddAttribute overload without encoding
173 on known attribute values
175 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
177 * HtmlControl.cs: fixed PreProcessRelativeReference, should be used
180 2007-07-16 Marek Habersack <mhabersack@novell.com>
182 * HtmlHeadBuilder.cs: the <meta> tag should be supported as well.
184 * HtmlTitle.cs: if the tag has any children, or the render method
185 delegate has been defined, render the children. Output the
186 contents of Text otherwise. Fixes bug #82102
188 2007-05-08 Marek Habersack <mhabersack@novell.com>
190 * HtmlInputButton.cs: button of type 'reset' does not invoke
192 'reset' buttons clear all the controls in the form to their
195 2007-05-04 Marek Habersack <mhabersack@novell.com>
197 * HtmlAnchor.cs: use ResolveClientUrl when generating
198 attributes. Necessary if the control is in a master page which is
199 in a different directory than the current page.
201 2007-05-01 Marek Habersack <mhabersack@novell.com>
203 * HtmlForm.cs: do not use User-Agent directly, we must take
204 ClientTarget into account.
206 2007-04-27 Marek Habersack <mhabersack@novell.com>
208 * HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
209 paths that might happen in them.
211 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
213 * HtmlForm.cs: for TARGET_J2EE:
214 used Page.Request.Browser to determine RenderUplevel
216 2007-04-17 Marek Habersack <mhabersack@novell.com>
218 * HtmlForm.cs: use the new uplevel browser detection code.
220 2007-04-11 Marek Habersack <mhabersack@novell.com>
222 * HtmlInputHidden.cs:
229 * HtmlInputCheckBox.cs:
230 * HtmlInputRadioButton.cs:
231 * HtmlInputImage.cs: do not register the control for post back
232 processing or if it's disabled.
234 2007-04-06 Marek Habersack <mhabersack@novell.com>
236 * HtmlForm.cs: render the 'name' attribute only when in non-xhtml
239 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
241 * HtmlInputCheckBox.cs:
242 * HtmlInputControl.cs:
243 * HtmlInputHidden.cs:
244 * HtmlInputRadioButton.cs:
248 fixed: Form.SubmitDisabledControls feature:
249 not all HtmlInputControl need to be reenabled on client.
251 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
253 * HtmlForm.cs: Under TARGET_J2EE use Page.RenderResponse instead of
256 2007-01-20 Miguel de Icaza <miguel@novell.com>
258 * HtmlHead.cs: comment out unused code, in particular metadata is
259 commented out because nothing could have triggered its creation.
261 * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
263 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
265 * HtmlLink.cs: fixed RenderAttributes, href should be resolved
267 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
269 * HtmlForm.cs, HtmlAnchor.cs: Added J2EE Portal support for TARGET_J2EE.
271 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
273 * HtmlInputImage.cs: to handle correctly relative URLs to the image.
275 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
277 * HtmlInputRadioButton.cs: fixed: LoadPostData.
279 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
281 * HtmlImputImage.cs: fixed: OnServerClick.
283 2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
285 * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
288 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
290 * HtmlForm.cs: refactoring: Registering of client scripts
293 2006-11-17 Marek Habersack <grendello@gmail.com>
295 * HtmlInputHidden.cs: Added support for event validation.
297 * HtmlInputCheckBox.cs: Added support for event validation.
299 * HtmlInputImage.cs: Added support for event validation.
301 * HtmlInputButton.cs: Added support for event validation.
303 * HtmlSelect.cs: Added support for event validation.
305 * HtmlTextArea.cs: Added support for event validation.
307 * HtmlButton.cs: Added support for event validation.
309 * HtmlInputRadioButton.cs: Added support for event validation.
311 * HtmlInputText.cs: Added support for event validation.
313 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
315 * HtmlContainerControl.cs: fixed: InnerHtml property
317 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
320 HtmlTitle control is created if it was not declared in .aspx
322 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
325 make rendering of the onclick attribute to consider ValidationGroup property
327 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
330 make rendering of the onclick attribute to consider ValidationGroup property
332 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
334 * HtmlInputButton.cs:
335 make rendering of the onclick attribute to consider ValidationGroup property
337 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
340 implemented CausesValidation and ValidationGroup properties
342 2006-09-10 Vladimir Krasnov <vladimirk@mainsoft.com>
344 * HtmlInputFile.cs: fixed Value property
346 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
348 * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.
350 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
353 * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant
356 2006-07-12 Andrew Skiba <andrews@mainsoft.com>
358 * HtmlInputControl.cs: remove obsolete #if NET_2_0
360 2006-06-06 Juraj Skripsky <js@hotfeet.ch>
362 * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
365 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
367 * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
370 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
372 * HtmlInputRadioButton.cs: Value returns the ID only when there's no
373 "value" set. Fixes bug #78101.
375 2006-03-19 Vladimir Krasnov <vladimirk@mainsoft.com>
377 * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty
378 it shouldn't be rendered
379 * HtmlForm.cs: fixed Method, default method "post" should be added if
380 its value null or empty string
381 * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null
382 value, the fix is to remove attributes with empty string value too
384 2006-02-23 Chris Toshok <toshok@ximian.com>
386 * HtmlButton.cs: fix corcompare output.
388 * HtmlInputButton.cs: same.
390 * HtmlInputImage.cs: same.
392 * HtmlInputReset.cs: same.
394 2006-01-22 Chris Toshok <toshok@ximian.com>
396 * HtmlInputButton.cs:
397 s/GetPostBackClientEvent/GetPostBackEventReference.
399 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
401 * HtmlTableRow.cs: Cells is virtual in latest 1.1.
403 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
405 * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
407 * HtmlTable.cs: moved WriteLine around.
409 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
411 * HtmlForm.cs: more class-status fixes.
413 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
415 * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
417 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
419 * HtmlTable.cs: use the base class RenderChildren, as '_rows'
420 might not be the actual collection being used. Fixes bug #76815.
422 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
424 * HtmlInputFile.cs: if no one else set the encoding type for the
425 containing form and there's a HtmlInputFile, set Enctype to
426 'multipart/form-data'. Fixes bug #76837.
428 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
430 * HtmlInputButton.cs: render the onclick attribute only when the
431 button is a 'submit' and no validators or when the button is a
432 'button' and there's a registered ServerClick event. Fixes bug #76781.
434 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
436 * HtmlForm.cs: register the form and require viewstate hidden field to
437 be rendered in Render() even if OnInit is not called.
439 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
441 * HtmlHead.cs: fix the 2.0 build.
443 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
445 * HtmlForm.cs: when transfering from one page to another and using
446 cookieless session, we were doing pretty bad. Now, if the current path
447 and the original are the same, we just use the filename. Otherwise
448 we make the action location be relative to the original URL.
450 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
452 * HtmlInputButton.cs: render the onclick for doing a postback even when
453 there are no validators.
455 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
457 * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
459 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
461 * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
462 [UrlProperty] on HRef property for 2.0.
463 * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
464 * HtmlHead.cs: Remove IPageHeader interface.
465 * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
466 * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
467 * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
468 * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
469 * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
470 [UrlProperty] on Src property for 2.0.
471 * HtmlInputPassword.cs: Added [SupportsEventValidation].
472 * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
473 * HtmlInputReset.cs: Added [SupportsEventValidation].
474 * HtmlInputSubmit.cs: Added [SupportsEventValidation].
475 * HtmlInputText.cs: Added [SupportsEventValidation] on class and
476 re-enabled RenderAttribute for 2.0.
477 * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
478 * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
479 * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
481 2005-09-18 Chris Toshok <toshok@ximian.com>
483 * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
484 instead of AddAttribute when dealing with "onclick."
486 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
488 * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
490 2005-09-11 Chris Toshok <toshok@ximian.com>
492 * HtmlInputFile.cs (set_Value): add a message to the
493 NotSupportedException.
495 * HtmlInputControl.cs (RenderAttributes): add Page != null to the
496 checks before we register our control with the
497 __enabledControlArray JS array.
499 2005-09-09 Chris Toshok <toshok@ximian.com>
501 * HtmlInputButton.cs (CausesValidation): this is stored in
502 Attributes, not ViewState.
503 (ValidationGroup): same.
504 (RenderAttributes): remove CausesValidation from the list of
505 Attributes before calling base.RenderAttributes. Don't, however,
506 remove ValidationGroup, to replicate an MS bug.
508 2005-09-07 Chris Toshok <toshok@ximian.com>
510 * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
511 (Name): not sure about this property.. the getter apparently just
512 returns UniqueID, and the setter does nothing that I can figure
514 (RenderAttributes): don't bother to remove "name", since it's not
515 in the attributes anyway.
517 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
519 * HtmlInputControl.cs: use the Name property instead of the ClientID.
520 The 'name' attribute rendered contains colons if inside a
523 2005-09-07 Chris Toshok <toshok@ximian.com>
525 * HtmlInputCheckBox.cs (Checked): uncomment the
526 MinimizableAttributeTypeConverter attribute.
528 * HtmlControl.cs (Disabled): uncomment the
529 MinimizableAttributeTypeConverter attribute.
531 * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
533 * HtmlTableCell.cs (NoWrap): uncomment the
534 MinimizableAttributeTypeConverter attribute.
536 * HtmlLink.cs (Href): remove the MonoTODO.
538 * HtmlMeta.cs (Name): remove the MonoTODO.
540 (Render): add (pretty bogus, really..) implementation. not sure
541 why we need this one.
543 2005-09-06 Chris Toshok <toshok@ximian.com>
545 * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
548 2005-09-06 Chris Toshok <toshok@ximian.com>
550 * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
553 2005-09-06 Chris Toshok <toshok@ximian.com>
555 * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
556 (AddedControl): move the HtmlTitle logic here.
557 (RemovedControl): clear out the title if that was the control that
560 * HtmlLink.cs: new implementation.
562 * HtmlMeta.cs: new implementation.
564 2005-09-06 Chris Toshok <toshok@ximian.com>
566 * HtmlInputControl.cs (RenderAttributes): add ourselves to the
567 __enabledControlArray JS array if we're currently enabled and the
568 form is set to SubmitDisabledControls.
570 * HtmlForm.cs (OnInit): call Page.RegisterForm here.
571 (DetermineRenderUplevel): split this out of OnPreRender and make
572 it internal so HtmlInputControl can call it.
573 (OnPreRender): add handling for SubmitDisabledControls.
575 2005-09-05 Chris Toshok <toshok@ximian.com>
577 * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
578 or in the ViewState. where then?
579 (DefaultFocus): this one is stored in the ViewState, not as an
581 (SubmitDisabledControls): implement just as a boolean flag, not in
582 the viewstate or attributes.
583 (RenderAttributes): defaultfocus and defaultbutton are no longer
586 2005-09-04 Chris Toshok <toshok@ximian.com>
588 * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
590 * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
592 * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
594 * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
595 way, and in OnPreRender, call Page.RegisterRequiresPostback.
597 * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
598 and in OnPreRender, call Page.RegisterRequiresPostback.
600 * HtmlInputRadioButton.cs (OnPreRender): call
601 Page.RegisterRequiresPostback.
603 * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
604 Also, in OnPreRender, call Page.RegisterRequiresPostback.
606 * HtmlTextArea.cs (OnPreRender): call
607 Page.RegisterRequiresPostback.
609 2005-09-02 Chris Toshok <toshok@ximian.com>
611 * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
613 2005-09-02 Chris Toshok <toshok@ximian.com>
615 * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
617 * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
618 raisepostdatachangedevent, and raisepostbackevent.
619 (validationgroup): implement.
621 * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
622 and raisepostdatachangedevent.
624 * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
625 and RaisePostDataChangedEvent.
627 * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
628 body of both RaisePostBackEvent impl's here, and fix it up so we
629 use the property Page.Validate call in 2.0.
630 (RaisePostBackEvent): call RaisePostBackEventInternal.
631 (IPostBackEventHandler.RaisePostBackEvent): same.
633 * HtmlImage.cs (Align): the test case shows that we don't need to
636 2005-09-01 Sebastien Pouliot <sebastien@ximian.com>
638 * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
639 HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
640 HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
641 HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
642 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
643 HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
644 HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
645 HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
646 HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
647 attributes AspNetHostingPermission for Minimal level on all classes
648 (LinkDemand) and for non-sealed classes (InheritanceDemand).
650 2005-08-29 Chris Toshok <toshok@ximian.com>
652 * System.Web.UI.HtmlControls/HtmlTableCell.cs,
653 System.Web.UI.HtmlControls/HtmlInputFile.cs,
654 System.Web.UI.HtmlControls/HtmlForm.cs,
655 System.Web.UI.HtmlControls/HtmlInputText.cs,
656 System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
657 System.Web.UI.HtmlControls/HtmlAnchor.cs,
658 System.Web.UI.HtmlControls/HtmlButton.cs,
659 System.Web.UI.HtmlControls/HtmlTextArea.cs,
660 System.Web.UI.HtmlControls/HtmlGenericControl.cs,
661 System.Web.UI.HtmlControls/HtmlSelect.cs,
662 System.Web.UI.HtmlControls/HtmlTableRow.cs,
663 System.Web.UI.HtmlControls/HtmlControl.cs,
664 System.Web.UI.HtmlControls/HtmlImage.cs,
665 System.Web.UI.HtmlControls/HtmlTable.cs,
666 System.Web.UI.HtmlControls/HtmlInputButton.cs,
667 System.Web.UI.HtmlControls/HtmlInputControl.cs,
668 System.Web.UI.HtmlControls/HtmlInputImage.cs,
669 System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
670 System.Web.UI.HtmlControls/HtmlInputHidden.cs,
671 System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
674 2005-08-29 Chris Toshok <toshok@ximian.com>
676 * HtmlInputSubmit.cs: new implementation.
678 * HtmlInputReset.cs (ValidationGroup): implement
680 * HtmlInputButton.cs (ValidationGroup): implement.
682 2005-08-29 Chris Toshok <toshok@ximian.com>
684 * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
688 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
690 * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
691 but not used. Call ResolveUrl when rendering the attributes instead.
693 2005-08-28 Chris Toshok <toshok@ximian.com>
695 * HtmlHeadBuilder.cs: this is public.
697 * HtmlSelectBuilder.cs: in 2.0 this is public.
699 * HtmlInputButton.cs: fix boilerplate.
701 * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
702 (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
703 Page.Validation(ValidationGroup).
705 2005-08-28 Chris Toshok <toshok@ximian.com>
707 * HtmlInputReset.cs: mostly complete implementation.
709 2005-08-28 Chris Toshok <toshok@ximian.com>
711 * HtmlInputPassword.cs: doh, make this NET_2_0 only.
713 2005-08-28 Chris Toshok <toshok@ximian.com>
715 * HtmlInputPassword.cs: implement.
717 2005-08-28 Chris Toshok <toshok@ximian.com>
719 * HtmlImage.cs: corcompare fixes.
721 * HtmlInputCheckBox.cs: same.
723 2005-08-27 Chris Toshok <toshok@ximian.com>
725 * HtmlControl.cs (GetAttribute, SetAttribute): implement.
727 2005-08-27 Chris Toshok <toshok@ximian.com>
729 * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
730 (OnPreRender): figure out (hackishly) if we're uplevel rendering.
731 If we have a default button/focus control set, register webform.js
732 as a client script block, and emit some JS to focus the control.
733 (RenderAttributes): verify that the DefaultButton attribute points
734 to a valid IButtonControl implementing control. Also remove the
735 defaultfocus/defaultbutton attributes before calling
736 base.RenderAttributes.
738 2005-08-27 Kornél Pál <kornelpal@hotmail.com>
740 * HtmlTableCell.cs: Fixed to use Consts.
742 2005-08-26 Chris Toshok <toshok@ximian.com>
744 * HtmlButton.cs (ValidationGroup): implement.
745 (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
746 one body of the actual RaisePostBackEvent code. Also, call
747 Page.Validate(ValidationGroup) in the 2.0 case.
749 2005-08-25 Miguel de Icaza <miguel@novell.com>
751 * HtmlHead.cs: Implement constructor, pass the tag.
753 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
755 * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
757 2005-08-25 Chris Toshok <toshok@ximian.com>
759 * HtmlForm.cs (CreateControlCollection, OnPreRender,
760 RenderControl): implement naively, just calling base.Method.
762 2005-08-25 Chris Toshok <toshok@ximian.com>
764 * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
765 the last '/' when rendering the action. Fixes comments in
768 2005-08-24 Chris Toshok <toshok@ximian.com>
770 * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
771 HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
772 HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
773 Add MonoTODO's for all NotImplementedException's.
775 2005-08-18 Dick Porter <dick@ximian.com>
777 * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
778 HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
779 HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
780 HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
781 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
782 HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
784 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
786 * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
787 Load method (bad choice) to DefaultLoadPostData.
789 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
791 * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
792 * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
793 method. Fixed support for protected LoadPostData and
794 RaisePostDataChangedEvent in 2.0 (recursion).
795 * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
796 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
797 * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
798 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
800 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
802 * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
803 for 2.0 profile. The class seems to be internal and not (yet?)
806 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
808 * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
809 * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
810 (at least) HtmlInputControl in 2.0 profile.
811 * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
812 * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
814 2005-08-09 Dick Porter <dick@ximian.com>
816 * HtmlSelect.cs: Clear databindings when adding a new one; cope
817 with assorted combinations of empty text and value fields; write
818 <option> tags manually to match ms HTML output. All fix nunit
821 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
823 * HtmlInputControl.cs: Remove code to handle password (wrong place)
824 and fixed type handling for 2.0.
825 * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
826 the type == password. Tests indicates that the value is present for
829 2005-08-05 Dick Porter <dick@ximian.com>
831 * HtmlSelect.cs: Fix databinding when one or other of Name and
832 Value aren't supplied (thanks to Peter for the patch); Make
833 <option> indenting match ms output.
835 2005-07-30 Ben Maurer <bmaurer@ximian.com>
837 * HtmlForm.cs: Make sure we actually put the "?" in the url
839 2005-07-29 Dick Porter <dick@ximian.com>
841 * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
842 instead of building the query string by hand
844 2005-07-27 Dick Porter <dick@ximian.com>
846 * HtmlInputCheckBox.cs: New implementation
848 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
850 * HtmlSelect.cs: Added missing attributes
852 2005-07-26 Dick Porter <dick@ximian.com>
854 * HtmlSelect.cs: New implementation
856 2005-07-26 Miguel de Icaza <miguel@novell.com>
858 * HtmlForm.cs: It is possible to have keys with no values in the
859 query string, do not try to process those on the foreach loop.
861 The question is: what should happen if I only get the key?
863 Example: file_with_a_form.aspx?a
865 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
867 * HtmlForml.cs: Implemented UniqueID (new in sp1)
868 * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
870 2005-07-24 Dick Porter <dick@ximian.com>
872 * HtmlForm.cs: Add the trailing query string to the form action;
873 fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
875 2005-07-22 Dick Porter <dick@ximian.com>
877 * HtmlInputFile.cs: Add assembly attributes
879 2005-07-21 Dick Porter <dick@ximian.com>
881 * HtmlImage.cs: The src attribute needs to be a relative URL;
882 close the HTML element when rendering attributes, to match the MS
885 * HtmlForm.cs: Added assembly attributes; don't render ID twice;
886 don't render enctype and target if they are empty strings;
887 implement a Render overload to keep corcompare quiet.
889 2005-07-20 Chris Toshok <toshok@ximian.com>
891 * HtmlForm.cs (RenderAttributes): if there are submit statements,
892 we need to render those.
894 * HtmlInputImage.cs: same.
896 * HtmlInputButton.cs: hook up the client validation stuff.
898 * HtmlButton.cs: same, except a lot more complicated due to
901 2005-07-19 Dick Porter <dick@ximian.com>
903 * HtmlImage.cs: Added attributes; use Int32.Parse instead of
906 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
908 * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
909 ControlID for Name (and not ID). Added ControlBuilder attribute.
910 * HtmlTable.cs: Simplify check when adding controls.
911 * HtmlTableRow.cs: Simplify check when adding controls.
913 2005-07-18 Jackson Harper <jackson@ximian.com>
915 * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
918 2005-07-15 Jackson Harper <jackson@ximian.com>
920 * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
921 constant. Update fetching from viewstate code to use new
924 2005-07-15 Jackson Harper <jackson@ximian.com>
926 * HtmlInputButton.cs: Add DefaultEventAttribute.
928 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
930 * HtmlInputControl.cs: Removed internal property (no more required to
932 * HtmlInputRadioButton.cs: Optimized events.
933 * HtmlInputText.cs: Optimized events.
934 * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
936 * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
938 * HtmlTextArea.cs: Optimized events.
940 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
942 * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
943 result) and fixed compatibility for a weird behaviour of the HRef
944 attribute handling. Optimized events.
946 2005-07-14 Jackson Harper <jackson@ximian.com>
948 * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
949 string constant. Use new method for accessing ViewState
950 data. Don't remove value from the view state if it is the default.
952 2005-07-14 Jackson Harper <jackson@ximian.com>
954 * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
955 string constant. Use new method for accessing ViewState
956 data. Don't remove value from the view state if it is the default.
958 2005-07-14 Dick Porter <dick@ximian.com>
960 * HtmlInputFile.cs: New implementation
962 2005-07-14 Jackson Harper <jackson@ximian.com>
964 * HtmlInputControl.cs: Use ClientID for input controls name.
966 2005-07-14 Dick Porter <dick@ximian.com>
968 * HtmlForm.cs: New Implementation
970 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
972 * HtmlTable.cs: Added missing attributes.
973 * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
974 as the builder's type isn't public.
975 * HtmlInputControl.cs: Added missing attributes.
976 * HtmlInputText.cs: Added missing attributes.
977 * HtmlInputRadioButton.cs: Added missing attributes.
978 * HtmlAnchor.cs: Added missing attributes.
979 * HtmlTextArea.cs: Added missing attributes.
980 * HtmlTableRow.cs: Added missing attributes.
982 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
984 * HtmlAnchor.cs: Added DefaultValue attributes.
985 * HtmlInputControl.cs: Added DefaultValue attributes.
986 * HtmlInputRadioButton.cs: Added DefaultValue attributes.
987 * HtmlInputText.cs: Added DefaultValue attributes. Added method
988 RenderAttributes in 1.1 profile.
989 * HtmlTable.cs: Fix DefaultValue to "".
990 * HtmlTextArea.cs: Added DefaultValue attributes.
992 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
994 * HtmlTableCell.cs: Added DefaultValue attributes.
995 * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
996 * HtmlTableRowCollection.cs: Reworked collection to share data with
998 * HtmlTableCellCollection.cs: Reworked collection to share data with
999 HtmlTableRow.Controls.
1000 * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
1002 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
1004 * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
1006 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
1008 * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
1010 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
1012 * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
1014 * HtmlTextArea.cs: New implementation.
1016 2005-07-07 Jackson Harper <jackson@ximian.com>
1018 * HtmlInputImage.cs: New implementation.
1020 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
1022 * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
1023 * HtmlInputControl.cs: New implementation.
1024 * HtmlInputRadioButton.cs: New implementation.
1025 * HtmlInputText.cs: New implementation.
1027 2005-07-07 Jackson Harper <jackson@ximian.com>
1029 * HtmlInputHidden.cs: New implementation.
1031 2005-07-07 Jackson Harper <jackson@ximian.com>
1033 * HtmlAnchor.cs: Call base OnPreRender from override.
1035 2005-07-07 Jackson Harper <jackson@ximian.com>
1037 * HtmlInputButton.cs: New implementation.
1039 2005-07-07 Dick Porter <dick@ximian.com>
1041 * HtmlImage.cs: New implementation
1043 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
1045 * HtmlAnchor.cs: Fixed to remove attributes properly.
1046 * HtmlTable.cs: New implementation.
1047 * HtmlTableCell.cs: New implementation.
1048 * HtmlTableCellCollection.cs: New implementation.
1049 * HtmlTableRow.cs: New implementation.
1050 * HtmlTableRowCollection.cs: New implementation.
1052 2005-07-06 Jackson Harper <jackson@ximian.com>
1054 * HtmlButton.cs: New implementation.
1056 2005-07-06 Sebastien Pouliot <sebastien@ximian.com>
1058 * HtmlAnchor.cs: New implementation.
1060 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1063 * HtmlControl.cs: updates for 1.1 SP1.
1065 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1067 * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
1070 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
1072 * HtmlHead.cs: Fix warning.
1074 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
1076 * HtmlForm.cs: Use the new WriteSubmitStatements method from
1079 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
1081 * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
1082 Page.GetPostBackClientEvent since it is deprecated in 2.0.
1084 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
1086 * HtmlForm.cs: Register the form in the page, so the page knows
1087 which is the main form.
1089 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
1091 * HtmlHead.cs: Method name fix.
1093 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1095 * HtmlForm.cs: submitStatements holds Hashtables.
1097 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
1099 * HtmlHead.cs: Implemented.
1100 * HtmlHeadBuilder.cs: Implemented.
1101 * HtmlTitle.cs: Implemented.
1103 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1105 * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
1107 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1109 * HtmlForm.cs: fixed the Action property when running a different
1110 page than the one requested (Transfer). Closes bug #69318.
1112 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
1114 * HtmlForm.cs: Add submit statements from the new Page.ClientScript
1117 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1119 * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
1120 it and failed when the browser was IE.
1122 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1124 * HtmlForm.cs: default value for Enctype is "".
1125 * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
1126 we set it to "multipart/form-data". Fixes bug #58359.
1128 2004-01-15 Alon Gazit <along@mainsoft.com>
1129 * HtmlForm.cs: The property name always return the value of the
1132 2003-12-28 Alon Gazit <along@mainsoft.com>
1133 * HtmlSelect.cs: fix typo in LoadPostData().
1135 2003-12-29 Alon Gazit <along@mainsoft.com>
1136 * HtmlInputButton.cs: update the implementation of RenderAttributes().
1137 Change the if statement that determines if the onclick script is
1140 2003-12-28 Alon Gazit <along@mainsoft.com>
1141 * HtmlSelect.cs: add parentheses to if statement.
1142 Currently the else statement refers to the inner if statement.
1144 2003-12-28 Alon Gazit <along@mainsoft.com>
1145 * HtmlSelect.cs: fix upper bound of for statement.
1147 2003-12-19 Jackson Harper <jackson@ximian.com>
1149 * HtmlInputFile.cs: Do not set value when loading post data.
1151 2003-12-14 Alon Gazit <along@mainsoft.com>
1152 * HtmlInputButton.cs: The problem was in RenderAttributes().
1153 Before adding the script to the HTML, the number of Validators should
1154 be checked. fixes bug #52158.
1156 2003-12-07 Alon Gazit <along@mainsoft.com>
1157 * HtmlTableCell.cs: fixing a typo in NoWrap property.
1159 2003-12-04 Jackson Harper <jackson@ximian.com>
1161 * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
1162 value. This is because radio button groups are created by setting
1163 the name to the same value with each button, then on postback the
1164 value of the name is the id of the selected radio button.
1166 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1168 * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
1170 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1172 * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
1173 remove the code used to workaround that.
1175 2003-12-01 Jackson Harper <jackson@ximian.com>
1177 * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
1178 <along@mainsoft.com>.
1180 2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1182 * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
1183 <along@mainsoft.com>. Fixes bug #51377.
1185 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1187 * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
1188 <along@mainsoft.com>.
1190 2003-10-29 Jackson Harper <jackson@ximian.com>
1192 * HtmlControl.cs: Make disabled an attribute of the control so it
1193 is rendered. This is a slightly modifed version of a patch
1194 by Yaron Shkop. Fixes bug #50160.
1196 2003-10-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1198 * HtmlTextArea.cs: fixed infinite recursion.
1200 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1202 * HtmlForm.cs: render the onsubmit attribute.
1204 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1206 * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
1207 need to pass true here. Fixes bug #47918.
1209 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1211 * HtmlContainerControl.cs: Added attributes
1212 * HtmlControl.cs: Added attributes
1213 * HtmlInputControl.cs: Fixed public signature
1214 * HtmlInputRadioButton.cs: Fixed public signature
1215 * HtmlSelect.cs: Added missing attribute
1216 * HtmlTable.cs: Added missing attribute
1218 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1220 * HtmlSelect.cs: fixed bug #44894.
1222 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1225 * HtmlInputControl.cs:
1226 * HtmlSelect.cs: added control builder attribute.
1228 * HtmlSelectBuilder.cs: builder for HtmlSelect.
1230 * HtmlControlBuilder.cs: common builder for all HtmlControls.
1232 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1234 * HtmlControl.cs: _tagName is now internal.
1235 * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
1238 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1240 * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
1242 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1244 * HtmlInputButton.cs: fixed bug #35677.
1246 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1248 * HtmlInputControl.cs: fixed bug #35673.
1250 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1252 * HtmlInputText.cs: fixed bug #35670.
1254 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1256 * HtmlSelect.cs: fixed LoadViewstate.
1258 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1260 * HtmlButton.cs: make it do a POST if the button has any ServerClick
1263 2002-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1267 * HtmlContainerControl.cs:
1270 * HtmlGenericControl.cs:
1272 * HtmlInputButton.cs:
1273 * HtmlInputCheckBox.cs:
1274 * HtmlInputControl.cs:
1276 * HtmlInputHidden.cs:
1277 * HtmlInputImage.cs:
1278 * HtmlInputRadioButton.cs:
1284 * HtmlTextArea.cs: added almost all missing attributes.
1286 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1288 * HtmlControl.cs: the attributes must use ViewState as its StateBag,
1289 if not style values are lost between postbacks.
1291 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1295 * HtmlInputButton.cs:
1296 * HtmlInputCheckBox.cs:
1297 * HtmlInputHidden.cs:
1298 * HtmlInputImage.cs:
1300 * HtmlTextArea.cs: Initialize EventHandlerList indexer.
1302 * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
1303 instead of maintaining some flags and strings. Implemented
1306 * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
1308 * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
1311 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1313 * HtmlGenericControl.cs: fixed TagName signature and get/set.
1314 * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
1315 * HtmlInputText.cs: added attribute.
1317 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1319 * HtmlForm.cs: don't render action attribute.
1321 2002-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1323 * HtmlContainerControl.cs:
1324 (CreateControlCollection): added. All containers must have a non-empty
1327 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1329 * System.Web.UI.HtmlControls/HtmlAnchor.cs:
1330 * System.Web.UI.HtmlControls/HtmlButton.cs:
1331 * System.Web.UI.HtmlControls/HtmlControl.cs:
1332 * System.Web.UI.HtmlControls/HtmlForm.cs:
1333 * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
1334 * System.Web.UI.HtmlControls/HtmlInputButton.cs:
1335 * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
1336 * System.Web.UI.HtmlControls/HtmlInputControl.cs:
1337 * System.Web.UI.HtmlControls/HtmlInputFile.cs:
1338 * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
1339 * System.Web.UI.HtmlControls/HtmlInputImage.cs:
1340 * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
1341 * System.Web.UI.HtmlControls/HtmlInputText.cs:
1342 * System.Web.UI.HtmlControls/HtmlSelect.cs:
1343 * System.Web.UI.HtmlControls/HtmlTable.cs:
1344 * System.Web.UI.HtmlControls/HtmlTableCell.cs:
1345 * System.Web.UI.HtmlControls/HtmlTableRow.cs:
1346 * System.Web.UI.HtmlControls/HtmlTextArea.cs:
1348 Fixes based on class status page:
1350 - Add attributes (DefaultEvent, ParseChildren).
1352 - Explicitly implement some interfaces (IPostBackDataHandler
1353 and IPostBackEventHandler).
1354 - Implemented some missing methods.
1356 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1359 (RenderChildren): use OnFormRender and OnFormPostRender.
1361 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1364 (RenderAttributes): new -> override and fixes stack overflow.
1365 (RenderChildren): only 1 option can be selected at any given time
1366 except when Multiple property is true.
1367 (Multiple): the attribute value is either "true" or "false", not
1372 (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
1375 (RenderEndTag): new -> override.
1378 (RenderChildren): fixed another stack overflow.
1379 (RenderEndTag): new -> override.
1382 (RenderAttributes): new -> override.
1385 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1387 * HtmlInputHidden.cs: fixed constructor.
1389 * HtmlInputRadioButton.cs:
1390 (RenderAttributes): fixed stack overflow.
1393 (RenderedName): new -> override.
1395 (Value): new property.
1398 (RenderAttributes): fixed the same kind of stack overflow and make
1399 string comparison case insensitive.
1401 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1403 * HtmlForm.cs: fixed name of Enctype property and render enctype
1406 * HtmlInputControl.cs: tag type is "input", not "type".
1408 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1410 * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
1413 * HtmlForm.cs: Render output when no IE browser.
1415 * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
1416 though now it always use the other .ctor.
1418 * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
1420 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1422 * HtmlButton.cs: RenderAttributes is an override, not new.
1424 * HtmlContainerControl.cs: use the new Render method in HtmlControl.
1426 * HtmlControl.cs: added Render method to render the tag and its
1427 attributes. Works for container and non-containers.
1429 * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
1432 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1434 * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
1435 instead of Page.Server to encode InnerText.
1437 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1440 (RenderAttributes): new -> override and fixed little bug that made
1441 it cause an stack overflow.
1443 * HtmlContainerControl.cs: reformatted and added tag and attributes
1446 * HtmlGenericControl.cs: removed TagName, which is already in
1450 (RenderEndTag): new -> override.
1452 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1454 * System.Web.UI.HtmlControls/HtmlForm.cs:
1455 (RenderAttributes): changed new by override.
1456 (Name): allow setting the property.
1458 2002-05-10 Duncan Mak <duncan@ximian.com>
1460 * HtmlTableCellCollection.cs (this): Updated the indexer to return
1461 the right type, HtmlTableCell instead of HtmlTableRow.
1463 * HtmlInputImage.cs (OnServerClick): Commented out parts that
1466 * HtmlForm.cs (RenderAttributes):
1467 (RenderChildren): Commented out code that doesn't compile.
1469 2002-05-07 Duncan Mak <duncan@ximian.com>
1471 * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
1472 clashing with the method defined in the parent class.
1473 (OnDataBinding): Added missing casts.
1475 * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
1476 'this' to IAttributeAccessor before calling interface method.
1477 Also renamed some calls to reflect changes in the API.
1479 * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
1482 2001-09-03 Leen Toelen <toelen@hotmail.com>
1484 * HtmlAnchor.cs: Initial implementation.
1485 * HtmlTextArea.cs: Initial implementation.
1487 2001-08-22 Bob Smith <bob@thestuff.net>
1489 * HtmlContainerControl.cs: Initial implementation.
1490 * HtmlControl.cs: Initial implementation.
1491 * HtmlGenericControl.cs: Initial implementation.