1 2008-06-30 Marek Habersack <mhabersack@novell.com>
3 * HtmlForm.cs: hush the warnings
5 2008-06-08 Gert Driesen <drieseng@users.sourceforge.net>
7 * HtmlAnchor.cs: Do not render empty name, target or title attribute.
8 Removed extra check for target attribute in RenderAttributes. Use
9 string.Empty instead of "", and check string's Length instead of
10 comparison with "" or string.Empty. Minor code formatting.
12 2008-06-04 Juraj Skripksy <js@hotfeet.ch>
14 * HtmlAnchor.cs (Render): Add missing call to
15 ClientScriptManager.RegisterForEventValidation. Fixes bug #397142.
17 2008-06-04 Juraj Skripsky <js@hotfeet.ch>
19 * HtmlAnchor.cs: Do not render an empty href attribute.
22 2008-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
24 * HtmlForm.cs: fixed action attribute in RenderAttributes under
27 2008-02-06 Marek Habersack <mhabersack@novell.com>
29 * HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
30 mode. Fixes bug #354425
32 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
34 * HtmlSelect.cs: refactoring.
36 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
38 * HtmlSelect.cs: fix databinding (only 2.0), state management.
40 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
42 * HtmlSelect.cs: Fix infinite recursion (only in 2.0) found using
45 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
47 * HtmlForm.cs: refactoring.
49 2007-12-13 Marek Habersack <mhabersack@novell.com>
51 * HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
52 instead of String.Format in some cases.
54 2007-11-07 Juraj Skripsky <js@hotfeet.ch>
56 * HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
57 Fixes bug #339426 for master pages.
59 2007-11-06 Marek Habersack <mhabersack@novell.com>
61 * HtmlForm.cs: a small DetermineRenderUplevel optimization - the
62 result is now cached in a nullable boolean variable.
63 Render the 'onkeypress' attribute if DefaultButton is used. Fixes
66 2007-08-27 Marek Habersack <mhabersack@novell.com>
68 * HtmlForm.cs: make sure the ID is set before HtmlControls renders
69 the attributes. Fixes bug #82596
71 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
73 * HtmlHead.cs: refactoring, used AddAttribute overload without encoding
74 on known attribute values
76 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
78 * HtmlControl.cs: fixed PreProcessRelativeReference, should be used
81 2007-07-16 Marek Habersack <mhabersack@novell.com>
83 * HtmlHeadBuilder.cs: the <meta> tag should be supported as well.
85 * HtmlTitle.cs: if the tag has any children, or the render method
86 delegate has been defined, render the children. Output the
87 contents of Text otherwise. Fixes bug #82102
89 2007-05-08 Marek Habersack <mhabersack@novell.com>
91 * HtmlInputButton.cs: button of type 'reset' does not invoke
93 'reset' buttons clear all the controls in the form to their
96 2007-05-04 Marek Habersack <mhabersack@novell.com>
98 * HtmlAnchor.cs: use ResolveClientUrl when generating
99 attributes. Necessary if the control is in a master page which is
100 in a different directory than the current page.
102 2007-05-01 Marek Habersack <mhabersack@novell.com>
104 * HtmlForm.cs: do not use User-Agent directly, we must take
105 ClientTarget into account.
107 2007-04-27 Marek Habersack <mhabersack@novell.com>
109 * HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
110 paths that might happen in them.
112 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
114 * HtmlForm.cs: for TARGET_J2EE:
115 used Page.Request.Browser to determine RenderUplevel
117 2007-04-17 Marek Habersack <mhabersack@novell.com>
119 * HtmlForm.cs: use the new uplevel browser detection code.
121 2007-04-11 Marek Habersack <mhabersack@novell.com>
123 * HtmlInputHidden.cs:
130 * HtmlInputCheckBox.cs:
131 * HtmlInputRadioButton.cs:
132 * HtmlInputImage.cs: do not register the control for post back
133 processing or if it's disabled.
135 2007-04-06 Marek Habersack <mhabersack@novell.com>
137 * HtmlForm.cs: render the 'name' attribute only when in non-xhtml
140 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
142 * HtmlInputCheckBox.cs:
143 * HtmlInputControl.cs:
144 * HtmlInputHidden.cs:
145 * HtmlInputRadioButton.cs:
149 fixed: Form.SubmitDisabledControls feature:
150 not all HtmlInputControl need to be reenabled on client.
152 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
154 * HtmlForm.cs: Under TARGET_J2EE use Page.RenderResponse instead of
157 2007-01-20 Miguel de Icaza <miguel@novell.com>
159 * HtmlHead.cs: comment out unused code, in particular metadata is
160 commented out because nothing could have triggered its creation.
162 * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
164 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
166 * HtmlLink.cs: fixed RenderAttributes, href should be resolved
168 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
170 * HtmlForm.cs, HtmlAnchor.cs: Added J2EE Portal support for TARGET_J2EE.
172 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
174 * HtmlInputImage.cs: to handle correctly relative URLs to the image.
176 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
178 * HtmlInputRadioButton.cs: fixed: LoadPostData.
180 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
182 * HtmlImputImage.cs: fixed: OnServerClick.
184 2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
186 * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
189 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
191 * HtmlForm.cs: refactoring: Registering of client scripts
194 2006-11-17 Marek Habersack <grendello@gmail.com>
196 * HtmlInputHidden.cs: Added support for event validation.
198 * HtmlInputCheckBox.cs: Added support for event validation.
200 * HtmlInputImage.cs: Added support for event validation.
202 * HtmlInputButton.cs: Added support for event validation.
204 * HtmlSelect.cs: Added support for event validation.
206 * HtmlTextArea.cs: Added support for event validation.
208 * HtmlButton.cs: Added support for event validation.
210 * HtmlInputRadioButton.cs: Added support for event validation.
212 * HtmlInputText.cs: Added support for event validation.
214 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
216 * HtmlContainerControl.cs: fixed: InnerHtml property
218 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
221 HtmlTitle control is created if it was not declared in .aspx
223 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
226 make rendering of the onclick attribute to consider ValidationGroup property
228 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
231 make rendering of the onclick attribute to consider ValidationGroup property
233 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
235 * HtmlInputButton.cs:
236 make rendering of the onclick attribute to consider ValidationGroup property
238 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
241 implemented CausesValidation and ValidationGroup properties
243 2006-09-10 Vladimir Krasnov <vladimirk@mainsoft.com>
245 * HtmlInputFile.cs: fixed Value property
247 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
249 * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.
251 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
254 * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant
257 2006-07-12 Andrew Skiba <andrews@mainsoft.com>
259 * HtmlInputControl.cs: remove obsolete #if NET_2_0
261 2006-06-06 Juraj Skripsky <js@hotfeet.ch>
263 * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
266 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
268 * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
271 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
273 * HtmlInputRadioButton.cs: Value returns the ID only when there's no
274 "value" set. Fixes bug #78101.
276 2006-03-19 Vladimir Krasnov <vladimirk@mainsoft.com>
278 * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty
279 it shouldn't be rendered
280 * HtmlForm.cs: fixed Method, default method "post" should be added if
281 its value null or empty string
282 * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null
283 value, the fix is to remove attributes with empty string value too
285 2006-02-23 Chris Toshok <toshok@ximian.com>
287 * HtmlButton.cs: fix corcompare output.
289 * HtmlInputButton.cs: same.
291 * HtmlInputImage.cs: same.
293 * HtmlInputReset.cs: same.
295 2006-01-22 Chris Toshok <toshok@ximian.com>
297 * HtmlInputButton.cs:
298 s/GetPostBackClientEvent/GetPostBackEventReference.
300 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
302 * HtmlTableRow.cs: Cells is virtual in latest 1.1.
304 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
306 * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
308 * HtmlTable.cs: moved WriteLine around.
310 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
312 * HtmlForm.cs: more class-status fixes.
314 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
316 * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
318 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
320 * HtmlTable.cs: use the base class RenderChildren, as '_rows'
321 might not be the actual collection being used. Fixes bug #76815.
323 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
325 * HtmlInputFile.cs: if no one else set the encoding type for the
326 containing form and there's a HtmlInputFile, set Enctype to
327 'multipart/form-data'. Fixes bug #76837.
329 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
331 * HtmlInputButton.cs: render the onclick attribute only when the
332 button is a 'submit' and no validators or when the button is a
333 'button' and there's a registered ServerClick event. Fixes bug #76781.
335 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
337 * HtmlForm.cs: register the form and require viewstate hidden field to
338 be rendered in Render() even if OnInit is not called.
340 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
342 * HtmlHead.cs: fix the 2.0 build.
344 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
346 * HtmlForm.cs: when transfering from one page to another and using
347 cookieless session, we were doing pretty bad. Now, if the current path
348 and the original are the same, we just use the filename. Otherwise
349 we make the action location be relative to the original URL.
351 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
353 * HtmlInputButton.cs: render the onclick for doing a postback even when
354 there are no validators.
356 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
358 * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
360 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
362 * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
363 [UrlProperty] on HRef property for 2.0.
364 * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
365 * HtmlHead.cs: Remove IPageHeader interface.
366 * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
367 * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
368 * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
369 * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
370 * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
371 [UrlProperty] on Src property for 2.0.
372 * HtmlInputPassword.cs: Added [SupportsEventValidation].
373 * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
374 * HtmlInputReset.cs: Added [SupportsEventValidation].
375 * HtmlInputSubmit.cs: Added [SupportsEventValidation].
376 * HtmlInputText.cs: Added [SupportsEventValidation] on class and
377 re-enabled RenderAttribute for 2.0.
378 * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
379 * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
380 * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
382 2005-09-18 Chris Toshok <toshok@ximian.com>
384 * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
385 instead of AddAttribute when dealing with "onclick."
387 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
389 * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
391 2005-09-11 Chris Toshok <toshok@ximian.com>
393 * HtmlInputFile.cs (set_Value): add a message to the
394 NotSupportedException.
396 * HtmlInputControl.cs (RenderAttributes): add Page != null to the
397 checks before we register our control with the
398 __enabledControlArray JS array.
400 2005-09-09 Chris Toshok <toshok@ximian.com>
402 * HtmlInputButton.cs (CausesValidation): this is stored in
403 Attributes, not ViewState.
404 (ValidationGroup): same.
405 (RenderAttributes): remove CausesValidation from the list of
406 Attributes before calling base.RenderAttributes. Don't, however,
407 remove ValidationGroup, to replicate an MS bug.
409 2005-09-07 Chris Toshok <toshok@ximian.com>
411 * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
412 (Name): not sure about this property.. the getter apparently just
413 returns UniqueID, and the setter does nothing that I can figure
415 (RenderAttributes): don't bother to remove "name", since it's not
416 in the attributes anyway.
418 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
420 * HtmlInputControl.cs: use the Name property instead of the ClientID.
421 The 'name' attribute rendered contains colons if inside a
424 2005-09-07 Chris Toshok <toshok@ximian.com>
426 * HtmlInputCheckBox.cs (Checked): uncomment the
427 MinimizableAttributeTypeConverter attribute.
429 * HtmlControl.cs (Disabled): uncomment the
430 MinimizableAttributeTypeConverter attribute.
432 * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
434 * HtmlTableCell.cs (NoWrap): uncomment the
435 MinimizableAttributeTypeConverter attribute.
437 * HtmlLink.cs (Href): remove the MonoTODO.
439 * HtmlMeta.cs (Name): remove the MonoTODO.
441 (Render): add (pretty bogus, really..) implementation. not sure
442 why we need this one.
444 2005-09-06 Chris Toshok <toshok@ximian.com>
446 * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
449 2005-09-06 Chris Toshok <toshok@ximian.com>
451 * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
454 2005-09-06 Chris Toshok <toshok@ximian.com>
456 * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
457 (AddedControl): move the HtmlTitle logic here.
458 (RemovedControl): clear out the title if that was the control that
461 * HtmlLink.cs: new implementation.
463 * HtmlMeta.cs: new implementation.
465 2005-09-06 Chris Toshok <toshok@ximian.com>
467 * HtmlInputControl.cs (RenderAttributes): add ourselves to the
468 __enabledControlArray JS array if we're currently enabled and the
469 form is set to SubmitDisabledControls.
471 * HtmlForm.cs (OnInit): call Page.RegisterForm here.
472 (DetermineRenderUplevel): split this out of OnPreRender and make
473 it internal so HtmlInputControl can call it.
474 (OnPreRender): add handling for SubmitDisabledControls.
476 2005-09-05 Chris Toshok <toshok@ximian.com>
478 * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
479 or in the ViewState. where then?
480 (DefaultFocus): this one is stored in the ViewState, not as an
482 (SubmitDisabledControls): implement just as a boolean flag, not in
483 the viewstate or attributes.
484 (RenderAttributes): defaultfocus and defaultbutton are no longer
487 2005-09-04 Chris Toshok <toshok@ximian.com>
489 * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
491 * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
493 * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
495 * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
496 way, and in OnPreRender, call Page.RegisterRequiresPostback.
498 * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
499 and in OnPreRender, call Page.RegisterRequiresPostback.
501 * HtmlInputRadioButton.cs (OnPreRender): call
502 Page.RegisterRequiresPostback.
504 * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
505 Also, in OnPreRender, call Page.RegisterRequiresPostback.
507 * HtmlTextArea.cs (OnPreRender): call
508 Page.RegisterRequiresPostback.
510 2005-09-02 Chris Toshok <toshok@ximian.com>
512 * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
514 2005-09-02 Chris Toshok <toshok@ximian.com>
516 * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
518 * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
519 raisepostdatachangedevent, and raisepostbackevent.
520 (validationgroup): implement.
522 * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
523 and raisepostdatachangedevent.
525 * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
526 and RaisePostDataChangedEvent.
528 * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
529 body of both RaisePostBackEvent impl's here, and fix it up so we
530 use the property Page.Validate call in 2.0.
531 (RaisePostBackEvent): call RaisePostBackEventInternal.
532 (IPostBackEventHandler.RaisePostBackEvent): same.
534 * HtmlImage.cs (Align): the test case shows that we don't need to
537 2005-09-01 Sebastien Pouliot <sebastien@ximian.com>
539 * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
540 HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
541 HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
542 HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
543 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
544 HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
545 HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
546 HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
547 HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
548 attributes AspNetHostingPermission for Minimal level on all classes
549 (LinkDemand) and for non-sealed classes (InheritanceDemand).
551 2005-08-29 Chris Toshok <toshok@ximian.com>
553 * System.Web.UI.HtmlControls/HtmlTableCell.cs,
554 System.Web.UI.HtmlControls/HtmlInputFile.cs,
555 System.Web.UI.HtmlControls/HtmlForm.cs,
556 System.Web.UI.HtmlControls/HtmlInputText.cs,
557 System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
558 System.Web.UI.HtmlControls/HtmlAnchor.cs,
559 System.Web.UI.HtmlControls/HtmlButton.cs,
560 System.Web.UI.HtmlControls/HtmlTextArea.cs,
561 System.Web.UI.HtmlControls/HtmlGenericControl.cs,
562 System.Web.UI.HtmlControls/HtmlSelect.cs,
563 System.Web.UI.HtmlControls/HtmlTableRow.cs,
564 System.Web.UI.HtmlControls/HtmlControl.cs,
565 System.Web.UI.HtmlControls/HtmlImage.cs,
566 System.Web.UI.HtmlControls/HtmlTable.cs,
567 System.Web.UI.HtmlControls/HtmlInputButton.cs,
568 System.Web.UI.HtmlControls/HtmlInputControl.cs,
569 System.Web.UI.HtmlControls/HtmlInputImage.cs,
570 System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
571 System.Web.UI.HtmlControls/HtmlInputHidden.cs,
572 System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
575 2005-08-29 Chris Toshok <toshok@ximian.com>
577 * HtmlInputSubmit.cs: new implementation.
579 * HtmlInputReset.cs (ValidationGroup): implement
581 * HtmlInputButton.cs (ValidationGroup): implement.
583 2005-08-29 Chris Toshok <toshok@ximian.com>
585 * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
589 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
591 * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
592 but not used. Call ResolveUrl when rendering the attributes instead.
594 2005-08-28 Chris Toshok <toshok@ximian.com>
596 * HtmlHeadBuilder.cs: this is public.
598 * HtmlSelectBuilder.cs: in 2.0 this is public.
600 * HtmlInputButton.cs: fix boilerplate.
602 * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
603 (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
604 Page.Validation(ValidationGroup).
606 2005-08-28 Chris Toshok <toshok@ximian.com>
608 * HtmlInputReset.cs: mostly complete implementation.
610 2005-08-28 Chris Toshok <toshok@ximian.com>
612 * HtmlInputPassword.cs: doh, make this NET_2_0 only.
614 2005-08-28 Chris Toshok <toshok@ximian.com>
616 * HtmlInputPassword.cs: implement.
618 2005-08-28 Chris Toshok <toshok@ximian.com>
620 * HtmlImage.cs: corcompare fixes.
622 * HtmlInputCheckBox.cs: same.
624 2005-08-27 Chris Toshok <toshok@ximian.com>
626 * HtmlControl.cs (GetAttribute, SetAttribute): implement.
628 2005-08-27 Chris Toshok <toshok@ximian.com>
630 * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
631 (OnPreRender): figure out (hackishly) if we're uplevel rendering.
632 If we have a default button/focus control set, register webform.js
633 as a client script block, and emit some JS to focus the control.
634 (RenderAttributes): verify that the DefaultButton attribute points
635 to a valid IButtonControl implementing control. Also remove the
636 defaultfocus/defaultbutton attributes before calling
637 base.RenderAttributes.
639 2005-08-27 Kornél Pál <kornelpal@hotmail.com>
641 * HtmlTableCell.cs: Fixed to use Consts.
643 2005-08-26 Chris Toshok <toshok@ximian.com>
645 * HtmlButton.cs (ValidationGroup): implement.
646 (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
647 one body of the actual RaisePostBackEvent code. Also, call
648 Page.Validate(ValidationGroup) in the 2.0 case.
650 2005-08-25 Miguel de Icaza <miguel@novell.com>
652 * HtmlHead.cs: Implement constructor, pass the tag.
654 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
656 * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
658 2005-08-25 Chris Toshok <toshok@ximian.com>
660 * HtmlForm.cs (CreateControlCollection, OnPreRender,
661 RenderControl): implement naively, just calling base.Method.
663 2005-08-25 Chris Toshok <toshok@ximian.com>
665 * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
666 the last '/' when rendering the action. Fixes comments in
669 2005-08-24 Chris Toshok <toshok@ximian.com>
671 * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
672 HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
673 HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
674 Add MonoTODO's for all NotImplementedException's.
676 2005-08-18 Dick Porter <dick@ximian.com>
678 * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
679 HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
680 HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
681 HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
682 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
683 HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
685 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
687 * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
688 Load method (bad choice) to DefaultLoadPostData.
690 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
692 * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
693 * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
694 method. Fixed support for protected LoadPostData and
695 RaisePostDataChangedEvent in 2.0 (recursion).
696 * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
697 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
698 * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
699 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
701 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
703 * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
704 for 2.0 profile. The class seems to be internal and not (yet?)
707 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
709 * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
710 * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
711 (at least) HtmlInputControl in 2.0 profile.
712 * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
713 * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
715 2005-08-09 Dick Porter <dick@ximian.com>
717 * HtmlSelect.cs: Clear databindings when adding a new one; cope
718 with assorted combinations of empty text and value fields; write
719 <option> tags manually to match ms HTML output. All fix nunit
722 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
724 * HtmlInputControl.cs: Remove code to handle password (wrong place)
725 and fixed type handling for 2.0.
726 * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
727 the type == password. Tests indicates that the value is present for
730 2005-08-05 Dick Porter <dick@ximian.com>
732 * HtmlSelect.cs: Fix databinding when one or other of Name and
733 Value aren't supplied (thanks to Peter for the patch); Make
734 <option> indenting match ms output.
736 2005-07-30 Ben Maurer <bmaurer@ximian.com>
738 * HtmlForm.cs: Make sure we actually put the "?" in the url
740 2005-07-29 Dick Porter <dick@ximian.com>
742 * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
743 instead of building the query string by hand
745 2005-07-27 Dick Porter <dick@ximian.com>
747 * HtmlInputCheckBox.cs: New implementation
749 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
751 * HtmlSelect.cs: Added missing attributes
753 2005-07-26 Dick Porter <dick@ximian.com>
755 * HtmlSelect.cs: New implementation
757 2005-07-26 Miguel de Icaza <miguel@novell.com>
759 * HtmlForm.cs: It is possible to have keys with no values in the
760 query string, do not try to process those on the foreach loop.
762 The question is: what should happen if I only get the key?
764 Example: file_with_a_form.aspx?a
766 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
768 * HtmlForml.cs: Implemented UniqueID (new in sp1)
769 * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
771 2005-07-24 Dick Porter <dick@ximian.com>
773 * HtmlForm.cs: Add the trailing query string to the form action;
774 fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
776 2005-07-22 Dick Porter <dick@ximian.com>
778 * HtmlInputFile.cs: Add assembly attributes
780 2005-07-21 Dick Porter <dick@ximian.com>
782 * HtmlImage.cs: The src attribute needs to be a relative URL;
783 close the HTML element when rendering attributes, to match the MS
786 * HtmlForm.cs: Added assembly attributes; don't render ID twice;
787 don't render enctype and target if they are empty strings;
788 implement a Render overload to keep corcompare quiet.
790 2005-07-20 Chris Toshok <toshok@ximian.com>
792 * HtmlForm.cs (RenderAttributes): if there are submit statements,
793 we need to render those.
795 * HtmlInputImage.cs: same.
797 * HtmlInputButton.cs: hook up the client validation stuff.
799 * HtmlButton.cs: same, except a lot more complicated due to
802 2005-07-19 Dick Porter <dick@ximian.com>
804 * HtmlImage.cs: Added attributes; use Int32.Parse instead of
807 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
809 * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
810 ControlID for Name (and not ID). Added ControlBuilder attribute.
811 * HtmlTable.cs: Simplify check when adding controls.
812 * HtmlTableRow.cs: Simplify check when adding controls.
814 2005-07-18 Jackson Harper <jackson@ximian.com>
816 * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
819 2005-07-15 Jackson Harper <jackson@ximian.com>
821 * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
822 constant. Update fetching from viewstate code to use new
825 2005-07-15 Jackson Harper <jackson@ximian.com>
827 * HtmlInputButton.cs: Add DefaultEventAttribute.
829 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
831 * HtmlInputControl.cs: Removed internal property (no more required to
833 * HtmlInputRadioButton.cs: Optimized events.
834 * HtmlInputText.cs: Optimized events.
835 * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
837 * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
839 * HtmlTextArea.cs: Optimized events.
841 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
843 * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
844 result) and fixed compatibility for a weird behaviour of the HRef
845 attribute handling. Optimized events.
847 2005-07-14 Jackson Harper <jackson@ximian.com>
849 * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
850 string constant. Use new method for accessing ViewState
851 data. Don't remove value from the view state if it is the default.
853 2005-07-14 Jackson Harper <jackson@ximian.com>
855 * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
856 string constant. Use new method for accessing ViewState
857 data. Don't remove value from the view state if it is the default.
859 2005-07-14 Dick Porter <dick@ximian.com>
861 * HtmlInputFile.cs: New implementation
863 2005-07-14 Jackson Harper <jackson@ximian.com>
865 * HtmlInputControl.cs: Use ClientID for input controls name.
867 2005-07-14 Dick Porter <dick@ximian.com>
869 * HtmlForm.cs: New Implementation
871 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
873 * HtmlTable.cs: Added missing attributes.
874 * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
875 as the builder's type isn't public.
876 * HtmlInputControl.cs: Added missing attributes.
877 * HtmlInputText.cs: Added missing attributes.
878 * HtmlInputRadioButton.cs: Added missing attributes.
879 * HtmlAnchor.cs: Added missing attributes.
880 * HtmlTextArea.cs: Added missing attributes.
881 * HtmlTableRow.cs: Added missing attributes.
883 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
885 * HtmlAnchor.cs: Added DefaultValue attributes.
886 * HtmlInputControl.cs: Added DefaultValue attributes.
887 * HtmlInputRadioButton.cs: Added DefaultValue attributes.
888 * HtmlInputText.cs: Added DefaultValue attributes. Added method
889 RenderAttributes in 1.1 profile.
890 * HtmlTable.cs: Fix DefaultValue to "".
891 * HtmlTextArea.cs: Added DefaultValue attributes.
893 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
895 * HtmlTableCell.cs: Added DefaultValue attributes.
896 * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
897 * HtmlTableRowCollection.cs: Reworked collection to share data with
899 * HtmlTableCellCollection.cs: Reworked collection to share data with
900 HtmlTableRow.Controls.
901 * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
903 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
905 * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
907 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
909 * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
911 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
913 * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
915 * HtmlTextArea.cs: New implementation.
917 2005-07-07 Jackson Harper <jackson@ximian.com>
919 * HtmlInputImage.cs: New implementation.
921 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
923 * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
924 * HtmlInputControl.cs: New implementation.
925 * HtmlInputRadioButton.cs: New implementation.
926 * HtmlInputText.cs: New implementation.
928 2005-07-07 Jackson Harper <jackson@ximian.com>
930 * HtmlInputHidden.cs: New implementation.
932 2005-07-07 Jackson Harper <jackson@ximian.com>
934 * HtmlAnchor.cs: Call base OnPreRender from override.
936 2005-07-07 Jackson Harper <jackson@ximian.com>
938 * HtmlInputButton.cs: New implementation.
940 2005-07-07 Dick Porter <dick@ximian.com>
942 * HtmlImage.cs: New implementation
944 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
946 * HtmlAnchor.cs: Fixed to remove attributes properly.
947 * HtmlTable.cs: New implementation.
948 * HtmlTableCell.cs: New implementation.
949 * HtmlTableCellCollection.cs: New implementation.
950 * HtmlTableRow.cs: New implementation.
951 * HtmlTableRowCollection.cs: New implementation.
953 2005-07-06 Jackson Harper <jackson@ximian.com>
955 * HtmlButton.cs: New implementation.
957 2005-07-06 Sebastien Pouliot <sebastien@ximian.com>
959 * HtmlAnchor.cs: New implementation.
961 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
964 * HtmlControl.cs: updates for 1.1 SP1.
966 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
968 * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
971 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
973 * HtmlHead.cs: Fix warning.
975 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
977 * HtmlForm.cs: Use the new WriteSubmitStatements method from
980 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
982 * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
983 Page.GetPostBackClientEvent since it is deprecated in 2.0.
985 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
987 * HtmlForm.cs: Register the form in the page, so the page knows
988 which is the main form.
990 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
992 * HtmlHead.cs: Method name fix.
994 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
996 * HtmlForm.cs: submitStatements holds Hashtables.
998 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
1000 * HtmlHead.cs: Implemented.
1001 * HtmlHeadBuilder.cs: Implemented.
1002 * HtmlTitle.cs: Implemented.
1004 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1006 * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
1008 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1010 * HtmlForm.cs: fixed the Action property when running a different
1011 page than the one requested (Transfer). Closes bug #69318.
1013 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
1015 * HtmlForm.cs: Add submit statements from the new Page.ClientScript
1018 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1020 * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
1021 it and failed when the browser was IE.
1023 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1025 * HtmlForm.cs: default value for Enctype is "".
1026 * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
1027 we set it to "multipart/form-data". Fixes bug #58359.
1029 2004-01-15 Alon Gazit <along@mainsoft.com>
1030 * HtmlForm.cs: The property name always return the value of the
1033 2003-12-28 Alon Gazit <along@mainsoft.com>
1034 * HtmlSelect.cs: fix typo in LoadPostData().
1036 2003-12-29 Alon Gazit <along@mainsoft.com>
1037 * HtmlInputButton.cs: update the implementation of RenderAttributes().
1038 Change the if statement that determines if the onclick script is
1041 2003-12-28 Alon Gazit <along@mainsoft.com>
1042 * HtmlSelect.cs: add parentheses to if statement.
1043 Currently the else statement refers to the inner if statement.
1045 2003-12-28 Alon Gazit <along@mainsoft.com>
1046 * HtmlSelect.cs: fix upper bound of for statement.
1048 2003-12-19 Jackson Harper <jackson@ximian.com>
1050 * HtmlInputFile.cs: Do not set value when loading post data.
1052 2003-12-14 Alon Gazit <along@mainsoft.com>
1053 * HtmlInputButton.cs: The problem was in RenderAttributes().
1054 Before adding the script to the HTML, the number of Validators should
1055 be checked. fixes bug #52158.
1057 2003-12-07 Alon Gazit <along@mainsoft.com>
1058 * HtmlTableCell.cs: fixing a typo in NoWrap property.
1060 2003-12-04 Jackson Harper <jackson@ximian.com>
1062 * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
1063 value. This is because radio button groups are created by setting
1064 the name to the same value with each button, then on postback the
1065 value of the name is the id of the selected radio button.
1067 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1069 * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
1071 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1073 * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
1074 remove the code used to workaround that.
1076 2003-12-01 Jackson Harper <jackson@ximian.com>
1078 * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
1079 <along@mainsoft.com>.
1081 2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1083 * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
1084 <along@mainsoft.com>. Fixes bug #51377.
1086 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1088 * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
1089 <along@mainsoft.com>.
1091 2003-10-29 Jackson Harper <jackson@ximian.com>
1093 * HtmlControl.cs: Make disabled an attribute of the control so it
1094 is rendered. This is a slightly modifed version of a patch
1095 by Yaron Shkop. Fixes bug #50160.
1097 2003-10-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1099 * HtmlTextArea.cs: fixed infinite recursion.
1101 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1103 * HtmlForm.cs: render the onsubmit attribute.
1105 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1107 * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
1108 need to pass true here. Fixes bug #47918.
1110 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1112 * HtmlContainerControl.cs: Added attributes
1113 * HtmlControl.cs: Added attributes
1114 * HtmlInputControl.cs: Fixed public signature
1115 * HtmlInputRadioButton.cs: Fixed public signature
1116 * HtmlSelect.cs: Added missing attribute
1117 * HtmlTable.cs: Added missing attribute
1119 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1121 * HtmlSelect.cs: fixed bug #44894.
1123 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1126 * HtmlInputControl.cs:
1127 * HtmlSelect.cs: added control builder attribute.
1129 * HtmlSelectBuilder.cs: builder for HtmlSelect.
1131 * HtmlControlBuilder.cs: common builder for all HtmlControls.
1133 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1135 * HtmlControl.cs: _tagName is now internal.
1136 * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
1139 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1141 * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
1143 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1145 * HtmlInputButton.cs: fixed bug #35677.
1147 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1149 * HtmlInputControl.cs: fixed bug #35673.
1151 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1153 * HtmlInputText.cs: fixed bug #35670.
1155 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1157 * HtmlSelect.cs: fixed LoadViewstate.
1159 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1161 * HtmlButton.cs: make it do a POST if the button has any ServerClick
1164 2002-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1168 * HtmlContainerControl.cs:
1171 * HtmlGenericControl.cs:
1173 * HtmlInputButton.cs:
1174 * HtmlInputCheckBox.cs:
1175 * HtmlInputControl.cs:
1177 * HtmlInputHidden.cs:
1178 * HtmlInputImage.cs:
1179 * HtmlInputRadioButton.cs:
1185 * HtmlTextArea.cs: added almost all missing attributes.
1187 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1189 * HtmlControl.cs: the attributes must use ViewState as its StateBag,
1190 if not style values are lost between postbacks.
1192 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1196 * HtmlInputButton.cs:
1197 * HtmlInputCheckBox.cs:
1198 * HtmlInputHidden.cs:
1199 * HtmlInputImage.cs:
1201 * HtmlTextArea.cs: Initialize EventHandlerList indexer.
1203 * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
1204 instead of maintaining some flags and strings. Implemented
1207 * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
1209 * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
1212 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1214 * HtmlGenericControl.cs: fixed TagName signature and get/set.
1215 * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
1216 * HtmlInputText.cs: added attribute.
1218 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1220 * HtmlForm.cs: don't render action attribute.
1222 2002-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1224 * HtmlContainerControl.cs:
1225 (CreateControlCollection): added. All containers must have a non-empty
1228 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1230 * System.Web.UI.HtmlControls/HtmlAnchor.cs:
1231 * System.Web.UI.HtmlControls/HtmlButton.cs:
1232 * System.Web.UI.HtmlControls/HtmlControl.cs:
1233 * System.Web.UI.HtmlControls/HtmlForm.cs:
1234 * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
1235 * System.Web.UI.HtmlControls/HtmlInputButton.cs:
1236 * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
1237 * System.Web.UI.HtmlControls/HtmlInputControl.cs:
1238 * System.Web.UI.HtmlControls/HtmlInputFile.cs:
1239 * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
1240 * System.Web.UI.HtmlControls/HtmlInputImage.cs:
1241 * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
1242 * System.Web.UI.HtmlControls/HtmlInputText.cs:
1243 * System.Web.UI.HtmlControls/HtmlSelect.cs:
1244 * System.Web.UI.HtmlControls/HtmlTable.cs:
1245 * System.Web.UI.HtmlControls/HtmlTableCell.cs:
1246 * System.Web.UI.HtmlControls/HtmlTableRow.cs:
1247 * System.Web.UI.HtmlControls/HtmlTextArea.cs:
1249 Fixes based on class status page:
1251 - Add attributes (DefaultEvent, ParseChildren).
1253 - Explicitly implement some interfaces (IPostBackDataHandler
1254 and IPostBackEventHandler).
1255 - Implemented some missing methods.
1257 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1260 (RenderChildren): use OnFormRender and OnFormPostRender.
1262 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1265 (RenderAttributes): new -> override and fixes stack overflow.
1266 (RenderChildren): only 1 option can be selected at any given time
1267 except when Multiple property is true.
1268 (Multiple): the attribute value is either "true" or "false", not
1273 (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
1276 (RenderEndTag): new -> override.
1279 (RenderChildren): fixed another stack overflow.
1280 (RenderEndTag): new -> override.
1283 (RenderAttributes): new -> override.
1286 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1288 * HtmlInputHidden.cs: fixed constructor.
1290 * HtmlInputRadioButton.cs:
1291 (RenderAttributes): fixed stack overflow.
1294 (RenderedName): new -> override.
1296 (Value): new property.
1299 (RenderAttributes): fixed the same kind of stack overflow and make
1300 string comparison case insensitive.
1302 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1304 * HtmlForm.cs: fixed name of Enctype property and render enctype
1307 * HtmlInputControl.cs: tag type is "input", not "type".
1309 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1311 * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
1314 * HtmlForm.cs: Render output when no IE browser.
1316 * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
1317 though now it always use the other .ctor.
1319 * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
1321 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1323 * HtmlButton.cs: RenderAttributes is an override, not new.
1325 * HtmlContainerControl.cs: use the new Render method in HtmlControl.
1327 * HtmlControl.cs: added Render method to render the tag and its
1328 attributes. Works for container and non-containers.
1330 * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
1333 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1335 * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
1336 instead of Page.Server to encode InnerText.
1338 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1341 (RenderAttributes): new -> override and fixed little bug that made
1342 it cause an stack overflow.
1344 * HtmlContainerControl.cs: reformatted and added tag and attributes
1347 * HtmlGenericControl.cs: removed TagName, which is already in
1351 (RenderEndTag): new -> override.
1353 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1355 * System.Web.UI.HtmlControls/HtmlForm.cs:
1356 (RenderAttributes): changed new by override.
1357 (Name): allow setting the property.
1359 2002-05-10 Duncan Mak <duncan@ximian.com>
1361 * HtmlTableCellCollection.cs (this): Updated the indexer to return
1362 the right type, HtmlTableCell instead of HtmlTableRow.
1364 * HtmlInputImage.cs (OnServerClick): Commented out parts that
1367 * HtmlForm.cs (RenderAttributes):
1368 (RenderChildren): Commented out code that doesn't compile.
1370 2002-05-07 Duncan Mak <duncan@ximian.com>
1372 * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
1373 clashing with the method defined in the parent class.
1374 (OnDataBinding): Added missing casts.
1376 * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
1377 'this' to IAttributeAccessor before calling interface method.
1378 Also renamed some calls to reflect changes in the API.
1380 * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
1383 2001-09-03 Leen Toelen <toelen@hotmail.com>
1385 * HtmlAnchor.cs: Initial implementation.
1386 * HtmlTextArea.cs: Initial implementation.
1388 2001-08-22 Bob Smith <bob@thestuff.net>
1390 * HtmlContainerControl.cs: Initial implementation.
1391 * HtmlControl.cs: Initial implementation.
1392 * HtmlGenericControl.cs: Initial implementation.