1 2009-05-15 Marek Habersack <mhabersack@novell.com>
3 * HtmlForm.cs: if application isn't running on /, make sure we
4 generate the correct relative path for the action form attribute.
6 2009-04-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
8 * HtmlInputText.cs: make sure we're inside a Page before dereferencing
11 2008-11-06 Marek Habersack <mhabersack@novell.com>
13 * HtmlForm.cs: added the undocumented, but supported, Action
14 attribute. Fixes bug #442104
16 2008-10-17 Marek Habersack <mhabersack@novell.com>
18 * HtmlInputHidden.cs: validate the event in LoadPostDataInternal.
20 * HtmlInputButton.cs: validate the event in
21 RaisePostBackEventInternal ().
22 Register for event validation in RenderAttributes ()
24 * HtmlTextArea.cs: validate the event in
25 RaisePostBackDataChangedEvent ().
27 * HtmlButton.cs: validate the event in RaisePostBackEvent ().
28 Register for event validation in RenderAttributes ()
30 * HtmlAnchor.cs: validate the event in RaisePostBackEvent ().
31 Register for event validation in RenderAttributes ().
33 * HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in
36 * HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs,
37 HtmlInputPassword.cs: validate the event in
38 RaisePostDataChangedEvent ().
40 2008-10-07 Christian Hergert <christian.hergert@gmail.com>
42 * HtmlImage.cs: Do not render the src attribute if it is null or empty.
43 An empty src attribute makes browsers download the current page url as
46 2008-08-29 Marek Habersack <mhabersack@novell.com>
48 * HtmlHead.cs: call base.OnInit ()
49 If Page is null, throw an exception.
51 2008-07-25 Dean Brettle <dean@brettle.com>
53 * HtmlControl.cs (PreProcessRelativeReference),
54 HtmlForm.cs (RenderAttributes), HtmlInputButton (RenderAttributes),
55 HtmlInputRadioButton (RenderAttributes), HtmlSelect (RenderChildren):
56 Encode attributes that could contain HTML special chars.
58 * HtmlSelect (RenderChildren): HTML-encode option text.
60 2008-06-30 Marek Habersack <mhabersack@novell.com>
62 * HtmlForm.cs: hush the warnings
64 2008-06-08 Gert Driesen <drieseng@users.sourceforge.net>
66 * HtmlAnchor.cs: Do not render empty name, target or title attribute.
67 Removed extra check for target attribute in RenderAttributes. Use
68 string.Empty instead of "", and check string's Length instead of
69 comparison with "" or string.Empty. Minor code formatting.
71 2008-06-04 Juraj Skripksy <js@hotfeet.ch>
73 * HtmlAnchor.cs (Render): Add missing call to
74 ClientScriptManager.RegisterForEventValidation. Fixes bug #397142.
76 2008-06-04 Juraj Skripsky <js@hotfeet.ch>
78 * HtmlAnchor.cs: Do not render an empty href attribute.
81 2008-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
83 * HtmlForm.cs: fixed action attribute in RenderAttributes under
86 2008-02-06 Marek Habersack <mhabersack@novell.com>
88 * HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
89 mode. Fixes bug #354425
91 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
93 * HtmlSelect.cs: refactoring.
95 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
97 * HtmlSelect.cs: fix databinding (only 2.0), state management.
99 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
101 * HtmlSelect.cs: Fix infinite recursion (only in 2.0) found using
104 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
106 * HtmlForm.cs: refactoring.
108 2007-12-13 Marek Habersack <mhabersack@novell.com>
110 * HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
111 instead of String.Format in some cases.
113 2007-11-07 Juraj Skripsky <js@hotfeet.ch>
115 * HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
116 Fixes bug #339426 for master pages.
118 2007-11-06 Marek Habersack <mhabersack@novell.com>
120 * HtmlForm.cs: a small DetermineRenderUplevel optimization - the
121 result is now cached in a nullable boolean variable.
122 Render the 'onkeypress' attribute if DefaultButton is used. Fixes
125 2007-08-27 Marek Habersack <mhabersack@novell.com>
127 * HtmlForm.cs: make sure the ID is set before HtmlControls renders
128 the attributes. Fixes bug #82596
130 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
132 * HtmlHead.cs: refactoring, used AddAttribute overload without encoding
133 on known attribute values
135 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
137 * HtmlControl.cs: fixed PreProcessRelativeReference, should be used
140 2007-07-16 Marek Habersack <mhabersack@novell.com>
142 * HtmlHeadBuilder.cs: the <meta> tag should be supported as well.
144 * HtmlTitle.cs: if the tag has any children, or the render method
145 delegate has been defined, render the children. Output the
146 contents of Text otherwise. Fixes bug #82102
148 2007-05-08 Marek Habersack <mhabersack@novell.com>
150 * HtmlInputButton.cs: button of type 'reset' does not invoke
152 'reset' buttons clear all the controls in the form to their
155 2007-05-04 Marek Habersack <mhabersack@novell.com>
157 * HtmlAnchor.cs: use ResolveClientUrl when generating
158 attributes. Necessary if the control is in a master page which is
159 in a different directory than the current page.
161 2007-05-01 Marek Habersack <mhabersack@novell.com>
163 * HtmlForm.cs: do not use User-Agent directly, we must take
164 ClientTarget into account.
166 2007-04-27 Marek Habersack <mhabersack@novell.com>
168 * HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
169 paths that might happen in them.
171 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
173 * HtmlForm.cs: for TARGET_J2EE:
174 used Page.Request.Browser to determine RenderUplevel
176 2007-04-17 Marek Habersack <mhabersack@novell.com>
178 * HtmlForm.cs: use the new uplevel browser detection code.
180 2007-04-11 Marek Habersack <mhabersack@novell.com>
182 * HtmlInputHidden.cs:
189 * HtmlInputCheckBox.cs:
190 * HtmlInputRadioButton.cs:
191 * HtmlInputImage.cs: do not register the control for post back
192 processing or if it's disabled.
194 2007-04-06 Marek Habersack <mhabersack@novell.com>
196 * HtmlForm.cs: render the 'name' attribute only when in non-xhtml
199 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
201 * HtmlInputCheckBox.cs:
202 * HtmlInputControl.cs:
203 * HtmlInputHidden.cs:
204 * HtmlInputRadioButton.cs:
208 fixed: Form.SubmitDisabledControls feature:
209 not all HtmlInputControl need to be reenabled on client.
211 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
213 * HtmlForm.cs: Under TARGET_J2EE use Page.RenderResponse instead of
216 2007-01-20 Miguel de Icaza <miguel@novell.com>
218 * HtmlHead.cs: comment out unused code, in particular metadata is
219 commented out because nothing could have triggered its creation.
221 * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
223 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
225 * HtmlLink.cs: fixed RenderAttributes, href should be resolved
227 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
229 * HtmlForm.cs, HtmlAnchor.cs: Added J2EE Portal support for TARGET_J2EE.
231 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
233 * HtmlInputImage.cs: to handle correctly relative URLs to the image.
235 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
237 * HtmlInputRadioButton.cs: fixed: LoadPostData.
239 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
241 * HtmlImputImage.cs: fixed: OnServerClick.
243 2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
245 * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
248 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
250 * HtmlForm.cs: refactoring: Registering of client scripts
253 2006-11-17 Marek Habersack <grendello@gmail.com>
255 * HtmlInputHidden.cs: Added support for event validation.
257 * HtmlInputCheckBox.cs: Added support for event validation.
259 * HtmlInputImage.cs: Added support for event validation.
261 * HtmlInputButton.cs: Added support for event validation.
263 * HtmlSelect.cs: Added support for event validation.
265 * HtmlTextArea.cs: Added support for event validation.
267 * HtmlButton.cs: Added support for event validation.
269 * HtmlInputRadioButton.cs: Added support for event validation.
271 * HtmlInputText.cs: Added support for event validation.
273 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
275 * HtmlContainerControl.cs: fixed: InnerHtml property
277 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
280 HtmlTitle control is created if it was not declared in .aspx
282 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
285 make rendering of the onclick attribute to consider ValidationGroup property
287 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
290 make rendering of the onclick attribute to consider ValidationGroup property
292 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
294 * HtmlInputButton.cs:
295 make rendering of the onclick attribute to consider ValidationGroup property
297 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
300 implemented CausesValidation and ValidationGroup properties
302 2006-09-10 Vladimir Krasnov <vladimirk@mainsoft.com>
304 * HtmlInputFile.cs: fixed Value property
306 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
308 * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.
310 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
313 * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant
316 2006-07-12 Andrew Skiba <andrews@mainsoft.com>
318 * HtmlInputControl.cs: remove obsolete #if NET_2_0
320 2006-06-06 Juraj Skripsky <js@hotfeet.ch>
322 * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
325 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
327 * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
330 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
332 * HtmlInputRadioButton.cs: Value returns the ID only when there's no
333 "value" set. Fixes bug #78101.
335 2006-03-19 Vladimir Krasnov <vladimirk@mainsoft.com>
337 * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty
338 it shouldn't be rendered
339 * HtmlForm.cs: fixed Method, default method "post" should be added if
340 its value null or empty string
341 * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null
342 value, the fix is to remove attributes with empty string value too
344 2006-02-23 Chris Toshok <toshok@ximian.com>
346 * HtmlButton.cs: fix corcompare output.
348 * HtmlInputButton.cs: same.
350 * HtmlInputImage.cs: same.
352 * HtmlInputReset.cs: same.
354 2006-01-22 Chris Toshok <toshok@ximian.com>
356 * HtmlInputButton.cs:
357 s/GetPostBackClientEvent/GetPostBackEventReference.
359 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
361 * HtmlTableRow.cs: Cells is virtual in latest 1.1.
363 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
365 * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
367 * HtmlTable.cs: moved WriteLine around.
369 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
371 * HtmlForm.cs: more class-status fixes.
373 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
375 * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
377 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
379 * HtmlTable.cs: use the base class RenderChildren, as '_rows'
380 might not be the actual collection being used. Fixes bug #76815.
382 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
384 * HtmlInputFile.cs: if no one else set the encoding type for the
385 containing form and there's a HtmlInputFile, set Enctype to
386 'multipart/form-data'. Fixes bug #76837.
388 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
390 * HtmlInputButton.cs: render the onclick attribute only when the
391 button is a 'submit' and no validators or when the button is a
392 'button' and there's a registered ServerClick event. Fixes bug #76781.
394 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
396 * HtmlForm.cs: register the form and require viewstate hidden field to
397 be rendered in Render() even if OnInit is not called.
399 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
401 * HtmlHead.cs: fix the 2.0 build.
403 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
405 * HtmlForm.cs: when transfering from one page to another and using
406 cookieless session, we were doing pretty bad. Now, if the current path
407 and the original are the same, we just use the filename. Otherwise
408 we make the action location be relative to the original URL.
410 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
412 * HtmlInputButton.cs: render the onclick for doing a postback even when
413 there are no validators.
415 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
417 * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
419 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
421 * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
422 [UrlProperty] on HRef property for 2.0.
423 * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
424 * HtmlHead.cs: Remove IPageHeader interface.
425 * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
426 * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
427 * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
428 * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
429 * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
430 [UrlProperty] on Src property for 2.0.
431 * HtmlInputPassword.cs: Added [SupportsEventValidation].
432 * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
433 * HtmlInputReset.cs: Added [SupportsEventValidation].
434 * HtmlInputSubmit.cs: Added [SupportsEventValidation].
435 * HtmlInputText.cs: Added [SupportsEventValidation] on class and
436 re-enabled RenderAttribute for 2.0.
437 * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
438 * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
439 * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
441 2005-09-18 Chris Toshok <toshok@ximian.com>
443 * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
444 instead of AddAttribute when dealing with "onclick."
446 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
448 * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
450 2005-09-11 Chris Toshok <toshok@ximian.com>
452 * HtmlInputFile.cs (set_Value): add a message to the
453 NotSupportedException.
455 * HtmlInputControl.cs (RenderAttributes): add Page != null to the
456 checks before we register our control with the
457 __enabledControlArray JS array.
459 2005-09-09 Chris Toshok <toshok@ximian.com>
461 * HtmlInputButton.cs (CausesValidation): this is stored in
462 Attributes, not ViewState.
463 (ValidationGroup): same.
464 (RenderAttributes): remove CausesValidation from the list of
465 Attributes before calling base.RenderAttributes. Don't, however,
466 remove ValidationGroup, to replicate an MS bug.
468 2005-09-07 Chris Toshok <toshok@ximian.com>
470 * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
471 (Name): not sure about this property.. the getter apparently just
472 returns UniqueID, and the setter does nothing that I can figure
474 (RenderAttributes): don't bother to remove "name", since it's not
475 in the attributes anyway.
477 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
479 * HtmlInputControl.cs: use the Name property instead of the ClientID.
480 The 'name' attribute rendered contains colons if inside a
483 2005-09-07 Chris Toshok <toshok@ximian.com>
485 * HtmlInputCheckBox.cs (Checked): uncomment the
486 MinimizableAttributeTypeConverter attribute.
488 * HtmlControl.cs (Disabled): uncomment the
489 MinimizableAttributeTypeConverter attribute.
491 * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
493 * HtmlTableCell.cs (NoWrap): uncomment the
494 MinimizableAttributeTypeConverter attribute.
496 * HtmlLink.cs (Href): remove the MonoTODO.
498 * HtmlMeta.cs (Name): remove the MonoTODO.
500 (Render): add (pretty bogus, really..) implementation. not sure
501 why we need this one.
503 2005-09-06 Chris Toshok <toshok@ximian.com>
505 * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
508 2005-09-06 Chris Toshok <toshok@ximian.com>
510 * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
513 2005-09-06 Chris Toshok <toshok@ximian.com>
515 * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
516 (AddedControl): move the HtmlTitle logic here.
517 (RemovedControl): clear out the title if that was the control that
520 * HtmlLink.cs: new implementation.
522 * HtmlMeta.cs: new implementation.
524 2005-09-06 Chris Toshok <toshok@ximian.com>
526 * HtmlInputControl.cs (RenderAttributes): add ourselves to the
527 __enabledControlArray JS array if we're currently enabled and the
528 form is set to SubmitDisabledControls.
530 * HtmlForm.cs (OnInit): call Page.RegisterForm here.
531 (DetermineRenderUplevel): split this out of OnPreRender and make
532 it internal so HtmlInputControl can call it.
533 (OnPreRender): add handling for SubmitDisabledControls.
535 2005-09-05 Chris Toshok <toshok@ximian.com>
537 * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
538 or in the ViewState. where then?
539 (DefaultFocus): this one is stored in the ViewState, not as an
541 (SubmitDisabledControls): implement just as a boolean flag, not in
542 the viewstate or attributes.
543 (RenderAttributes): defaultfocus and defaultbutton are no longer
546 2005-09-04 Chris Toshok <toshok@ximian.com>
548 * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
550 * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
552 * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
554 * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
555 way, and in OnPreRender, call Page.RegisterRequiresPostback.
557 * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
558 and in OnPreRender, call Page.RegisterRequiresPostback.
560 * HtmlInputRadioButton.cs (OnPreRender): call
561 Page.RegisterRequiresPostback.
563 * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
564 Also, in OnPreRender, call Page.RegisterRequiresPostback.
566 * HtmlTextArea.cs (OnPreRender): call
567 Page.RegisterRequiresPostback.
569 2005-09-02 Chris Toshok <toshok@ximian.com>
571 * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
573 2005-09-02 Chris Toshok <toshok@ximian.com>
575 * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
577 * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
578 raisepostdatachangedevent, and raisepostbackevent.
579 (validationgroup): implement.
581 * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
582 and raisepostdatachangedevent.
584 * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
585 and RaisePostDataChangedEvent.
587 * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
588 body of both RaisePostBackEvent impl's here, and fix it up so we
589 use the property Page.Validate call in 2.0.
590 (RaisePostBackEvent): call RaisePostBackEventInternal.
591 (IPostBackEventHandler.RaisePostBackEvent): same.
593 * HtmlImage.cs (Align): the test case shows that we don't need to
596 2005-09-01 Sebastien Pouliot <sebastien@ximian.com>
598 * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
599 HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
600 HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
601 HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
602 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
603 HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
604 HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
605 HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
606 HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
607 attributes AspNetHostingPermission for Minimal level on all classes
608 (LinkDemand) and for non-sealed classes (InheritanceDemand).
610 2005-08-29 Chris Toshok <toshok@ximian.com>
612 * System.Web.UI.HtmlControls/HtmlTableCell.cs,
613 System.Web.UI.HtmlControls/HtmlInputFile.cs,
614 System.Web.UI.HtmlControls/HtmlForm.cs,
615 System.Web.UI.HtmlControls/HtmlInputText.cs,
616 System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
617 System.Web.UI.HtmlControls/HtmlAnchor.cs,
618 System.Web.UI.HtmlControls/HtmlButton.cs,
619 System.Web.UI.HtmlControls/HtmlTextArea.cs,
620 System.Web.UI.HtmlControls/HtmlGenericControl.cs,
621 System.Web.UI.HtmlControls/HtmlSelect.cs,
622 System.Web.UI.HtmlControls/HtmlTableRow.cs,
623 System.Web.UI.HtmlControls/HtmlControl.cs,
624 System.Web.UI.HtmlControls/HtmlImage.cs,
625 System.Web.UI.HtmlControls/HtmlTable.cs,
626 System.Web.UI.HtmlControls/HtmlInputButton.cs,
627 System.Web.UI.HtmlControls/HtmlInputControl.cs,
628 System.Web.UI.HtmlControls/HtmlInputImage.cs,
629 System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
630 System.Web.UI.HtmlControls/HtmlInputHidden.cs,
631 System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
634 2005-08-29 Chris Toshok <toshok@ximian.com>
636 * HtmlInputSubmit.cs: new implementation.
638 * HtmlInputReset.cs (ValidationGroup): implement
640 * HtmlInputButton.cs (ValidationGroup): implement.
642 2005-08-29 Chris Toshok <toshok@ximian.com>
644 * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
648 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
650 * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
651 but not used. Call ResolveUrl when rendering the attributes instead.
653 2005-08-28 Chris Toshok <toshok@ximian.com>
655 * HtmlHeadBuilder.cs: this is public.
657 * HtmlSelectBuilder.cs: in 2.0 this is public.
659 * HtmlInputButton.cs: fix boilerplate.
661 * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
662 (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
663 Page.Validation(ValidationGroup).
665 2005-08-28 Chris Toshok <toshok@ximian.com>
667 * HtmlInputReset.cs: mostly complete implementation.
669 2005-08-28 Chris Toshok <toshok@ximian.com>
671 * HtmlInputPassword.cs: doh, make this NET_2_0 only.
673 2005-08-28 Chris Toshok <toshok@ximian.com>
675 * HtmlInputPassword.cs: implement.
677 2005-08-28 Chris Toshok <toshok@ximian.com>
679 * HtmlImage.cs: corcompare fixes.
681 * HtmlInputCheckBox.cs: same.
683 2005-08-27 Chris Toshok <toshok@ximian.com>
685 * HtmlControl.cs (GetAttribute, SetAttribute): implement.
687 2005-08-27 Chris Toshok <toshok@ximian.com>
689 * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
690 (OnPreRender): figure out (hackishly) if we're uplevel rendering.
691 If we have a default button/focus control set, register webform.js
692 as a client script block, and emit some JS to focus the control.
693 (RenderAttributes): verify that the DefaultButton attribute points
694 to a valid IButtonControl implementing control. Also remove the
695 defaultfocus/defaultbutton attributes before calling
696 base.RenderAttributes.
698 2005-08-27 Kornél Pál <kornelpal@hotmail.com>
700 * HtmlTableCell.cs: Fixed to use Consts.
702 2005-08-26 Chris Toshok <toshok@ximian.com>
704 * HtmlButton.cs (ValidationGroup): implement.
705 (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
706 one body of the actual RaisePostBackEvent code. Also, call
707 Page.Validate(ValidationGroup) in the 2.0 case.
709 2005-08-25 Miguel de Icaza <miguel@novell.com>
711 * HtmlHead.cs: Implement constructor, pass the tag.
713 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
715 * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
717 2005-08-25 Chris Toshok <toshok@ximian.com>
719 * HtmlForm.cs (CreateControlCollection, OnPreRender,
720 RenderControl): implement naively, just calling base.Method.
722 2005-08-25 Chris Toshok <toshok@ximian.com>
724 * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
725 the last '/' when rendering the action. Fixes comments in
728 2005-08-24 Chris Toshok <toshok@ximian.com>
730 * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
731 HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
732 HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
733 Add MonoTODO's for all NotImplementedException's.
735 2005-08-18 Dick Porter <dick@ximian.com>
737 * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
738 HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
739 HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
740 HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
741 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
742 HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
744 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
746 * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
747 Load method (bad choice) to DefaultLoadPostData.
749 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
751 * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
752 * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
753 method. Fixed support for protected LoadPostData and
754 RaisePostDataChangedEvent in 2.0 (recursion).
755 * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
756 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
757 * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
758 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
760 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
762 * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
763 for 2.0 profile. The class seems to be internal and not (yet?)
766 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
768 * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
769 * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
770 (at least) HtmlInputControl in 2.0 profile.
771 * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
772 * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
774 2005-08-09 Dick Porter <dick@ximian.com>
776 * HtmlSelect.cs: Clear databindings when adding a new one; cope
777 with assorted combinations of empty text and value fields; write
778 <option> tags manually to match ms HTML output. All fix nunit
781 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
783 * HtmlInputControl.cs: Remove code to handle password (wrong place)
784 and fixed type handling for 2.0.
785 * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
786 the type == password. Tests indicates that the value is present for
789 2005-08-05 Dick Porter <dick@ximian.com>
791 * HtmlSelect.cs: Fix databinding when one or other of Name and
792 Value aren't supplied (thanks to Peter for the patch); Make
793 <option> indenting match ms output.
795 2005-07-30 Ben Maurer <bmaurer@ximian.com>
797 * HtmlForm.cs: Make sure we actually put the "?" in the url
799 2005-07-29 Dick Porter <dick@ximian.com>
801 * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
802 instead of building the query string by hand
804 2005-07-27 Dick Porter <dick@ximian.com>
806 * HtmlInputCheckBox.cs: New implementation
808 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
810 * HtmlSelect.cs: Added missing attributes
812 2005-07-26 Dick Porter <dick@ximian.com>
814 * HtmlSelect.cs: New implementation
816 2005-07-26 Miguel de Icaza <miguel@novell.com>
818 * HtmlForm.cs: It is possible to have keys with no values in the
819 query string, do not try to process those on the foreach loop.
821 The question is: what should happen if I only get the key?
823 Example: file_with_a_form.aspx?a
825 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
827 * HtmlForml.cs: Implemented UniqueID (new in sp1)
828 * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
830 2005-07-24 Dick Porter <dick@ximian.com>
832 * HtmlForm.cs: Add the trailing query string to the form action;
833 fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
835 2005-07-22 Dick Porter <dick@ximian.com>
837 * HtmlInputFile.cs: Add assembly attributes
839 2005-07-21 Dick Porter <dick@ximian.com>
841 * HtmlImage.cs: The src attribute needs to be a relative URL;
842 close the HTML element when rendering attributes, to match the MS
845 * HtmlForm.cs: Added assembly attributes; don't render ID twice;
846 don't render enctype and target if they are empty strings;
847 implement a Render overload to keep corcompare quiet.
849 2005-07-20 Chris Toshok <toshok@ximian.com>
851 * HtmlForm.cs (RenderAttributes): if there are submit statements,
852 we need to render those.
854 * HtmlInputImage.cs: same.
856 * HtmlInputButton.cs: hook up the client validation stuff.
858 * HtmlButton.cs: same, except a lot more complicated due to
861 2005-07-19 Dick Porter <dick@ximian.com>
863 * HtmlImage.cs: Added attributes; use Int32.Parse instead of
866 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
868 * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
869 ControlID for Name (and not ID). Added ControlBuilder attribute.
870 * HtmlTable.cs: Simplify check when adding controls.
871 * HtmlTableRow.cs: Simplify check when adding controls.
873 2005-07-18 Jackson Harper <jackson@ximian.com>
875 * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
878 2005-07-15 Jackson Harper <jackson@ximian.com>
880 * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
881 constant. Update fetching from viewstate code to use new
884 2005-07-15 Jackson Harper <jackson@ximian.com>
886 * HtmlInputButton.cs: Add DefaultEventAttribute.
888 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
890 * HtmlInputControl.cs: Removed internal property (no more required to
892 * HtmlInputRadioButton.cs: Optimized events.
893 * HtmlInputText.cs: Optimized events.
894 * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
896 * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
898 * HtmlTextArea.cs: Optimized events.
900 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
902 * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
903 result) and fixed compatibility for a weird behaviour of the HRef
904 attribute handling. Optimized events.
906 2005-07-14 Jackson Harper <jackson@ximian.com>
908 * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
909 string constant. Use new method for accessing ViewState
910 data. Don't remove value from the view state if it is the default.
912 2005-07-14 Jackson Harper <jackson@ximian.com>
914 * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
915 string constant. Use new method for accessing ViewState
916 data. Don't remove value from the view state if it is the default.
918 2005-07-14 Dick Porter <dick@ximian.com>
920 * HtmlInputFile.cs: New implementation
922 2005-07-14 Jackson Harper <jackson@ximian.com>
924 * HtmlInputControl.cs: Use ClientID for input controls name.
926 2005-07-14 Dick Porter <dick@ximian.com>
928 * HtmlForm.cs: New Implementation
930 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
932 * HtmlTable.cs: Added missing attributes.
933 * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
934 as the builder's type isn't public.
935 * HtmlInputControl.cs: Added missing attributes.
936 * HtmlInputText.cs: Added missing attributes.
937 * HtmlInputRadioButton.cs: Added missing attributes.
938 * HtmlAnchor.cs: Added missing attributes.
939 * HtmlTextArea.cs: Added missing attributes.
940 * HtmlTableRow.cs: Added missing attributes.
942 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
944 * HtmlAnchor.cs: Added DefaultValue attributes.
945 * HtmlInputControl.cs: Added DefaultValue attributes.
946 * HtmlInputRadioButton.cs: Added DefaultValue attributes.
947 * HtmlInputText.cs: Added DefaultValue attributes. Added method
948 RenderAttributes in 1.1 profile.
949 * HtmlTable.cs: Fix DefaultValue to "".
950 * HtmlTextArea.cs: Added DefaultValue attributes.
952 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
954 * HtmlTableCell.cs: Added DefaultValue attributes.
955 * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
956 * HtmlTableRowCollection.cs: Reworked collection to share data with
958 * HtmlTableCellCollection.cs: Reworked collection to share data with
959 HtmlTableRow.Controls.
960 * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
962 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
964 * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
966 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
968 * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
970 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
972 * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
974 * HtmlTextArea.cs: New implementation.
976 2005-07-07 Jackson Harper <jackson@ximian.com>
978 * HtmlInputImage.cs: New implementation.
980 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
982 * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
983 * HtmlInputControl.cs: New implementation.
984 * HtmlInputRadioButton.cs: New implementation.
985 * HtmlInputText.cs: New implementation.
987 2005-07-07 Jackson Harper <jackson@ximian.com>
989 * HtmlInputHidden.cs: New implementation.
991 2005-07-07 Jackson Harper <jackson@ximian.com>
993 * HtmlAnchor.cs: Call base OnPreRender from override.
995 2005-07-07 Jackson Harper <jackson@ximian.com>
997 * HtmlInputButton.cs: New implementation.
999 2005-07-07 Dick Porter <dick@ximian.com>
1001 * HtmlImage.cs: New implementation
1003 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
1005 * HtmlAnchor.cs: Fixed to remove attributes properly.
1006 * HtmlTable.cs: New implementation.
1007 * HtmlTableCell.cs: New implementation.
1008 * HtmlTableCellCollection.cs: New implementation.
1009 * HtmlTableRow.cs: New implementation.
1010 * HtmlTableRowCollection.cs: New implementation.
1012 2005-07-06 Jackson Harper <jackson@ximian.com>
1014 * HtmlButton.cs: New implementation.
1016 2005-07-06 Sebastien Pouliot <sebastien@ximian.com>
1018 * HtmlAnchor.cs: New implementation.
1020 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1023 * HtmlControl.cs: updates for 1.1 SP1.
1025 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1027 * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
1030 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
1032 * HtmlHead.cs: Fix warning.
1034 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
1036 * HtmlForm.cs: Use the new WriteSubmitStatements method from
1039 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
1041 * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
1042 Page.GetPostBackClientEvent since it is deprecated in 2.0.
1044 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
1046 * HtmlForm.cs: Register the form in the page, so the page knows
1047 which is the main form.
1049 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
1051 * HtmlHead.cs: Method name fix.
1053 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1055 * HtmlForm.cs: submitStatements holds Hashtables.
1057 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
1059 * HtmlHead.cs: Implemented.
1060 * HtmlHeadBuilder.cs: Implemented.
1061 * HtmlTitle.cs: Implemented.
1063 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1065 * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
1067 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1069 * HtmlForm.cs: fixed the Action property when running a different
1070 page than the one requested (Transfer). Closes bug #69318.
1072 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
1074 * HtmlForm.cs: Add submit statements from the new Page.ClientScript
1077 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1079 * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
1080 it and failed when the browser was IE.
1082 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1084 * HtmlForm.cs: default value for Enctype is "".
1085 * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
1086 we set it to "multipart/form-data". Fixes bug #58359.
1088 2004-01-15 Alon Gazit <along@mainsoft.com>
1089 * HtmlForm.cs: The property name always return the value of the
1092 2003-12-28 Alon Gazit <along@mainsoft.com>
1093 * HtmlSelect.cs: fix typo in LoadPostData().
1095 2003-12-29 Alon Gazit <along@mainsoft.com>
1096 * HtmlInputButton.cs: update the implementation of RenderAttributes().
1097 Change the if statement that determines if the onclick script is
1100 2003-12-28 Alon Gazit <along@mainsoft.com>
1101 * HtmlSelect.cs: add parentheses to if statement.
1102 Currently the else statement refers to the inner if statement.
1104 2003-12-28 Alon Gazit <along@mainsoft.com>
1105 * HtmlSelect.cs: fix upper bound of for statement.
1107 2003-12-19 Jackson Harper <jackson@ximian.com>
1109 * HtmlInputFile.cs: Do not set value when loading post data.
1111 2003-12-14 Alon Gazit <along@mainsoft.com>
1112 * HtmlInputButton.cs: The problem was in RenderAttributes().
1113 Before adding the script to the HTML, the number of Validators should
1114 be checked. fixes bug #52158.
1116 2003-12-07 Alon Gazit <along@mainsoft.com>
1117 * HtmlTableCell.cs: fixing a typo in NoWrap property.
1119 2003-12-04 Jackson Harper <jackson@ximian.com>
1121 * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
1122 value. This is because radio button groups are created by setting
1123 the name to the same value with each button, then on postback the
1124 value of the name is the id of the selected radio button.
1126 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1128 * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
1130 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1132 * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
1133 remove the code used to workaround that.
1135 2003-12-01 Jackson Harper <jackson@ximian.com>
1137 * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
1138 <along@mainsoft.com>.
1140 2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1142 * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
1143 <along@mainsoft.com>. Fixes bug #51377.
1145 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1147 * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
1148 <along@mainsoft.com>.
1150 2003-10-29 Jackson Harper <jackson@ximian.com>
1152 * HtmlControl.cs: Make disabled an attribute of the control so it
1153 is rendered. This is a slightly modifed version of a patch
1154 by Yaron Shkop. Fixes bug #50160.
1156 2003-10-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1158 * HtmlTextArea.cs: fixed infinite recursion.
1160 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1162 * HtmlForm.cs: render the onsubmit attribute.
1164 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1166 * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
1167 need to pass true here. Fixes bug #47918.
1169 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1171 * HtmlContainerControl.cs: Added attributes
1172 * HtmlControl.cs: Added attributes
1173 * HtmlInputControl.cs: Fixed public signature
1174 * HtmlInputRadioButton.cs: Fixed public signature
1175 * HtmlSelect.cs: Added missing attribute
1176 * HtmlTable.cs: Added missing attribute
1178 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1180 * HtmlSelect.cs: fixed bug #44894.
1182 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1185 * HtmlInputControl.cs:
1186 * HtmlSelect.cs: added control builder attribute.
1188 * HtmlSelectBuilder.cs: builder for HtmlSelect.
1190 * HtmlControlBuilder.cs: common builder for all HtmlControls.
1192 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1194 * HtmlControl.cs: _tagName is now internal.
1195 * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
1198 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1200 * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
1202 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1204 * HtmlInputButton.cs: fixed bug #35677.
1206 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1208 * HtmlInputControl.cs: fixed bug #35673.
1210 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1212 * HtmlInputText.cs: fixed bug #35670.
1214 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1216 * HtmlSelect.cs: fixed LoadViewstate.
1218 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1220 * HtmlButton.cs: make it do a POST if the button has any ServerClick
1223 2002-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1227 * HtmlContainerControl.cs:
1230 * HtmlGenericControl.cs:
1232 * HtmlInputButton.cs:
1233 * HtmlInputCheckBox.cs:
1234 * HtmlInputControl.cs:
1236 * HtmlInputHidden.cs:
1237 * HtmlInputImage.cs:
1238 * HtmlInputRadioButton.cs:
1244 * HtmlTextArea.cs: added almost all missing attributes.
1246 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1248 * HtmlControl.cs: the attributes must use ViewState as its StateBag,
1249 if not style values are lost between postbacks.
1251 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1255 * HtmlInputButton.cs:
1256 * HtmlInputCheckBox.cs:
1257 * HtmlInputHidden.cs:
1258 * HtmlInputImage.cs:
1260 * HtmlTextArea.cs: Initialize EventHandlerList indexer.
1262 * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
1263 instead of maintaining some flags and strings. Implemented
1266 * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
1268 * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
1271 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1273 * HtmlGenericControl.cs: fixed TagName signature and get/set.
1274 * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
1275 * HtmlInputText.cs: added attribute.
1277 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1279 * HtmlForm.cs: don't render action attribute.
1281 2002-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1283 * HtmlContainerControl.cs:
1284 (CreateControlCollection): added. All containers must have a non-empty
1287 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1289 * System.Web.UI.HtmlControls/HtmlAnchor.cs:
1290 * System.Web.UI.HtmlControls/HtmlButton.cs:
1291 * System.Web.UI.HtmlControls/HtmlControl.cs:
1292 * System.Web.UI.HtmlControls/HtmlForm.cs:
1293 * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
1294 * System.Web.UI.HtmlControls/HtmlInputButton.cs:
1295 * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
1296 * System.Web.UI.HtmlControls/HtmlInputControl.cs:
1297 * System.Web.UI.HtmlControls/HtmlInputFile.cs:
1298 * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
1299 * System.Web.UI.HtmlControls/HtmlInputImage.cs:
1300 * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
1301 * System.Web.UI.HtmlControls/HtmlInputText.cs:
1302 * System.Web.UI.HtmlControls/HtmlSelect.cs:
1303 * System.Web.UI.HtmlControls/HtmlTable.cs:
1304 * System.Web.UI.HtmlControls/HtmlTableCell.cs:
1305 * System.Web.UI.HtmlControls/HtmlTableRow.cs:
1306 * System.Web.UI.HtmlControls/HtmlTextArea.cs:
1308 Fixes based on class status page:
1310 - Add attributes (DefaultEvent, ParseChildren).
1312 - Explicitly implement some interfaces (IPostBackDataHandler
1313 and IPostBackEventHandler).
1314 - Implemented some missing methods.
1316 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1319 (RenderChildren): use OnFormRender and OnFormPostRender.
1321 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1324 (RenderAttributes): new -> override and fixes stack overflow.
1325 (RenderChildren): only 1 option can be selected at any given time
1326 except when Multiple property is true.
1327 (Multiple): the attribute value is either "true" or "false", not
1332 (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
1335 (RenderEndTag): new -> override.
1338 (RenderChildren): fixed another stack overflow.
1339 (RenderEndTag): new -> override.
1342 (RenderAttributes): new -> override.
1345 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1347 * HtmlInputHidden.cs: fixed constructor.
1349 * HtmlInputRadioButton.cs:
1350 (RenderAttributes): fixed stack overflow.
1353 (RenderedName): new -> override.
1355 (Value): new property.
1358 (RenderAttributes): fixed the same kind of stack overflow and make
1359 string comparison case insensitive.
1361 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1363 * HtmlForm.cs: fixed name of Enctype property and render enctype
1366 * HtmlInputControl.cs: tag type is "input", not "type".
1368 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1370 * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
1373 * HtmlForm.cs: Render output when no IE browser.
1375 * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
1376 though now it always use the other .ctor.
1378 * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
1380 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1382 * HtmlButton.cs: RenderAttributes is an override, not new.
1384 * HtmlContainerControl.cs: use the new Render method in HtmlControl.
1386 * HtmlControl.cs: added Render method to render the tag and its
1387 attributes. Works for container and non-containers.
1389 * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
1392 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1394 * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
1395 instead of Page.Server to encode InnerText.
1397 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1400 (RenderAttributes): new -> override and fixed little bug that made
1401 it cause an stack overflow.
1403 * HtmlContainerControl.cs: reformatted and added tag and attributes
1406 * HtmlGenericControl.cs: removed TagName, which is already in
1410 (RenderEndTag): new -> override.
1412 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1414 * System.Web.UI.HtmlControls/HtmlForm.cs:
1415 (RenderAttributes): changed new by override.
1416 (Name): allow setting the property.
1418 2002-05-10 Duncan Mak <duncan@ximian.com>
1420 * HtmlTableCellCollection.cs (this): Updated the indexer to return
1421 the right type, HtmlTableCell instead of HtmlTableRow.
1423 * HtmlInputImage.cs (OnServerClick): Commented out parts that
1426 * HtmlForm.cs (RenderAttributes):
1427 (RenderChildren): Commented out code that doesn't compile.
1429 2002-05-07 Duncan Mak <duncan@ximian.com>
1431 * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
1432 clashing with the method defined in the parent class.
1433 (OnDataBinding): Added missing casts.
1435 * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
1436 'this' to IAttributeAccessor before calling interface method.
1437 Also renamed some calls to reflect changes in the API.
1439 * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
1442 2001-09-03 Leen Toelen <toelen@hotmail.com>
1444 * HtmlAnchor.cs: Initial implementation.
1445 * HtmlTextArea.cs: Initial implementation.
1447 2001-08-22 Bob Smith <bob@thestuff.net>
1449 * HtmlContainerControl.cs: Initial implementation.
1450 * HtmlControl.cs: Initial implementation.
1451 * HtmlGenericControl.cs: Initial implementation.