1 2010-07-09 Marek Habersack <mhabersack@novell.com>
3 * HtmlInputButton.cs: if ServerClick handler is found, do NOT
4 attribute-encode the onclick attribute.
6 2010-06-21 Marek Habersack <mhabersack@novell.com>
8 * HtmlControl.cs: PreProcessRelativeReference deos not
9 atribute-encode the attribute value. Fixes bug #596430
11 2010-06-01 Marek Habersack <mhabersack@novell.com>
13 * HtmlHead.cs: added code to render description and keywords metas
14 if the corresponding HtmlMeta controls aren't found and the user
15 set either Description or Keywords properties.
17 2009-12-22 Marek Habersack <mhabersack@novell.com>
19 * HtmlForm.cs: RenderChildren is slightly more efficient now.
21 2009-11-13 Marek Habersack <mhabersack@novell.com>
23 * HtmlForm.cs: reverted part of the previous patch - action is not
24 set to the result of calling ResolveClientUrl(action)
25 anymore. Fixes bug #554324
27 2009-10-30 Marek Habersack <mhabersack@novell.com>
29 * HtmlForm.cs: action is built using Request.ClientFilePath
30 (instead of Request.FilePath) and ResolveClientUrl, so that it's
31 correct even if url rewriting is being used.
33 2009-09-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
35 * HtmlSelectBuilder.cs: <option> allows the value of the 'selected'
36 attribute to be a boolean or the string "selected", which is treated
39 2009-06-16 Marek Habersack <mhabersack@novell.com>
41 * HtmlHeadBuilder.cs: use faster String.Compare overloads.
43 * HtmlHead.cs: implemented 4.0 properties Description and
46 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
48 * HtmlTitle.cs: HtmlTitle allows children that are not
49 LiteralControls. Fixes bug #511882.
51 2009-05-15 Marek Habersack <mhabersack@novell.com>
53 * HtmlForm.cs: if application isn't running on /, make sure we
54 generate the correct relative path for the action form attribute.
56 2009-04-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
58 * HtmlInputText.cs: make sure we're inside a Page before dereferencing
61 2008-11-06 Marek Habersack <mhabersack@novell.com>
63 * HtmlForm.cs: added the undocumented, but supported, Action
64 attribute. Fixes bug #442104
66 2008-10-17 Marek Habersack <mhabersack@novell.com>
68 * HtmlInputHidden.cs: validate the event in LoadPostDataInternal.
70 * HtmlInputButton.cs: validate the event in
71 RaisePostBackEventInternal ().
72 Register for event validation in RenderAttributes ()
74 * HtmlTextArea.cs: validate the event in
75 RaisePostBackDataChangedEvent ().
77 * HtmlButton.cs: validate the event in RaisePostBackEvent ().
78 Register for event validation in RenderAttributes ()
80 * HtmlAnchor.cs: validate the event in RaisePostBackEvent ().
81 Register for event validation in RenderAttributes ().
83 * HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in
86 * HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs,
87 HtmlInputPassword.cs: validate the event in
88 RaisePostDataChangedEvent ().
90 2008-10-07 Christian Hergert <christian.hergert@gmail.com>
92 * HtmlImage.cs: Do not render the src attribute if it is null or empty.
93 An empty src attribute makes browsers download the current page url as
96 2008-08-29 Marek Habersack <mhabersack@novell.com>
98 * HtmlHead.cs: call base.OnInit ()
99 If Page is null, throw an exception.
101 2008-07-25 Dean Brettle <dean@brettle.com>
103 * HtmlControl.cs (PreProcessRelativeReference),
104 HtmlForm.cs (RenderAttributes), HtmlInputButton (RenderAttributes),
105 HtmlInputRadioButton (RenderAttributes), HtmlSelect (RenderChildren):
106 Encode attributes that could contain HTML special chars.
108 * HtmlSelect (RenderChildren): HTML-encode option text.
110 2008-06-30 Marek Habersack <mhabersack@novell.com>
112 * HtmlForm.cs: hush the warnings
114 2008-06-08 Gert Driesen <drieseng@users.sourceforge.net>
116 * HtmlAnchor.cs: Do not render empty name, target or title attribute.
117 Removed extra check for target attribute in RenderAttributes. Use
118 string.Empty instead of "", and check string's Length instead of
119 comparison with "" or string.Empty. Minor code formatting.
121 2008-06-04 Juraj Skripksy <js@hotfeet.ch>
123 * HtmlAnchor.cs (Render): Add missing call to
124 ClientScriptManager.RegisterForEventValidation. Fixes bug #397142.
126 2008-06-04 Juraj Skripsky <js@hotfeet.ch>
128 * HtmlAnchor.cs: Do not render an empty href attribute.
131 2008-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
133 * HtmlForm.cs: fixed action attribute in RenderAttributes under
136 2008-02-06 Marek Habersack <mhabersack@novell.com>
138 * HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
139 mode. Fixes bug #354425
141 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
143 * HtmlSelect.cs: refactoring.
145 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
147 * HtmlSelect.cs: fix databinding (only 2.0), state management.
149 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
151 * HtmlSelect.cs: Fix infinite recursion (only in 2.0) found using
154 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
156 * HtmlForm.cs: refactoring.
158 2007-12-13 Marek Habersack <mhabersack@novell.com>
160 * HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
161 instead of String.Format in some cases.
163 2007-11-07 Juraj Skripsky <js@hotfeet.ch>
165 * HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
166 Fixes bug #339426 for master pages.
168 2007-11-06 Marek Habersack <mhabersack@novell.com>
170 * HtmlForm.cs: a small DetermineRenderUplevel optimization - the
171 result is now cached in a nullable boolean variable.
172 Render the 'onkeypress' attribute if DefaultButton is used. Fixes
175 2007-08-27 Marek Habersack <mhabersack@novell.com>
177 * HtmlForm.cs: make sure the ID is set before HtmlControls renders
178 the attributes. Fixes bug #82596
180 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
182 * HtmlHead.cs: refactoring, used AddAttribute overload without encoding
183 on known attribute values
185 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
187 * HtmlControl.cs: fixed PreProcessRelativeReference, should be used
190 2007-07-16 Marek Habersack <mhabersack@novell.com>
192 * HtmlHeadBuilder.cs: the <meta> tag should be supported as well.
194 * HtmlTitle.cs: if the tag has any children, or the render method
195 delegate has been defined, render the children. Output the
196 contents of Text otherwise. Fixes bug #82102
198 2007-05-08 Marek Habersack <mhabersack@novell.com>
200 * HtmlInputButton.cs: button of type 'reset' does not invoke
202 'reset' buttons clear all the controls in the form to their
205 2007-05-04 Marek Habersack <mhabersack@novell.com>
207 * HtmlAnchor.cs: use ResolveClientUrl when generating
208 attributes. Necessary if the control is in a master page which is
209 in a different directory than the current page.
211 2007-05-01 Marek Habersack <mhabersack@novell.com>
213 * HtmlForm.cs: do not use User-Agent directly, we must take
214 ClientTarget into account.
216 2007-04-27 Marek Habersack <mhabersack@novell.com>
218 * HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
219 paths that might happen in them.
221 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
223 * HtmlForm.cs: for TARGET_J2EE:
224 used Page.Request.Browser to determine RenderUplevel
226 2007-04-17 Marek Habersack <mhabersack@novell.com>
228 * HtmlForm.cs: use the new uplevel browser detection code.
230 2007-04-11 Marek Habersack <mhabersack@novell.com>
232 * HtmlInputHidden.cs:
239 * HtmlInputCheckBox.cs:
240 * HtmlInputRadioButton.cs:
241 * HtmlInputImage.cs: do not register the control for post back
242 processing or if it's disabled.
244 2007-04-06 Marek Habersack <mhabersack@novell.com>
246 * HtmlForm.cs: render the 'name' attribute only when in non-xhtml
249 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
251 * HtmlInputCheckBox.cs:
252 * HtmlInputControl.cs:
253 * HtmlInputHidden.cs:
254 * HtmlInputRadioButton.cs:
258 fixed: Form.SubmitDisabledControls feature:
259 not all HtmlInputControl need to be reenabled on client.
261 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
263 * HtmlForm.cs: Under TARGET_J2EE use Page.RenderResponse instead of
266 2007-01-20 Miguel de Icaza <miguel@novell.com>
268 * HtmlHead.cs: comment out unused code, in particular metadata is
269 commented out because nothing could have triggered its creation.
271 * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
273 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
275 * HtmlLink.cs: fixed RenderAttributes, href should be resolved
277 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
279 * HtmlForm.cs, HtmlAnchor.cs: Added J2EE Portal support for TARGET_J2EE.
281 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
283 * HtmlInputImage.cs: to handle correctly relative URLs to the image.
285 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
287 * HtmlInputRadioButton.cs: fixed: LoadPostData.
289 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
291 * HtmlImputImage.cs: fixed: OnServerClick.
293 2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
295 * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
298 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
300 * HtmlForm.cs: refactoring: Registering of client scripts
303 2006-11-17 Marek Habersack <grendello@gmail.com>
305 * HtmlInputHidden.cs: Added support for event validation.
307 * HtmlInputCheckBox.cs: Added support for event validation.
309 * HtmlInputImage.cs: Added support for event validation.
311 * HtmlInputButton.cs: Added support for event validation.
313 * HtmlSelect.cs: Added support for event validation.
315 * HtmlTextArea.cs: Added support for event validation.
317 * HtmlButton.cs: Added support for event validation.
319 * HtmlInputRadioButton.cs: Added support for event validation.
321 * HtmlInputText.cs: Added support for event validation.
323 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
325 * HtmlContainerControl.cs: fixed: InnerHtml property
327 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
330 HtmlTitle control is created if it was not declared in .aspx
332 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
335 make rendering of the onclick attribute to consider ValidationGroup property
337 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
340 make rendering of the onclick attribute to consider ValidationGroup property
342 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
344 * HtmlInputButton.cs:
345 make rendering of the onclick attribute to consider ValidationGroup property
347 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
350 implemented CausesValidation and ValidationGroup properties
352 2006-09-10 Vladimir Krasnov <vladimirk@mainsoft.com>
354 * HtmlInputFile.cs: fixed Value property
356 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
358 * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.
360 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
363 * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant
366 2006-07-12 Andrew Skiba <andrews@mainsoft.com>
368 * HtmlInputControl.cs: remove obsolete #if NET_2_0
370 2006-06-06 Juraj Skripsky <js@hotfeet.ch>
372 * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
375 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
377 * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
380 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
382 * HtmlInputRadioButton.cs: Value returns the ID only when there's no
383 "value" set. Fixes bug #78101.
385 2006-03-19 Vladimir Krasnov <vladimirk@mainsoft.com>
387 * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty
388 it shouldn't be rendered
389 * HtmlForm.cs: fixed Method, default method "post" should be added if
390 its value null or empty string
391 * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null
392 value, the fix is to remove attributes with empty string value too
394 2006-02-23 Chris Toshok <toshok@ximian.com>
396 * HtmlButton.cs: fix corcompare output.
398 * HtmlInputButton.cs: same.
400 * HtmlInputImage.cs: same.
402 * HtmlInputReset.cs: same.
404 2006-01-22 Chris Toshok <toshok@ximian.com>
406 * HtmlInputButton.cs:
407 s/GetPostBackClientEvent/GetPostBackEventReference.
409 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
411 * HtmlTableRow.cs: Cells is virtual in latest 1.1.
413 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
415 * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
417 * HtmlTable.cs: moved WriteLine around.
419 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
421 * HtmlForm.cs: more class-status fixes.
423 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
425 * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
427 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
429 * HtmlTable.cs: use the base class RenderChildren, as '_rows'
430 might not be the actual collection being used. Fixes bug #76815.
432 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
434 * HtmlInputFile.cs: if no one else set the encoding type for the
435 containing form and there's a HtmlInputFile, set Enctype to
436 'multipart/form-data'. Fixes bug #76837.
438 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
440 * HtmlInputButton.cs: render the onclick attribute only when the
441 button is a 'submit' and no validators or when the button is a
442 'button' and there's a registered ServerClick event. Fixes bug #76781.
444 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
446 * HtmlForm.cs: register the form and require viewstate hidden field to
447 be rendered in Render() even if OnInit is not called.
449 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
451 * HtmlHead.cs: fix the 2.0 build.
453 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
455 * HtmlForm.cs: when transfering from one page to another and using
456 cookieless session, we were doing pretty bad. Now, if the current path
457 and the original are the same, we just use the filename. Otherwise
458 we make the action location be relative to the original URL.
460 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
462 * HtmlInputButton.cs: render the onclick for doing a postback even when
463 there are no validators.
465 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
467 * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
469 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
471 * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
472 [UrlProperty] on HRef property for 2.0.
473 * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
474 * HtmlHead.cs: Remove IPageHeader interface.
475 * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
476 * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
477 * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
478 * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
479 * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
480 [UrlProperty] on Src property for 2.0.
481 * HtmlInputPassword.cs: Added [SupportsEventValidation].
482 * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
483 * HtmlInputReset.cs: Added [SupportsEventValidation].
484 * HtmlInputSubmit.cs: Added [SupportsEventValidation].
485 * HtmlInputText.cs: Added [SupportsEventValidation] on class and
486 re-enabled RenderAttribute for 2.0.
487 * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
488 * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
489 * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
491 2005-09-18 Chris Toshok <toshok@ximian.com>
493 * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
494 instead of AddAttribute when dealing with "onclick."
496 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
498 * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
500 2005-09-11 Chris Toshok <toshok@ximian.com>
502 * HtmlInputFile.cs (set_Value): add a message to the
503 NotSupportedException.
505 * HtmlInputControl.cs (RenderAttributes): add Page != null to the
506 checks before we register our control with the
507 __enabledControlArray JS array.
509 2005-09-09 Chris Toshok <toshok@ximian.com>
511 * HtmlInputButton.cs (CausesValidation): this is stored in
512 Attributes, not ViewState.
513 (ValidationGroup): same.
514 (RenderAttributes): remove CausesValidation from the list of
515 Attributes before calling base.RenderAttributes. Don't, however,
516 remove ValidationGroup, to replicate an MS bug.
518 2005-09-07 Chris Toshok <toshok@ximian.com>
520 * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
521 (Name): not sure about this property.. the getter apparently just
522 returns UniqueID, and the setter does nothing that I can figure
524 (RenderAttributes): don't bother to remove "name", since it's not
525 in the attributes anyway.
527 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
529 * HtmlInputControl.cs: use the Name property instead of the ClientID.
530 The 'name' attribute rendered contains colons if inside a
533 2005-09-07 Chris Toshok <toshok@ximian.com>
535 * HtmlInputCheckBox.cs (Checked): uncomment the
536 MinimizableAttributeTypeConverter attribute.
538 * HtmlControl.cs (Disabled): uncomment the
539 MinimizableAttributeTypeConverter attribute.
541 * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
543 * HtmlTableCell.cs (NoWrap): uncomment the
544 MinimizableAttributeTypeConverter attribute.
546 * HtmlLink.cs (Href): remove the MonoTODO.
548 * HtmlMeta.cs (Name): remove the MonoTODO.
550 (Render): add (pretty bogus, really..) implementation. not sure
551 why we need this one.
553 2005-09-06 Chris Toshok <toshok@ximian.com>
555 * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
558 2005-09-06 Chris Toshok <toshok@ximian.com>
560 * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
563 2005-09-06 Chris Toshok <toshok@ximian.com>
565 * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
566 (AddedControl): move the HtmlTitle logic here.
567 (RemovedControl): clear out the title if that was the control that
570 * HtmlLink.cs: new implementation.
572 * HtmlMeta.cs: new implementation.
574 2005-09-06 Chris Toshok <toshok@ximian.com>
576 * HtmlInputControl.cs (RenderAttributes): add ourselves to the
577 __enabledControlArray JS array if we're currently enabled and the
578 form is set to SubmitDisabledControls.
580 * HtmlForm.cs (OnInit): call Page.RegisterForm here.
581 (DetermineRenderUplevel): split this out of OnPreRender and make
582 it internal so HtmlInputControl can call it.
583 (OnPreRender): add handling for SubmitDisabledControls.
585 2005-09-05 Chris Toshok <toshok@ximian.com>
587 * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
588 or in the ViewState. where then?
589 (DefaultFocus): this one is stored in the ViewState, not as an
591 (SubmitDisabledControls): implement just as a boolean flag, not in
592 the viewstate or attributes.
593 (RenderAttributes): defaultfocus and defaultbutton are no longer
596 2005-09-04 Chris Toshok <toshok@ximian.com>
598 * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
600 * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
602 * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
604 * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
605 way, and in OnPreRender, call Page.RegisterRequiresPostback.
607 * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
608 and in OnPreRender, call Page.RegisterRequiresPostback.
610 * HtmlInputRadioButton.cs (OnPreRender): call
611 Page.RegisterRequiresPostback.
613 * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
614 Also, in OnPreRender, call Page.RegisterRequiresPostback.
616 * HtmlTextArea.cs (OnPreRender): call
617 Page.RegisterRequiresPostback.
619 2005-09-02 Chris Toshok <toshok@ximian.com>
621 * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
623 2005-09-02 Chris Toshok <toshok@ximian.com>
625 * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
627 * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
628 raisepostdatachangedevent, and raisepostbackevent.
629 (validationgroup): implement.
631 * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
632 and raisepostdatachangedevent.
634 * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
635 and RaisePostDataChangedEvent.
637 * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
638 body of both RaisePostBackEvent impl's here, and fix it up so we
639 use the property Page.Validate call in 2.0.
640 (RaisePostBackEvent): call RaisePostBackEventInternal.
641 (IPostBackEventHandler.RaisePostBackEvent): same.
643 * HtmlImage.cs (Align): the test case shows that we don't need to
646 2005-09-01 Sebastien Pouliot <sebastien@ximian.com>
648 * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
649 HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
650 HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
651 HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
652 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
653 HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
654 HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
655 HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
656 HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
657 attributes AspNetHostingPermission for Minimal level on all classes
658 (LinkDemand) and for non-sealed classes (InheritanceDemand).
660 2005-08-29 Chris Toshok <toshok@ximian.com>
662 * System.Web.UI.HtmlControls/HtmlTableCell.cs,
663 System.Web.UI.HtmlControls/HtmlInputFile.cs,
664 System.Web.UI.HtmlControls/HtmlForm.cs,
665 System.Web.UI.HtmlControls/HtmlInputText.cs,
666 System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
667 System.Web.UI.HtmlControls/HtmlAnchor.cs,
668 System.Web.UI.HtmlControls/HtmlButton.cs,
669 System.Web.UI.HtmlControls/HtmlTextArea.cs,
670 System.Web.UI.HtmlControls/HtmlGenericControl.cs,
671 System.Web.UI.HtmlControls/HtmlSelect.cs,
672 System.Web.UI.HtmlControls/HtmlTableRow.cs,
673 System.Web.UI.HtmlControls/HtmlControl.cs,
674 System.Web.UI.HtmlControls/HtmlImage.cs,
675 System.Web.UI.HtmlControls/HtmlTable.cs,
676 System.Web.UI.HtmlControls/HtmlInputButton.cs,
677 System.Web.UI.HtmlControls/HtmlInputControl.cs,
678 System.Web.UI.HtmlControls/HtmlInputImage.cs,
679 System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
680 System.Web.UI.HtmlControls/HtmlInputHidden.cs,
681 System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
684 2005-08-29 Chris Toshok <toshok@ximian.com>
686 * HtmlInputSubmit.cs: new implementation.
688 * HtmlInputReset.cs (ValidationGroup): implement
690 * HtmlInputButton.cs (ValidationGroup): implement.
692 2005-08-29 Chris Toshok <toshok@ximian.com>
694 * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
698 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
700 * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
701 but not used. Call ResolveUrl when rendering the attributes instead.
703 2005-08-28 Chris Toshok <toshok@ximian.com>
705 * HtmlHeadBuilder.cs: this is public.
707 * HtmlSelectBuilder.cs: in 2.0 this is public.
709 * HtmlInputButton.cs: fix boilerplate.
711 * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
712 (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
713 Page.Validation(ValidationGroup).
715 2005-08-28 Chris Toshok <toshok@ximian.com>
717 * HtmlInputReset.cs: mostly complete implementation.
719 2005-08-28 Chris Toshok <toshok@ximian.com>
721 * HtmlInputPassword.cs: doh, make this NET_2_0 only.
723 2005-08-28 Chris Toshok <toshok@ximian.com>
725 * HtmlInputPassword.cs: implement.
727 2005-08-28 Chris Toshok <toshok@ximian.com>
729 * HtmlImage.cs: corcompare fixes.
731 * HtmlInputCheckBox.cs: same.
733 2005-08-27 Chris Toshok <toshok@ximian.com>
735 * HtmlControl.cs (GetAttribute, SetAttribute): implement.
737 2005-08-27 Chris Toshok <toshok@ximian.com>
739 * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
740 (OnPreRender): figure out (hackishly) if we're uplevel rendering.
741 If we have a default button/focus control set, register webform.js
742 as a client script block, and emit some JS to focus the control.
743 (RenderAttributes): verify that the DefaultButton attribute points
744 to a valid IButtonControl implementing control. Also remove the
745 defaultfocus/defaultbutton attributes before calling
746 base.RenderAttributes.
748 2005-08-27 Kornél Pál <kornelpal@hotmail.com>
750 * HtmlTableCell.cs: Fixed to use Consts.
752 2005-08-26 Chris Toshok <toshok@ximian.com>
754 * HtmlButton.cs (ValidationGroup): implement.
755 (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
756 one body of the actual RaisePostBackEvent code. Also, call
757 Page.Validate(ValidationGroup) in the 2.0 case.
759 2005-08-25 Miguel de Icaza <miguel@novell.com>
761 * HtmlHead.cs: Implement constructor, pass the tag.
763 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
765 * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
767 2005-08-25 Chris Toshok <toshok@ximian.com>
769 * HtmlForm.cs (CreateControlCollection, OnPreRender,
770 RenderControl): implement naively, just calling base.Method.
772 2005-08-25 Chris Toshok <toshok@ximian.com>
774 * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
775 the last '/' when rendering the action. Fixes comments in
778 2005-08-24 Chris Toshok <toshok@ximian.com>
780 * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
781 HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
782 HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
783 Add MonoTODO's for all NotImplementedException's.
785 2005-08-18 Dick Porter <dick@ximian.com>
787 * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
788 HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
789 HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
790 HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
791 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
792 HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
794 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
796 * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
797 Load method (bad choice) to DefaultLoadPostData.
799 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
801 * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
802 * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
803 method. Fixed support for protected LoadPostData and
804 RaisePostDataChangedEvent in 2.0 (recursion).
805 * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
806 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
807 * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
808 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
810 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
812 * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
813 for 2.0 profile. The class seems to be internal and not (yet?)
816 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
818 * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
819 * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
820 (at least) HtmlInputControl in 2.0 profile.
821 * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
822 * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
824 2005-08-09 Dick Porter <dick@ximian.com>
826 * HtmlSelect.cs: Clear databindings when adding a new one; cope
827 with assorted combinations of empty text and value fields; write
828 <option> tags manually to match ms HTML output. All fix nunit
831 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
833 * HtmlInputControl.cs: Remove code to handle password (wrong place)
834 and fixed type handling for 2.0.
835 * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
836 the type == password. Tests indicates that the value is present for
839 2005-08-05 Dick Porter <dick@ximian.com>
841 * HtmlSelect.cs: Fix databinding when one or other of Name and
842 Value aren't supplied (thanks to Peter for the patch); Make
843 <option> indenting match ms output.
845 2005-07-30 Ben Maurer <bmaurer@ximian.com>
847 * HtmlForm.cs: Make sure we actually put the "?" in the url
849 2005-07-29 Dick Porter <dick@ximian.com>
851 * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
852 instead of building the query string by hand
854 2005-07-27 Dick Porter <dick@ximian.com>
856 * HtmlInputCheckBox.cs: New implementation
858 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
860 * HtmlSelect.cs: Added missing attributes
862 2005-07-26 Dick Porter <dick@ximian.com>
864 * HtmlSelect.cs: New implementation
866 2005-07-26 Miguel de Icaza <miguel@novell.com>
868 * HtmlForm.cs: It is possible to have keys with no values in the
869 query string, do not try to process those on the foreach loop.
871 The question is: what should happen if I only get the key?
873 Example: file_with_a_form.aspx?a
875 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
877 * HtmlForml.cs: Implemented UniqueID (new in sp1)
878 * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
880 2005-07-24 Dick Porter <dick@ximian.com>
882 * HtmlForm.cs: Add the trailing query string to the form action;
883 fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
885 2005-07-22 Dick Porter <dick@ximian.com>
887 * HtmlInputFile.cs: Add assembly attributes
889 2005-07-21 Dick Porter <dick@ximian.com>
891 * HtmlImage.cs: The src attribute needs to be a relative URL;
892 close the HTML element when rendering attributes, to match the MS
895 * HtmlForm.cs: Added assembly attributes; don't render ID twice;
896 don't render enctype and target if they are empty strings;
897 implement a Render overload to keep corcompare quiet.
899 2005-07-20 Chris Toshok <toshok@ximian.com>
901 * HtmlForm.cs (RenderAttributes): if there are submit statements,
902 we need to render those.
904 * HtmlInputImage.cs: same.
906 * HtmlInputButton.cs: hook up the client validation stuff.
908 * HtmlButton.cs: same, except a lot more complicated due to
911 2005-07-19 Dick Porter <dick@ximian.com>
913 * HtmlImage.cs: Added attributes; use Int32.Parse instead of
916 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
918 * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
919 ControlID for Name (and not ID). Added ControlBuilder attribute.
920 * HtmlTable.cs: Simplify check when adding controls.
921 * HtmlTableRow.cs: Simplify check when adding controls.
923 2005-07-18 Jackson Harper <jackson@ximian.com>
925 * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
928 2005-07-15 Jackson Harper <jackson@ximian.com>
930 * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
931 constant. Update fetching from viewstate code to use new
934 2005-07-15 Jackson Harper <jackson@ximian.com>
936 * HtmlInputButton.cs: Add DefaultEventAttribute.
938 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
940 * HtmlInputControl.cs: Removed internal property (no more required to
942 * HtmlInputRadioButton.cs: Optimized events.
943 * HtmlInputText.cs: Optimized events.
944 * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
946 * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
948 * HtmlTextArea.cs: Optimized events.
950 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
952 * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
953 result) and fixed compatibility for a weird behaviour of the HRef
954 attribute handling. Optimized events.
956 2005-07-14 Jackson Harper <jackson@ximian.com>
958 * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
959 string constant. Use new method for accessing ViewState
960 data. Don't remove value from the view state if it is the default.
962 2005-07-14 Jackson Harper <jackson@ximian.com>
964 * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
965 string constant. Use new method for accessing ViewState
966 data. Don't remove value from the view state if it is the default.
968 2005-07-14 Dick Porter <dick@ximian.com>
970 * HtmlInputFile.cs: New implementation
972 2005-07-14 Jackson Harper <jackson@ximian.com>
974 * HtmlInputControl.cs: Use ClientID for input controls name.
976 2005-07-14 Dick Porter <dick@ximian.com>
978 * HtmlForm.cs: New Implementation
980 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
982 * HtmlTable.cs: Added missing attributes.
983 * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
984 as the builder's type isn't public.
985 * HtmlInputControl.cs: Added missing attributes.
986 * HtmlInputText.cs: Added missing attributes.
987 * HtmlInputRadioButton.cs: Added missing attributes.
988 * HtmlAnchor.cs: Added missing attributes.
989 * HtmlTextArea.cs: Added missing attributes.
990 * HtmlTableRow.cs: Added missing attributes.
992 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
994 * HtmlAnchor.cs: Added DefaultValue attributes.
995 * HtmlInputControl.cs: Added DefaultValue attributes.
996 * HtmlInputRadioButton.cs: Added DefaultValue attributes.
997 * HtmlInputText.cs: Added DefaultValue attributes. Added method
998 RenderAttributes in 1.1 profile.
999 * HtmlTable.cs: Fix DefaultValue to "".
1000 * HtmlTextArea.cs: Added DefaultValue attributes.
1002 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
1004 * HtmlTableCell.cs: Added DefaultValue attributes.
1005 * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
1006 * HtmlTableRowCollection.cs: Reworked collection to share data with
1008 * HtmlTableCellCollection.cs: Reworked collection to share data with
1009 HtmlTableRow.Controls.
1010 * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
1012 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
1014 * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
1016 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
1018 * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
1020 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
1022 * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
1024 * HtmlTextArea.cs: New implementation.
1026 2005-07-07 Jackson Harper <jackson@ximian.com>
1028 * HtmlInputImage.cs: New implementation.
1030 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
1032 * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
1033 * HtmlInputControl.cs: New implementation.
1034 * HtmlInputRadioButton.cs: New implementation.
1035 * HtmlInputText.cs: New implementation.
1037 2005-07-07 Jackson Harper <jackson@ximian.com>
1039 * HtmlInputHidden.cs: New implementation.
1041 2005-07-07 Jackson Harper <jackson@ximian.com>
1043 * HtmlAnchor.cs: Call base OnPreRender from override.
1045 2005-07-07 Jackson Harper <jackson@ximian.com>
1047 * HtmlInputButton.cs: New implementation.
1049 2005-07-07 Dick Porter <dick@ximian.com>
1051 * HtmlImage.cs: New implementation
1053 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
1055 * HtmlAnchor.cs: Fixed to remove attributes properly.
1056 * HtmlTable.cs: New implementation.
1057 * HtmlTableCell.cs: New implementation.
1058 * HtmlTableCellCollection.cs: New implementation.
1059 * HtmlTableRow.cs: New implementation.
1060 * HtmlTableRowCollection.cs: New implementation.
1062 2005-07-06 Jackson Harper <jackson@ximian.com>
1064 * HtmlButton.cs: New implementation.
1066 2005-07-06 Sebastien Pouliot <sebastien@ximian.com>
1068 * HtmlAnchor.cs: New implementation.
1070 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1073 * HtmlControl.cs: updates for 1.1 SP1.
1075 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1077 * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
1080 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
1082 * HtmlHead.cs: Fix warning.
1084 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
1086 * HtmlForm.cs: Use the new WriteSubmitStatements method from
1089 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
1091 * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
1092 Page.GetPostBackClientEvent since it is deprecated in 2.0.
1094 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
1096 * HtmlForm.cs: Register the form in the page, so the page knows
1097 which is the main form.
1099 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
1101 * HtmlHead.cs: Method name fix.
1103 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1105 * HtmlForm.cs: submitStatements holds Hashtables.
1107 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
1109 * HtmlHead.cs: Implemented.
1110 * HtmlHeadBuilder.cs: Implemented.
1111 * HtmlTitle.cs: Implemented.
1113 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1115 * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
1117 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1119 * HtmlForm.cs: fixed the Action property when running a different
1120 page than the one requested (Transfer). Closes bug #69318.
1122 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
1124 * HtmlForm.cs: Add submit statements from the new Page.ClientScript
1127 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1129 * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
1130 it and failed when the browser was IE.
1132 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1134 * HtmlForm.cs: default value for Enctype is "".
1135 * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
1136 we set it to "multipart/form-data". Fixes bug #58359.
1138 2004-01-15 Alon Gazit <along@mainsoft.com>
1139 * HtmlForm.cs: The property name always return the value of the
1142 2003-12-28 Alon Gazit <along@mainsoft.com>
1143 * HtmlSelect.cs: fix typo in LoadPostData().
1145 2003-12-29 Alon Gazit <along@mainsoft.com>
1146 * HtmlInputButton.cs: update the implementation of RenderAttributes().
1147 Change the if statement that determines if the onclick script is
1150 2003-12-28 Alon Gazit <along@mainsoft.com>
1151 * HtmlSelect.cs: add parentheses to if statement.
1152 Currently the else statement refers to the inner if statement.
1154 2003-12-28 Alon Gazit <along@mainsoft.com>
1155 * HtmlSelect.cs: fix upper bound of for statement.
1157 2003-12-19 Jackson Harper <jackson@ximian.com>
1159 * HtmlInputFile.cs: Do not set value when loading post data.
1161 2003-12-14 Alon Gazit <along@mainsoft.com>
1162 * HtmlInputButton.cs: The problem was in RenderAttributes().
1163 Before adding the script to the HTML, the number of Validators should
1164 be checked. fixes bug #52158.
1166 2003-12-07 Alon Gazit <along@mainsoft.com>
1167 * HtmlTableCell.cs: fixing a typo in NoWrap property.
1169 2003-12-04 Jackson Harper <jackson@ximian.com>
1171 * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
1172 value. This is because radio button groups are created by setting
1173 the name to the same value with each button, then on postback the
1174 value of the name is the id of the selected radio button.
1176 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1178 * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
1180 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1182 * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
1183 remove the code used to workaround that.
1185 2003-12-01 Jackson Harper <jackson@ximian.com>
1187 * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
1188 <along@mainsoft.com>.
1190 2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1192 * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
1193 <along@mainsoft.com>. Fixes bug #51377.
1195 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1197 * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
1198 <along@mainsoft.com>.
1200 2003-10-29 Jackson Harper <jackson@ximian.com>
1202 * HtmlControl.cs: Make disabled an attribute of the control so it
1203 is rendered. This is a slightly modifed version of a patch
1204 by Yaron Shkop. Fixes bug #50160.
1206 2003-10-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1208 * HtmlTextArea.cs: fixed infinite recursion.
1210 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1212 * HtmlForm.cs: render the onsubmit attribute.
1214 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1216 * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
1217 need to pass true here. Fixes bug #47918.
1219 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1221 * HtmlContainerControl.cs: Added attributes
1222 * HtmlControl.cs: Added attributes
1223 * HtmlInputControl.cs: Fixed public signature
1224 * HtmlInputRadioButton.cs: Fixed public signature
1225 * HtmlSelect.cs: Added missing attribute
1226 * HtmlTable.cs: Added missing attribute
1228 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1230 * HtmlSelect.cs: fixed bug #44894.
1232 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1235 * HtmlInputControl.cs:
1236 * HtmlSelect.cs: added control builder attribute.
1238 * HtmlSelectBuilder.cs: builder for HtmlSelect.
1240 * HtmlControlBuilder.cs: common builder for all HtmlControls.
1242 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1244 * HtmlControl.cs: _tagName is now internal.
1245 * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
1248 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1250 * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
1252 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1254 * HtmlInputButton.cs: fixed bug #35677.
1256 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1258 * HtmlInputControl.cs: fixed bug #35673.
1260 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1262 * HtmlInputText.cs: fixed bug #35670.
1264 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1266 * HtmlSelect.cs: fixed LoadViewstate.
1268 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1270 * HtmlButton.cs: make it do a POST if the button has any ServerClick
1273 2002-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1277 * HtmlContainerControl.cs:
1280 * HtmlGenericControl.cs:
1282 * HtmlInputButton.cs:
1283 * HtmlInputCheckBox.cs:
1284 * HtmlInputControl.cs:
1286 * HtmlInputHidden.cs:
1287 * HtmlInputImage.cs:
1288 * HtmlInputRadioButton.cs:
1294 * HtmlTextArea.cs: added almost all missing attributes.
1296 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1298 * HtmlControl.cs: the attributes must use ViewState as its StateBag,
1299 if not style values are lost between postbacks.
1301 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1305 * HtmlInputButton.cs:
1306 * HtmlInputCheckBox.cs:
1307 * HtmlInputHidden.cs:
1308 * HtmlInputImage.cs:
1310 * HtmlTextArea.cs: Initialize EventHandlerList indexer.
1312 * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
1313 instead of maintaining some flags and strings. Implemented
1316 * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
1318 * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
1321 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1323 * HtmlGenericControl.cs: fixed TagName signature and get/set.
1324 * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
1325 * HtmlInputText.cs: added attribute.
1327 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1329 * HtmlForm.cs: don't render action attribute.
1331 2002-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1333 * HtmlContainerControl.cs:
1334 (CreateControlCollection): added. All containers must have a non-empty
1337 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1339 * System.Web.UI.HtmlControls/HtmlAnchor.cs:
1340 * System.Web.UI.HtmlControls/HtmlButton.cs:
1341 * System.Web.UI.HtmlControls/HtmlControl.cs:
1342 * System.Web.UI.HtmlControls/HtmlForm.cs:
1343 * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
1344 * System.Web.UI.HtmlControls/HtmlInputButton.cs:
1345 * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
1346 * System.Web.UI.HtmlControls/HtmlInputControl.cs:
1347 * System.Web.UI.HtmlControls/HtmlInputFile.cs:
1348 * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
1349 * System.Web.UI.HtmlControls/HtmlInputImage.cs:
1350 * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
1351 * System.Web.UI.HtmlControls/HtmlInputText.cs:
1352 * System.Web.UI.HtmlControls/HtmlSelect.cs:
1353 * System.Web.UI.HtmlControls/HtmlTable.cs:
1354 * System.Web.UI.HtmlControls/HtmlTableCell.cs:
1355 * System.Web.UI.HtmlControls/HtmlTableRow.cs:
1356 * System.Web.UI.HtmlControls/HtmlTextArea.cs:
1358 Fixes based on class status page:
1360 - Add attributes (DefaultEvent, ParseChildren).
1362 - Explicitly implement some interfaces (IPostBackDataHandler
1363 and IPostBackEventHandler).
1364 - Implemented some missing methods.
1366 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1369 (RenderChildren): use OnFormRender and OnFormPostRender.
1371 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1374 (RenderAttributes): new -> override and fixes stack overflow.
1375 (RenderChildren): only 1 option can be selected at any given time
1376 except when Multiple property is true.
1377 (Multiple): the attribute value is either "true" or "false", not
1382 (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
1385 (RenderEndTag): new -> override.
1388 (RenderChildren): fixed another stack overflow.
1389 (RenderEndTag): new -> override.
1392 (RenderAttributes): new -> override.
1395 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1397 * HtmlInputHidden.cs: fixed constructor.
1399 * HtmlInputRadioButton.cs:
1400 (RenderAttributes): fixed stack overflow.
1403 (RenderedName): new -> override.
1405 (Value): new property.
1408 (RenderAttributes): fixed the same kind of stack overflow and make
1409 string comparison case insensitive.
1411 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1413 * HtmlForm.cs: fixed name of Enctype property and render enctype
1416 * HtmlInputControl.cs: tag type is "input", not "type".
1418 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1420 * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
1423 * HtmlForm.cs: Render output when no IE browser.
1425 * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
1426 though now it always use the other .ctor.
1428 * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
1430 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1432 * HtmlButton.cs: RenderAttributes is an override, not new.
1434 * HtmlContainerControl.cs: use the new Render method in HtmlControl.
1436 * HtmlControl.cs: added Render method to render the tag and its
1437 attributes. Works for container and non-containers.
1439 * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
1442 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1444 * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
1445 instead of Page.Server to encode InnerText.
1447 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1450 (RenderAttributes): new -> override and fixed little bug that made
1451 it cause an stack overflow.
1453 * HtmlContainerControl.cs: reformatted and added tag and attributes
1456 * HtmlGenericControl.cs: removed TagName, which is already in
1460 (RenderEndTag): new -> override.
1462 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1464 * System.Web.UI.HtmlControls/HtmlForm.cs:
1465 (RenderAttributes): changed new by override.
1466 (Name): allow setting the property.
1468 2002-05-10 Duncan Mak <duncan@ximian.com>
1470 * HtmlTableCellCollection.cs (this): Updated the indexer to return
1471 the right type, HtmlTableCell instead of HtmlTableRow.
1473 * HtmlInputImage.cs (OnServerClick): Commented out parts that
1476 * HtmlForm.cs (RenderAttributes):
1477 (RenderChildren): Commented out code that doesn't compile.
1479 2002-05-07 Duncan Mak <duncan@ximian.com>
1481 * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
1482 clashing with the method defined in the parent class.
1483 (OnDataBinding): Added missing casts.
1485 * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
1486 'this' to IAttributeAccessor before calling interface method.
1487 Also renamed some calls to reflect changes in the API.
1489 * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
1492 2001-09-03 Leen Toelen <toelen@hotmail.com>
1494 * HtmlAnchor.cs: Initial implementation.
1495 * HtmlTextArea.cs: Initial implementation.
1497 2001-08-22 Bob Smith <bob@thestuff.net>
1499 * HtmlContainerControl.cs: Initial implementation.
1500 * HtmlControl.cs: Initial implementation.
1501 * HtmlGenericControl.cs: Initial implementation.