1 2009-06-16 Marek Habersack <mhabersack@novell.com>
3 * HtmlHeadBuilder.cs: use faster String.Compare overloads.
5 * HtmlHead.cs: implemented 4.0 properties Description and
8 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
10 * HtmlTitle.cs: HtmlTitle allows children that are not
11 LiteralControls. Fixes bug #511882.
13 2009-05-15 Marek Habersack <mhabersack@novell.com>
15 * HtmlForm.cs: if application isn't running on /, make sure we
16 generate the correct relative path for the action form attribute.
18 2009-04-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
20 * HtmlInputText.cs: make sure we're inside a Page before dereferencing
23 2008-11-06 Marek Habersack <mhabersack@novell.com>
25 * HtmlForm.cs: added the undocumented, but supported, Action
26 attribute. Fixes bug #442104
28 2008-10-17 Marek Habersack <mhabersack@novell.com>
30 * HtmlInputHidden.cs: validate the event in LoadPostDataInternal.
32 * HtmlInputButton.cs: validate the event in
33 RaisePostBackEventInternal ().
34 Register for event validation in RenderAttributes ()
36 * HtmlTextArea.cs: validate the event in
37 RaisePostBackDataChangedEvent ().
39 * HtmlButton.cs: validate the event in RaisePostBackEvent ().
40 Register for event validation in RenderAttributes ()
42 * HtmlAnchor.cs: validate the event in RaisePostBackEvent ().
43 Register for event validation in RenderAttributes ().
45 * HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in
48 * HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs,
49 HtmlInputPassword.cs: validate the event in
50 RaisePostDataChangedEvent ().
52 2008-10-07 Christian Hergert <christian.hergert@gmail.com>
54 * HtmlImage.cs: Do not render the src attribute if it is null or empty.
55 An empty src attribute makes browsers download the current page url as
58 2008-08-29 Marek Habersack <mhabersack@novell.com>
60 * HtmlHead.cs: call base.OnInit ()
61 If Page is null, throw an exception.
63 2008-07-25 Dean Brettle <dean@brettle.com>
65 * HtmlControl.cs (PreProcessRelativeReference),
66 HtmlForm.cs (RenderAttributes), HtmlInputButton (RenderAttributes),
67 HtmlInputRadioButton (RenderAttributes), HtmlSelect (RenderChildren):
68 Encode attributes that could contain HTML special chars.
70 * HtmlSelect (RenderChildren): HTML-encode option text.
72 2008-06-30 Marek Habersack <mhabersack@novell.com>
74 * HtmlForm.cs: hush the warnings
76 2008-06-08 Gert Driesen <drieseng@users.sourceforge.net>
78 * HtmlAnchor.cs: Do not render empty name, target or title attribute.
79 Removed extra check for target attribute in RenderAttributes. Use
80 string.Empty instead of "", and check string's Length instead of
81 comparison with "" or string.Empty. Minor code formatting.
83 2008-06-04 Juraj Skripksy <js@hotfeet.ch>
85 * HtmlAnchor.cs (Render): Add missing call to
86 ClientScriptManager.RegisterForEventValidation. Fixes bug #397142.
88 2008-06-04 Juraj Skripsky <js@hotfeet.ch>
90 * HtmlAnchor.cs: Do not render an empty href attribute.
93 2008-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
95 * HtmlForm.cs: fixed action attribute in RenderAttributes under
98 2008-02-06 Marek Habersack <mhabersack@novell.com>
100 * HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
101 mode. Fixes bug #354425
103 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
105 * HtmlSelect.cs: refactoring.
107 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
109 * HtmlSelect.cs: fix databinding (only 2.0), state management.
111 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
113 * HtmlSelect.cs: Fix infinite recursion (only in 2.0) found using
116 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
118 * HtmlForm.cs: refactoring.
120 2007-12-13 Marek Habersack <mhabersack@novell.com>
122 * HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
123 instead of String.Format in some cases.
125 2007-11-07 Juraj Skripsky <js@hotfeet.ch>
127 * HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
128 Fixes bug #339426 for master pages.
130 2007-11-06 Marek Habersack <mhabersack@novell.com>
132 * HtmlForm.cs: a small DetermineRenderUplevel optimization - the
133 result is now cached in a nullable boolean variable.
134 Render the 'onkeypress' attribute if DefaultButton is used. Fixes
137 2007-08-27 Marek Habersack <mhabersack@novell.com>
139 * HtmlForm.cs: make sure the ID is set before HtmlControls renders
140 the attributes. Fixes bug #82596
142 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
144 * HtmlHead.cs: refactoring, used AddAttribute overload without encoding
145 on known attribute values
147 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
149 * HtmlControl.cs: fixed PreProcessRelativeReference, should be used
152 2007-07-16 Marek Habersack <mhabersack@novell.com>
154 * HtmlHeadBuilder.cs: the <meta> tag should be supported as well.
156 * HtmlTitle.cs: if the tag has any children, or the render method
157 delegate has been defined, render the children. Output the
158 contents of Text otherwise. Fixes bug #82102
160 2007-05-08 Marek Habersack <mhabersack@novell.com>
162 * HtmlInputButton.cs: button of type 'reset' does not invoke
164 'reset' buttons clear all the controls in the form to their
167 2007-05-04 Marek Habersack <mhabersack@novell.com>
169 * HtmlAnchor.cs: use ResolveClientUrl when generating
170 attributes. Necessary if the control is in a master page which is
171 in a different directory than the current page.
173 2007-05-01 Marek Habersack <mhabersack@novell.com>
175 * HtmlForm.cs: do not use User-Agent directly, we must take
176 ClientTarget into account.
178 2007-04-27 Marek Habersack <mhabersack@novell.com>
180 * HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
181 paths that might happen in them.
183 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
185 * HtmlForm.cs: for TARGET_J2EE:
186 used Page.Request.Browser to determine RenderUplevel
188 2007-04-17 Marek Habersack <mhabersack@novell.com>
190 * HtmlForm.cs: use the new uplevel browser detection code.
192 2007-04-11 Marek Habersack <mhabersack@novell.com>
194 * HtmlInputHidden.cs:
201 * HtmlInputCheckBox.cs:
202 * HtmlInputRadioButton.cs:
203 * HtmlInputImage.cs: do not register the control for post back
204 processing or if it's disabled.
206 2007-04-06 Marek Habersack <mhabersack@novell.com>
208 * HtmlForm.cs: render the 'name' attribute only when in non-xhtml
211 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
213 * HtmlInputCheckBox.cs:
214 * HtmlInputControl.cs:
215 * HtmlInputHidden.cs:
216 * HtmlInputRadioButton.cs:
220 fixed: Form.SubmitDisabledControls feature:
221 not all HtmlInputControl need to be reenabled on client.
223 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
225 * HtmlForm.cs: Under TARGET_J2EE use Page.RenderResponse instead of
228 2007-01-20 Miguel de Icaza <miguel@novell.com>
230 * HtmlHead.cs: comment out unused code, in particular metadata is
231 commented out because nothing could have triggered its creation.
233 * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
235 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
237 * HtmlLink.cs: fixed RenderAttributes, href should be resolved
239 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
241 * HtmlForm.cs, HtmlAnchor.cs: Added J2EE Portal support for TARGET_J2EE.
243 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
245 * HtmlInputImage.cs: to handle correctly relative URLs to the image.
247 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
249 * HtmlInputRadioButton.cs: fixed: LoadPostData.
251 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
253 * HtmlImputImage.cs: fixed: OnServerClick.
255 2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
257 * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
260 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
262 * HtmlForm.cs: refactoring: Registering of client scripts
265 2006-11-17 Marek Habersack <grendello@gmail.com>
267 * HtmlInputHidden.cs: Added support for event validation.
269 * HtmlInputCheckBox.cs: Added support for event validation.
271 * HtmlInputImage.cs: Added support for event validation.
273 * HtmlInputButton.cs: Added support for event validation.
275 * HtmlSelect.cs: Added support for event validation.
277 * HtmlTextArea.cs: Added support for event validation.
279 * HtmlButton.cs: Added support for event validation.
281 * HtmlInputRadioButton.cs: Added support for event validation.
283 * HtmlInputText.cs: Added support for event validation.
285 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
287 * HtmlContainerControl.cs: fixed: InnerHtml property
289 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
292 HtmlTitle control is created if it was not declared in .aspx
294 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
297 make rendering of the onclick attribute to consider ValidationGroup property
299 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
302 make rendering of the onclick attribute to consider ValidationGroup property
304 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
306 * HtmlInputButton.cs:
307 make rendering of the onclick attribute to consider ValidationGroup property
309 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
312 implemented CausesValidation and ValidationGroup properties
314 2006-09-10 Vladimir Krasnov <vladimirk@mainsoft.com>
316 * HtmlInputFile.cs: fixed Value property
318 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
320 * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.
322 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
325 * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant
328 2006-07-12 Andrew Skiba <andrews@mainsoft.com>
330 * HtmlInputControl.cs: remove obsolete #if NET_2_0
332 2006-06-06 Juraj Skripsky <js@hotfeet.ch>
334 * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
337 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
339 * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
342 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
344 * HtmlInputRadioButton.cs: Value returns the ID only when there's no
345 "value" set. Fixes bug #78101.
347 2006-03-19 Vladimir Krasnov <vladimirk@mainsoft.com>
349 * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty
350 it shouldn't be rendered
351 * HtmlForm.cs: fixed Method, default method "post" should be added if
352 its value null or empty string
353 * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null
354 value, the fix is to remove attributes with empty string value too
356 2006-02-23 Chris Toshok <toshok@ximian.com>
358 * HtmlButton.cs: fix corcompare output.
360 * HtmlInputButton.cs: same.
362 * HtmlInputImage.cs: same.
364 * HtmlInputReset.cs: same.
366 2006-01-22 Chris Toshok <toshok@ximian.com>
368 * HtmlInputButton.cs:
369 s/GetPostBackClientEvent/GetPostBackEventReference.
371 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
373 * HtmlTableRow.cs: Cells is virtual in latest 1.1.
375 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
377 * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
379 * HtmlTable.cs: moved WriteLine around.
381 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
383 * HtmlForm.cs: more class-status fixes.
385 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
387 * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
389 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
391 * HtmlTable.cs: use the base class RenderChildren, as '_rows'
392 might not be the actual collection being used. Fixes bug #76815.
394 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
396 * HtmlInputFile.cs: if no one else set the encoding type for the
397 containing form and there's a HtmlInputFile, set Enctype to
398 'multipart/form-data'. Fixes bug #76837.
400 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
402 * HtmlInputButton.cs: render the onclick attribute only when the
403 button is a 'submit' and no validators or when the button is a
404 'button' and there's a registered ServerClick event. Fixes bug #76781.
406 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
408 * HtmlForm.cs: register the form and require viewstate hidden field to
409 be rendered in Render() even if OnInit is not called.
411 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
413 * HtmlHead.cs: fix the 2.0 build.
415 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
417 * HtmlForm.cs: when transfering from one page to another and using
418 cookieless session, we were doing pretty bad. Now, if the current path
419 and the original are the same, we just use the filename. Otherwise
420 we make the action location be relative to the original URL.
422 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
424 * HtmlInputButton.cs: render the onclick for doing a postback even when
425 there are no validators.
427 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
429 * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
431 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
433 * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
434 [UrlProperty] on HRef property for 2.0.
435 * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
436 * HtmlHead.cs: Remove IPageHeader interface.
437 * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
438 * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
439 * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
440 * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
441 * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
442 [UrlProperty] on Src property for 2.0.
443 * HtmlInputPassword.cs: Added [SupportsEventValidation].
444 * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
445 * HtmlInputReset.cs: Added [SupportsEventValidation].
446 * HtmlInputSubmit.cs: Added [SupportsEventValidation].
447 * HtmlInputText.cs: Added [SupportsEventValidation] on class and
448 re-enabled RenderAttribute for 2.0.
449 * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
450 * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
451 * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
453 2005-09-18 Chris Toshok <toshok@ximian.com>
455 * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
456 instead of AddAttribute when dealing with "onclick."
458 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
460 * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
462 2005-09-11 Chris Toshok <toshok@ximian.com>
464 * HtmlInputFile.cs (set_Value): add a message to the
465 NotSupportedException.
467 * HtmlInputControl.cs (RenderAttributes): add Page != null to the
468 checks before we register our control with the
469 __enabledControlArray JS array.
471 2005-09-09 Chris Toshok <toshok@ximian.com>
473 * HtmlInputButton.cs (CausesValidation): this is stored in
474 Attributes, not ViewState.
475 (ValidationGroup): same.
476 (RenderAttributes): remove CausesValidation from the list of
477 Attributes before calling base.RenderAttributes. Don't, however,
478 remove ValidationGroup, to replicate an MS bug.
480 2005-09-07 Chris Toshok <toshok@ximian.com>
482 * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
483 (Name): not sure about this property.. the getter apparently just
484 returns UniqueID, and the setter does nothing that I can figure
486 (RenderAttributes): don't bother to remove "name", since it's not
487 in the attributes anyway.
489 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
491 * HtmlInputControl.cs: use the Name property instead of the ClientID.
492 The 'name' attribute rendered contains colons if inside a
495 2005-09-07 Chris Toshok <toshok@ximian.com>
497 * HtmlInputCheckBox.cs (Checked): uncomment the
498 MinimizableAttributeTypeConverter attribute.
500 * HtmlControl.cs (Disabled): uncomment the
501 MinimizableAttributeTypeConverter attribute.
503 * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
505 * HtmlTableCell.cs (NoWrap): uncomment the
506 MinimizableAttributeTypeConverter attribute.
508 * HtmlLink.cs (Href): remove the MonoTODO.
510 * HtmlMeta.cs (Name): remove the MonoTODO.
512 (Render): add (pretty bogus, really..) implementation. not sure
513 why we need this one.
515 2005-09-06 Chris Toshok <toshok@ximian.com>
517 * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
520 2005-09-06 Chris Toshok <toshok@ximian.com>
522 * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
525 2005-09-06 Chris Toshok <toshok@ximian.com>
527 * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
528 (AddedControl): move the HtmlTitle logic here.
529 (RemovedControl): clear out the title if that was the control that
532 * HtmlLink.cs: new implementation.
534 * HtmlMeta.cs: new implementation.
536 2005-09-06 Chris Toshok <toshok@ximian.com>
538 * HtmlInputControl.cs (RenderAttributes): add ourselves to the
539 __enabledControlArray JS array if we're currently enabled and the
540 form is set to SubmitDisabledControls.
542 * HtmlForm.cs (OnInit): call Page.RegisterForm here.
543 (DetermineRenderUplevel): split this out of OnPreRender and make
544 it internal so HtmlInputControl can call it.
545 (OnPreRender): add handling for SubmitDisabledControls.
547 2005-09-05 Chris Toshok <toshok@ximian.com>
549 * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
550 or in the ViewState. where then?
551 (DefaultFocus): this one is stored in the ViewState, not as an
553 (SubmitDisabledControls): implement just as a boolean flag, not in
554 the viewstate or attributes.
555 (RenderAttributes): defaultfocus and defaultbutton are no longer
558 2005-09-04 Chris Toshok <toshok@ximian.com>
560 * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
562 * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
564 * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
566 * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
567 way, and in OnPreRender, call Page.RegisterRequiresPostback.
569 * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
570 and in OnPreRender, call Page.RegisterRequiresPostback.
572 * HtmlInputRadioButton.cs (OnPreRender): call
573 Page.RegisterRequiresPostback.
575 * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
576 Also, in OnPreRender, call Page.RegisterRequiresPostback.
578 * HtmlTextArea.cs (OnPreRender): call
579 Page.RegisterRequiresPostback.
581 2005-09-02 Chris Toshok <toshok@ximian.com>
583 * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
585 2005-09-02 Chris Toshok <toshok@ximian.com>
587 * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
589 * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
590 raisepostdatachangedevent, and raisepostbackevent.
591 (validationgroup): implement.
593 * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
594 and raisepostdatachangedevent.
596 * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
597 and RaisePostDataChangedEvent.
599 * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
600 body of both RaisePostBackEvent impl's here, and fix it up so we
601 use the property Page.Validate call in 2.0.
602 (RaisePostBackEvent): call RaisePostBackEventInternal.
603 (IPostBackEventHandler.RaisePostBackEvent): same.
605 * HtmlImage.cs (Align): the test case shows that we don't need to
608 2005-09-01 Sebastien Pouliot <sebastien@ximian.com>
610 * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
611 HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
612 HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
613 HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
614 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
615 HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
616 HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
617 HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
618 HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
619 attributes AspNetHostingPermission for Minimal level on all classes
620 (LinkDemand) and for non-sealed classes (InheritanceDemand).
622 2005-08-29 Chris Toshok <toshok@ximian.com>
624 * System.Web.UI.HtmlControls/HtmlTableCell.cs,
625 System.Web.UI.HtmlControls/HtmlInputFile.cs,
626 System.Web.UI.HtmlControls/HtmlForm.cs,
627 System.Web.UI.HtmlControls/HtmlInputText.cs,
628 System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
629 System.Web.UI.HtmlControls/HtmlAnchor.cs,
630 System.Web.UI.HtmlControls/HtmlButton.cs,
631 System.Web.UI.HtmlControls/HtmlTextArea.cs,
632 System.Web.UI.HtmlControls/HtmlGenericControl.cs,
633 System.Web.UI.HtmlControls/HtmlSelect.cs,
634 System.Web.UI.HtmlControls/HtmlTableRow.cs,
635 System.Web.UI.HtmlControls/HtmlControl.cs,
636 System.Web.UI.HtmlControls/HtmlImage.cs,
637 System.Web.UI.HtmlControls/HtmlTable.cs,
638 System.Web.UI.HtmlControls/HtmlInputButton.cs,
639 System.Web.UI.HtmlControls/HtmlInputControl.cs,
640 System.Web.UI.HtmlControls/HtmlInputImage.cs,
641 System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
642 System.Web.UI.HtmlControls/HtmlInputHidden.cs,
643 System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
646 2005-08-29 Chris Toshok <toshok@ximian.com>
648 * HtmlInputSubmit.cs: new implementation.
650 * HtmlInputReset.cs (ValidationGroup): implement
652 * HtmlInputButton.cs (ValidationGroup): implement.
654 2005-08-29 Chris Toshok <toshok@ximian.com>
656 * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
660 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
662 * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
663 but not used. Call ResolveUrl when rendering the attributes instead.
665 2005-08-28 Chris Toshok <toshok@ximian.com>
667 * HtmlHeadBuilder.cs: this is public.
669 * HtmlSelectBuilder.cs: in 2.0 this is public.
671 * HtmlInputButton.cs: fix boilerplate.
673 * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
674 (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
675 Page.Validation(ValidationGroup).
677 2005-08-28 Chris Toshok <toshok@ximian.com>
679 * HtmlInputReset.cs: mostly complete implementation.
681 2005-08-28 Chris Toshok <toshok@ximian.com>
683 * HtmlInputPassword.cs: doh, make this NET_2_0 only.
685 2005-08-28 Chris Toshok <toshok@ximian.com>
687 * HtmlInputPassword.cs: implement.
689 2005-08-28 Chris Toshok <toshok@ximian.com>
691 * HtmlImage.cs: corcompare fixes.
693 * HtmlInputCheckBox.cs: same.
695 2005-08-27 Chris Toshok <toshok@ximian.com>
697 * HtmlControl.cs (GetAttribute, SetAttribute): implement.
699 2005-08-27 Chris Toshok <toshok@ximian.com>
701 * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
702 (OnPreRender): figure out (hackishly) if we're uplevel rendering.
703 If we have a default button/focus control set, register webform.js
704 as a client script block, and emit some JS to focus the control.
705 (RenderAttributes): verify that the DefaultButton attribute points
706 to a valid IButtonControl implementing control. Also remove the
707 defaultfocus/defaultbutton attributes before calling
708 base.RenderAttributes.
710 2005-08-27 Kornél Pál <kornelpal@hotmail.com>
712 * HtmlTableCell.cs: Fixed to use Consts.
714 2005-08-26 Chris Toshok <toshok@ximian.com>
716 * HtmlButton.cs (ValidationGroup): implement.
717 (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
718 one body of the actual RaisePostBackEvent code. Also, call
719 Page.Validate(ValidationGroup) in the 2.0 case.
721 2005-08-25 Miguel de Icaza <miguel@novell.com>
723 * HtmlHead.cs: Implement constructor, pass the tag.
725 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
727 * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
729 2005-08-25 Chris Toshok <toshok@ximian.com>
731 * HtmlForm.cs (CreateControlCollection, OnPreRender,
732 RenderControl): implement naively, just calling base.Method.
734 2005-08-25 Chris Toshok <toshok@ximian.com>
736 * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
737 the last '/' when rendering the action. Fixes comments in
740 2005-08-24 Chris Toshok <toshok@ximian.com>
742 * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
743 HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
744 HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
745 Add MonoTODO's for all NotImplementedException's.
747 2005-08-18 Dick Porter <dick@ximian.com>
749 * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
750 HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
751 HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
752 HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
753 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
754 HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
756 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
758 * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
759 Load method (bad choice) to DefaultLoadPostData.
761 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
763 * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
764 * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
765 method. Fixed support for protected LoadPostData and
766 RaisePostDataChangedEvent in 2.0 (recursion).
767 * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
768 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
769 * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
770 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
772 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
774 * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
775 for 2.0 profile. The class seems to be internal and not (yet?)
778 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
780 * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
781 * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
782 (at least) HtmlInputControl in 2.0 profile.
783 * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
784 * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
786 2005-08-09 Dick Porter <dick@ximian.com>
788 * HtmlSelect.cs: Clear databindings when adding a new one; cope
789 with assorted combinations of empty text and value fields; write
790 <option> tags manually to match ms HTML output. All fix nunit
793 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
795 * HtmlInputControl.cs: Remove code to handle password (wrong place)
796 and fixed type handling for 2.0.
797 * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
798 the type == password. Tests indicates that the value is present for
801 2005-08-05 Dick Porter <dick@ximian.com>
803 * HtmlSelect.cs: Fix databinding when one or other of Name and
804 Value aren't supplied (thanks to Peter for the patch); Make
805 <option> indenting match ms output.
807 2005-07-30 Ben Maurer <bmaurer@ximian.com>
809 * HtmlForm.cs: Make sure we actually put the "?" in the url
811 2005-07-29 Dick Porter <dick@ximian.com>
813 * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
814 instead of building the query string by hand
816 2005-07-27 Dick Porter <dick@ximian.com>
818 * HtmlInputCheckBox.cs: New implementation
820 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
822 * HtmlSelect.cs: Added missing attributes
824 2005-07-26 Dick Porter <dick@ximian.com>
826 * HtmlSelect.cs: New implementation
828 2005-07-26 Miguel de Icaza <miguel@novell.com>
830 * HtmlForm.cs: It is possible to have keys with no values in the
831 query string, do not try to process those on the foreach loop.
833 The question is: what should happen if I only get the key?
835 Example: file_with_a_form.aspx?a
837 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
839 * HtmlForml.cs: Implemented UniqueID (new in sp1)
840 * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
842 2005-07-24 Dick Porter <dick@ximian.com>
844 * HtmlForm.cs: Add the trailing query string to the form action;
845 fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
847 2005-07-22 Dick Porter <dick@ximian.com>
849 * HtmlInputFile.cs: Add assembly attributes
851 2005-07-21 Dick Porter <dick@ximian.com>
853 * HtmlImage.cs: The src attribute needs to be a relative URL;
854 close the HTML element when rendering attributes, to match the MS
857 * HtmlForm.cs: Added assembly attributes; don't render ID twice;
858 don't render enctype and target if they are empty strings;
859 implement a Render overload to keep corcompare quiet.
861 2005-07-20 Chris Toshok <toshok@ximian.com>
863 * HtmlForm.cs (RenderAttributes): if there are submit statements,
864 we need to render those.
866 * HtmlInputImage.cs: same.
868 * HtmlInputButton.cs: hook up the client validation stuff.
870 * HtmlButton.cs: same, except a lot more complicated due to
873 2005-07-19 Dick Porter <dick@ximian.com>
875 * HtmlImage.cs: Added attributes; use Int32.Parse instead of
878 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
880 * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
881 ControlID for Name (and not ID). Added ControlBuilder attribute.
882 * HtmlTable.cs: Simplify check when adding controls.
883 * HtmlTableRow.cs: Simplify check when adding controls.
885 2005-07-18 Jackson Harper <jackson@ximian.com>
887 * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
890 2005-07-15 Jackson Harper <jackson@ximian.com>
892 * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
893 constant. Update fetching from viewstate code to use new
896 2005-07-15 Jackson Harper <jackson@ximian.com>
898 * HtmlInputButton.cs: Add DefaultEventAttribute.
900 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
902 * HtmlInputControl.cs: Removed internal property (no more required to
904 * HtmlInputRadioButton.cs: Optimized events.
905 * HtmlInputText.cs: Optimized events.
906 * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
908 * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
910 * HtmlTextArea.cs: Optimized events.
912 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
914 * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
915 result) and fixed compatibility for a weird behaviour of the HRef
916 attribute handling. Optimized events.
918 2005-07-14 Jackson Harper <jackson@ximian.com>
920 * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
921 string constant. Use new method for accessing ViewState
922 data. Don't remove value from the view state if it is the default.
924 2005-07-14 Jackson Harper <jackson@ximian.com>
926 * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
927 string constant. Use new method for accessing ViewState
928 data. Don't remove value from the view state if it is the default.
930 2005-07-14 Dick Porter <dick@ximian.com>
932 * HtmlInputFile.cs: New implementation
934 2005-07-14 Jackson Harper <jackson@ximian.com>
936 * HtmlInputControl.cs: Use ClientID for input controls name.
938 2005-07-14 Dick Porter <dick@ximian.com>
940 * HtmlForm.cs: New Implementation
942 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
944 * HtmlTable.cs: Added missing attributes.
945 * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
946 as the builder's type isn't public.
947 * HtmlInputControl.cs: Added missing attributes.
948 * HtmlInputText.cs: Added missing attributes.
949 * HtmlInputRadioButton.cs: Added missing attributes.
950 * HtmlAnchor.cs: Added missing attributes.
951 * HtmlTextArea.cs: Added missing attributes.
952 * HtmlTableRow.cs: Added missing attributes.
954 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
956 * HtmlAnchor.cs: Added DefaultValue attributes.
957 * HtmlInputControl.cs: Added DefaultValue attributes.
958 * HtmlInputRadioButton.cs: Added DefaultValue attributes.
959 * HtmlInputText.cs: Added DefaultValue attributes. Added method
960 RenderAttributes in 1.1 profile.
961 * HtmlTable.cs: Fix DefaultValue to "".
962 * HtmlTextArea.cs: Added DefaultValue attributes.
964 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
966 * HtmlTableCell.cs: Added DefaultValue attributes.
967 * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
968 * HtmlTableRowCollection.cs: Reworked collection to share data with
970 * HtmlTableCellCollection.cs: Reworked collection to share data with
971 HtmlTableRow.Controls.
972 * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
974 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
976 * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
978 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
980 * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
982 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
984 * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
986 * HtmlTextArea.cs: New implementation.
988 2005-07-07 Jackson Harper <jackson@ximian.com>
990 * HtmlInputImage.cs: New implementation.
992 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
994 * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
995 * HtmlInputControl.cs: New implementation.
996 * HtmlInputRadioButton.cs: New implementation.
997 * HtmlInputText.cs: New implementation.
999 2005-07-07 Jackson Harper <jackson@ximian.com>
1001 * HtmlInputHidden.cs: New implementation.
1003 2005-07-07 Jackson Harper <jackson@ximian.com>
1005 * HtmlAnchor.cs: Call base OnPreRender from override.
1007 2005-07-07 Jackson Harper <jackson@ximian.com>
1009 * HtmlInputButton.cs: New implementation.
1011 2005-07-07 Dick Porter <dick@ximian.com>
1013 * HtmlImage.cs: New implementation
1015 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
1017 * HtmlAnchor.cs: Fixed to remove attributes properly.
1018 * HtmlTable.cs: New implementation.
1019 * HtmlTableCell.cs: New implementation.
1020 * HtmlTableCellCollection.cs: New implementation.
1021 * HtmlTableRow.cs: New implementation.
1022 * HtmlTableRowCollection.cs: New implementation.
1024 2005-07-06 Jackson Harper <jackson@ximian.com>
1026 * HtmlButton.cs: New implementation.
1028 2005-07-06 Sebastien Pouliot <sebastien@ximian.com>
1030 * HtmlAnchor.cs: New implementation.
1032 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1035 * HtmlControl.cs: updates for 1.1 SP1.
1037 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1039 * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
1042 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
1044 * HtmlHead.cs: Fix warning.
1046 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
1048 * HtmlForm.cs: Use the new WriteSubmitStatements method from
1051 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
1053 * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
1054 Page.GetPostBackClientEvent since it is deprecated in 2.0.
1056 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
1058 * HtmlForm.cs: Register the form in the page, so the page knows
1059 which is the main form.
1061 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
1063 * HtmlHead.cs: Method name fix.
1065 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1067 * HtmlForm.cs: submitStatements holds Hashtables.
1069 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
1071 * HtmlHead.cs: Implemented.
1072 * HtmlHeadBuilder.cs: Implemented.
1073 * HtmlTitle.cs: Implemented.
1075 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1077 * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
1079 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1081 * HtmlForm.cs: fixed the Action property when running a different
1082 page than the one requested (Transfer). Closes bug #69318.
1084 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
1086 * HtmlForm.cs: Add submit statements from the new Page.ClientScript
1089 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1091 * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
1092 it and failed when the browser was IE.
1094 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1096 * HtmlForm.cs: default value for Enctype is "".
1097 * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
1098 we set it to "multipart/form-data". Fixes bug #58359.
1100 2004-01-15 Alon Gazit <along@mainsoft.com>
1101 * HtmlForm.cs: The property name always return the value of the
1104 2003-12-28 Alon Gazit <along@mainsoft.com>
1105 * HtmlSelect.cs: fix typo in LoadPostData().
1107 2003-12-29 Alon Gazit <along@mainsoft.com>
1108 * HtmlInputButton.cs: update the implementation of RenderAttributes().
1109 Change the if statement that determines if the onclick script is
1112 2003-12-28 Alon Gazit <along@mainsoft.com>
1113 * HtmlSelect.cs: add parentheses to if statement.
1114 Currently the else statement refers to the inner if statement.
1116 2003-12-28 Alon Gazit <along@mainsoft.com>
1117 * HtmlSelect.cs: fix upper bound of for statement.
1119 2003-12-19 Jackson Harper <jackson@ximian.com>
1121 * HtmlInputFile.cs: Do not set value when loading post data.
1123 2003-12-14 Alon Gazit <along@mainsoft.com>
1124 * HtmlInputButton.cs: The problem was in RenderAttributes().
1125 Before adding the script to the HTML, the number of Validators should
1126 be checked. fixes bug #52158.
1128 2003-12-07 Alon Gazit <along@mainsoft.com>
1129 * HtmlTableCell.cs: fixing a typo in NoWrap property.
1131 2003-12-04 Jackson Harper <jackson@ximian.com>
1133 * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
1134 value. This is because radio button groups are created by setting
1135 the name to the same value with each button, then on postback the
1136 value of the name is the id of the selected radio button.
1138 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1140 * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
1142 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1144 * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
1145 remove the code used to workaround that.
1147 2003-12-01 Jackson Harper <jackson@ximian.com>
1149 * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
1150 <along@mainsoft.com>.
1152 2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1154 * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
1155 <along@mainsoft.com>. Fixes bug #51377.
1157 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1159 * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
1160 <along@mainsoft.com>.
1162 2003-10-29 Jackson Harper <jackson@ximian.com>
1164 * HtmlControl.cs: Make disabled an attribute of the control so it
1165 is rendered. This is a slightly modifed version of a patch
1166 by Yaron Shkop. Fixes bug #50160.
1168 2003-10-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1170 * HtmlTextArea.cs: fixed infinite recursion.
1172 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1174 * HtmlForm.cs: render the onsubmit attribute.
1176 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1178 * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
1179 need to pass true here. Fixes bug #47918.
1181 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1183 * HtmlContainerControl.cs: Added attributes
1184 * HtmlControl.cs: Added attributes
1185 * HtmlInputControl.cs: Fixed public signature
1186 * HtmlInputRadioButton.cs: Fixed public signature
1187 * HtmlSelect.cs: Added missing attribute
1188 * HtmlTable.cs: Added missing attribute
1190 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1192 * HtmlSelect.cs: fixed bug #44894.
1194 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1197 * HtmlInputControl.cs:
1198 * HtmlSelect.cs: added control builder attribute.
1200 * HtmlSelectBuilder.cs: builder for HtmlSelect.
1202 * HtmlControlBuilder.cs: common builder for all HtmlControls.
1204 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1206 * HtmlControl.cs: _tagName is now internal.
1207 * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
1210 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1212 * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
1214 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1216 * HtmlInputButton.cs: fixed bug #35677.
1218 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1220 * HtmlInputControl.cs: fixed bug #35673.
1222 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1224 * HtmlInputText.cs: fixed bug #35670.
1226 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1228 * HtmlSelect.cs: fixed LoadViewstate.
1230 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1232 * HtmlButton.cs: make it do a POST if the button has any ServerClick
1235 2002-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1239 * HtmlContainerControl.cs:
1242 * HtmlGenericControl.cs:
1244 * HtmlInputButton.cs:
1245 * HtmlInputCheckBox.cs:
1246 * HtmlInputControl.cs:
1248 * HtmlInputHidden.cs:
1249 * HtmlInputImage.cs:
1250 * HtmlInputRadioButton.cs:
1256 * HtmlTextArea.cs: added almost all missing attributes.
1258 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1260 * HtmlControl.cs: the attributes must use ViewState as its StateBag,
1261 if not style values are lost between postbacks.
1263 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1267 * HtmlInputButton.cs:
1268 * HtmlInputCheckBox.cs:
1269 * HtmlInputHidden.cs:
1270 * HtmlInputImage.cs:
1272 * HtmlTextArea.cs: Initialize EventHandlerList indexer.
1274 * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
1275 instead of maintaining some flags and strings. Implemented
1278 * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
1280 * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
1283 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1285 * HtmlGenericControl.cs: fixed TagName signature and get/set.
1286 * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
1287 * HtmlInputText.cs: added attribute.
1289 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1291 * HtmlForm.cs: don't render action attribute.
1293 2002-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1295 * HtmlContainerControl.cs:
1296 (CreateControlCollection): added. All containers must have a non-empty
1299 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1301 * System.Web.UI.HtmlControls/HtmlAnchor.cs:
1302 * System.Web.UI.HtmlControls/HtmlButton.cs:
1303 * System.Web.UI.HtmlControls/HtmlControl.cs:
1304 * System.Web.UI.HtmlControls/HtmlForm.cs:
1305 * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
1306 * System.Web.UI.HtmlControls/HtmlInputButton.cs:
1307 * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
1308 * System.Web.UI.HtmlControls/HtmlInputControl.cs:
1309 * System.Web.UI.HtmlControls/HtmlInputFile.cs:
1310 * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
1311 * System.Web.UI.HtmlControls/HtmlInputImage.cs:
1312 * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
1313 * System.Web.UI.HtmlControls/HtmlInputText.cs:
1314 * System.Web.UI.HtmlControls/HtmlSelect.cs:
1315 * System.Web.UI.HtmlControls/HtmlTable.cs:
1316 * System.Web.UI.HtmlControls/HtmlTableCell.cs:
1317 * System.Web.UI.HtmlControls/HtmlTableRow.cs:
1318 * System.Web.UI.HtmlControls/HtmlTextArea.cs:
1320 Fixes based on class status page:
1322 - Add attributes (DefaultEvent, ParseChildren).
1324 - Explicitly implement some interfaces (IPostBackDataHandler
1325 and IPostBackEventHandler).
1326 - Implemented some missing methods.
1328 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1331 (RenderChildren): use OnFormRender and OnFormPostRender.
1333 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1336 (RenderAttributes): new -> override and fixes stack overflow.
1337 (RenderChildren): only 1 option can be selected at any given time
1338 except when Multiple property is true.
1339 (Multiple): the attribute value is either "true" or "false", not
1344 (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
1347 (RenderEndTag): new -> override.
1350 (RenderChildren): fixed another stack overflow.
1351 (RenderEndTag): new -> override.
1354 (RenderAttributes): new -> override.
1357 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1359 * HtmlInputHidden.cs: fixed constructor.
1361 * HtmlInputRadioButton.cs:
1362 (RenderAttributes): fixed stack overflow.
1365 (RenderedName): new -> override.
1367 (Value): new property.
1370 (RenderAttributes): fixed the same kind of stack overflow and make
1371 string comparison case insensitive.
1373 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1375 * HtmlForm.cs: fixed name of Enctype property and render enctype
1378 * HtmlInputControl.cs: tag type is "input", not "type".
1380 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1382 * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
1385 * HtmlForm.cs: Render output when no IE browser.
1387 * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
1388 though now it always use the other .ctor.
1390 * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
1392 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1394 * HtmlButton.cs: RenderAttributes is an override, not new.
1396 * HtmlContainerControl.cs: use the new Render method in HtmlControl.
1398 * HtmlControl.cs: added Render method to render the tag and its
1399 attributes. Works for container and non-containers.
1401 * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
1404 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1406 * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
1407 instead of Page.Server to encode InnerText.
1409 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1412 (RenderAttributes): new -> override and fixed little bug that made
1413 it cause an stack overflow.
1415 * HtmlContainerControl.cs: reformatted and added tag and attributes
1418 * HtmlGenericControl.cs: removed TagName, which is already in
1422 (RenderEndTag): new -> override.
1424 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1426 * System.Web.UI.HtmlControls/HtmlForm.cs:
1427 (RenderAttributes): changed new by override.
1428 (Name): allow setting the property.
1430 2002-05-10 Duncan Mak <duncan@ximian.com>
1432 * HtmlTableCellCollection.cs (this): Updated the indexer to return
1433 the right type, HtmlTableCell instead of HtmlTableRow.
1435 * HtmlInputImage.cs (OnServerClick): Commented out parts that
1438 * HtmlForm.cs (RenderAttributes):
1439 (RenderChildren): Commented out code that doesn't compile.
1441 2002-05-07 Duncan Mak <duncan@ximian.com>
1443 * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
1444 clashing with the method defined in the parent class.
1445 (OnDataBinding): Added missing casts.
1447 * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
1448 'this' to IAttributeAccessor before calling interface method.
1449 Also renamed some calls to reflect changes in the API.
1451 * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
1454 2001-09-03 Leen Toelen <toelen@hotmail.com>
1456 * HtmlAnchor.cs: Initial implementation.
1457 * HtmlTextArea.cs: Initial implementation.
1459 2001-08-22 Bob Smith <bob@thestuff.net>
1461 * HtmlContainerControl.cs: Initial implementation.
1462 * HtmlControl.cs: Initial implementation.
1463 * HtmlGenericControl.cs: Initial implementation.