1 2008-11-06 Marek Habersack <mhabersack@novell.com>
3 * HtmlForm.cs: added the undocumented, but supported, Action
4 attribute. Fixes bug #442104
6 2008-10-17 Marek Habersack <mhabersack@novell.com>
8 * HtmlInputHidden.cs: validate the event in LoadPostDataInternal.
10 * HtmlInputButton.cs: validate the event in
11 RaisePostBackEventInternal ().
12 Register for event validation in RenderAttributes ()
14 * HtmlTextArea.cs: validate the event in
15 RaisePostBackDataChangedEvent ().
17 * HtmlButton.cs: validate the event in RaisePostBackEvent ().
18 Register for event validation in RenderAttributes ()
20 * HtmlAnchor.cs: validate the event in RaisePostBackEvent ().
21 Register for event validation in RenderAttributes ().
23 * HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in
26 * HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs,
27 HtmlInputPassword.cs: validate the event in
28 RaisePostDataChangedEvent ().
30 2008-10-07 Christian Hergert <christian.hergert@gmail.com>
32 * HtmlImage.cs: Do not render the src attribute if it is null or empty.
33 An empty src attribute makes browsers download the current page url as
36 2008-08-29 Marek Habersack <mhabersack@novell.com>
38 * HtmlHead.cs: call base.OnInit ()
39 If Page is null, throw an exception.
41 2008-07-25 Dean Brettle <dean@brettle.com>
43 * HtmlControl.cs (PreProcessRelativeReference),
44 HtmlForm.cs (RenderAttributes), HtmlInputButton (RenderAttributes),
45 HtmlInputRadioButton (RenderAttributes), HtmlSelect (RenderChildren):
46 Encode attributes that could contain HTML special chars.
48 * HtmlSelect (RenderChildren): HTML-encode option text.
50 2008-06-30 Marek Habersack <mhabersack@novell.com>
52 * HtmlForm.cs: hush the warnings
54 2008-06-08 Gert Driesen <drieseng@users.sourceforge.net>
56 * HtmlAnchor.cs: Do not render empty name, target or title attribute.
57 Removed extra check for target attribute in RenderAttributes. Use
58 string.Empty instead of "", and check string's Length instead of
59 comparison with "" or string.Empty. Minor code formatting.
61 2008-06-04 Juraj Skripksy <js@hotfeet.ch>
63 * HtmlAnchor.cs (Render): Add missing call to
64 ClientScriptManager.RegisterForEventValidation. Fixes bug #397142.
66 2008-06-04 Juraj Skripsky <js@hotfeet.ch>
68 * HtmlAnchor.cs: Do not render an empty href attribute.
71 2008-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
73 * HtmlForm.cs: fixed action attribute in RenderAttributes under
76 2008-02-06 Marek Habersack <mhabersack@novell.com>
78 * HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
79 mode. Fixes bug #354425
81 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
83 * HtmlSelect.cs: refactoring.
85 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
87 * HtmlSelect.cs: fix databinding (only 2.0), state management.
89 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
91 * HtmlSelect.cs: Fix infinite recursion (only in 2.0) found using
94 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
96 * HtmlForm.cs: refactoring.
98 2007-12-13 Marek Habersack <mhabersack@novell.com>
100 * HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
101 instead of String.Format in some cases.
103 2007-11-07 Juraj Skripsky <js@hotfeet.ch>
105 * HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
106 Fixes bug #339426 for master pages.
108 2007-11-06 Marek Habersack <mhabersack@novell.com>
110 * HtmlForm.cs: a small DetermineRenderUplevel optimization - the
111 result is now cached in a nullable boolean variable.
112 Render the 'onkeypress' attribute if DefaultButton is used. Fixes
115 2007-08-27 Marek Habersack <mhabersack@novell.com>
117 * HtmlForm.cs: make sure the ID is set before HtmlControls renders
118 the attributes. Fixes bug #82596
120 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
122 * HtmlHead.cs: refactoring, used AddAttribute overload without encoding
123 on known attribute values
125 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
127 * HtmlControl.cs: fixed PreProcessRelativeReference, should be used
130 2007-07-16 Marek Habersack <mhabersack@novell.com>
132 * HtmlHeadBuilder.cs: the <meta> tag should be supported as well.
134 * HtmlTitle.cs: if the tag has any children, or the render method
135 delegate has been defined, render the children. Output the
136 contents of Text otherwise. Fixes bug #82102
138 2007-05-08 Marek Habersack <mhabersack@novell.com>
140 * HtmlInputButton.cs: button of type 'reset' does not invoke
142 'reset' buttons clear all the controls in the form to their
145 2007-05-04 Marek Habersack <mhabersack@novell.com>
147 * HtmlAnchor.cs: use ResolveClientUrl when generating
148 attributes. Necessary if the control is in a master page which is
149 in a different directory than the current page.
151 2007-05-01 Marek Habersack <mhabersack@novell.com>
153 * HtmlForm.cs: do not use User-Agent directly, we must take
154 ClientTarget into account.
156 2007-04-27 Marek Habersack <mhabersack@novell.com>
158 * HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
159 paths that might happen in them.
161 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
163 * HtmlForm.cs: for TARGET_J2EE:
164 used Page.Request.Browser to determine RenderUplevel
166 2007-04-17 Marek Habersack <mhabersack@novell.com>
168 * HtmlForm.cs: use the new uplevel browser detection code.
170 2007-04-11 Marek Habersack <mhabersack@novell.com>
172 * HtmlInputHidden.cs:
179 * HtmlInputCheckBox.cs:
180 * HtmlInputRadioButton.cs:
181 * HtmlInputImage.cs: do not register the control for post back
182 processing or if it's disabled.
184 2007-04-06 Marek Habersack <mhabersack@novell.com>
186 * HtmlForm.cs: render the 'name' attribute only when in non-xhtml
189 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
191 * HtmlInputCheckBox.cs:
192 * HtmlInputControl.cs:
193 * HtmlInputHidden.cs:
194 * HtmlInputRadioButton.cs:
198 fixed: Form.SubmitDisabledControls feature:
199 not all HtmlInputControl need to be reenabled on client.
201 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
203 * HtmlForm.cs: Under TARGET_J2EE use Page.RenderResponse instead of
206 2007-01-20 Miguel de Icaza <miguel@novell.com>
208 * HtmlHead.cs: comment out unused code, in particular metadata is
209 commented out because nothing could have triggered its creation.
211 * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
213 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
215 * HtmlLink.cs: fixed RenderAttributes, href should be resolved
217 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
219 * HtmlForm.cs, HtmlAnchor.cs: Added J2EE Portal support for TARGET_J2EE.
221 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
223 * HtmlInputImage.cs: to handle correctly relative URLs to the image.
225 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
227 * HtmlInputRadioButton.cs: fixed: LoadPostData.
229 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
231 * HtmlImputImage.cs: fixed: OnServerClick.
233 2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
235 * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
238 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
240 * HtmlForm.cs: refactoring: Registering of client scripts
243 2006-11-17 Marek Habersack <grendello@gmail.com>
245 * HtmlInputHidden.cs: Added support for event validation.
247 * HtmlInputCheckBox.cs: Added support for event validation.
249 * HtmlInputImage.cs: Added support for event validation.
251 * HtmlInputButton.cs: Added support for event validation.
253 * HtmlSelect.cs: Added support for event validation.
255 * HtmlTextArea.cs: Added support for event validation.
257 * HtmlButton.cs: Added support for event validation.
259 * HtmlInputRadioButton.cs: Added support for event validation.
261 * HtmlInputText.cs: Added support for event validation.
263 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
265 * HtmlContainerControl.cs: fixed: InnerHtml property
267 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
270 HtmlTitle control is created if it was not declared in .aspx
272 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
275 make rendering of the onclick attribute to consider ValidationGroup property
277 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
280 make rendering of the onclick attribute to consider ValidationGroup property
282 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
284 * HtmlInputButton.cs:
285 make rendering of the onclick attribute to consider ValidationGroup property
287 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
290 implemented CausesValidation and ValidationGroup properties
292 2006-09-10 Vladimir Krasnov <vladimirk@mainsoft.com>
294 * HtmlInputFile.cs: fixed Value property
296 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
298 * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.
300 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
303 * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant
306 2006-07-12 Andrew Skiba <andrews@mainsoft.com>
308 * HtmlInputControl.cs: remove obsolete #if NET_2_0
310 2006-06-06 Juraj Skripsky <js@hotfeet.ch>
312 * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
315 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
317 * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
320 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
322 * HtmlInputRadioButton.cs: Value returns the ID only when there's no
323 "value" set. Fixes bug #78101.
325 2006-03-19 Vladimir Krasnov <vladimirk@mainsoft.com>
327 * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty
328 it shouldn't be rendered
329 * HtmlForm.cs: fixed Method, default method "post" should be added if
330 its value null or empty string
331 * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null
332 value, the fix is to remove attributes with empty string value too
334 2006-02-23 Chris Toshok <toshok@ximian.com>
336 * HtmlButton.cs: fix corcompare output.
338 * HtmlInputButton.cs: same.
340 * HtmlInputImage.cs: same.
342 * HtmlInputReset.cs: same.
344 2006-01-22 Chris Toshok <toshok@ximian.com>
346 * HtmlInputButton.cs:
347 s/GetPostBackClientEvent/GetPostBackEventReference.
349 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
351 * HtmlTableRow.cs: Cells is virtual in latest 1.1.
353 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
355 * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
357 * HtmlTable.cs: moved WriteLine around.
359 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
361 * HtmlForm.cs: more class-status fixes.
363 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
365 * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
367 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
369 * HtmlTable.cs: use the base class RenderChildren, as '_rows'
370 might not be the actual collection being used. Fixes bug #76815.
372 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
374 * HtmlInputFile.cs: if no one else set the encoding type for the
375 containing form and there's a HtmlInputFile, set Enctype to
376 'multipart/form-data'. Fixes bug #76837.
378 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
380 * HtmlInputButton.cs: render the onclick attribute only when the
381 button is a 'submit' and no validators or when the button is a
382 'button' and there's a registered ServerClick event. Fixes bug #76781.
384 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
386 * HtmlForm.cs: register the form and require viewstate hidden field to
387 be rendered in Render() even if OnInit is not called.
389 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
391 * HtmlHead.cs: fix the 2.0 build.
393 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
395 * HtmlForm.cs: when transfering from one page to another and using
396 cookieless session, we were doing pretty bad. Now, if the current path
397 and the original are the same, we just use the filename. Otherwise
398 we make the action location be relative to the original URL.
400 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
402 * HtmlInputButton.cs: render the onclick for doing a postback even when
403 there are no validators.
405 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
407 * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
409 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
411 * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
412 [UrlProperty] on HRef property for 2.0.
413 * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
414 * HtmlHead.cs: Remove IPageHeader interface.
415 * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
416 * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
417 * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
418 * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
419 * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
420 [UrlProperty] on Src property for 2.0.
421 * HtmlInputPassword.cs: Added [SupportsEventValidation].
422 * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
423 * HtmlInputReset.cs: Added [SupportsEventValidation].
424 * HtmlInputSubmit.cs: Added [SupportsEventValidation].
425 * HtmlInputText.cs: Added [SupportsEventValidation] on class and
426 re-enabled RenderAttribute for 2.0.
427 * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
428 * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
429 * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
431 2005-09-18 Chris Toshok <toshok@ximian.com>
433 * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
434 instead of AddAttribute when dealing with "onclick."
436 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
438 * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
440 2005-09-11 Chris Toshok <toshok@ximian.com>
442 * HtmlInputFile.cs (set_Value): add a message to the
443 NotSupportedException.
445 * HtmlInputControl.cs (RenderAttributes): add Page != null to the
446 checks before we register our control with the
447 __enabledControlArray JS array.
449 2005-09-09 Chris Toshok <toshok@ximian.com>
451 * HtmlInputButton.cs (CausesValidation): this is stored in
452 Attributes, not ViewState.
453 (ValidationGroup): same.
454 (RenderAttributes): remove CausesValidation from the list of
455 Attributes before calling base.RenderAttributes. Don't, however,
456 remove ValidationGroup, to replicate an MS bug.
458 2005-09-07 Chris Toshok <toshok@ximian.com>
460 * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
461 (Name): not sure about this property.. the getter apparently just
462 returns UniqueID, and the setter does nothing that I can figure
464 (RenderAttributes): don't bother to remove "name", since it's not
465 in the attributes anyway.
467 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
469 * HtmlInputControl.cs: use the Name property instead of the ClientID.
470 The 'name' attribute rendered contains colons if inside a
473 2005-09-07 Chris Toshok <toshok@ximian.com>
475 * HtmlInputCheckBox.cs (Checked): uncomment the
476 MinimizableAttributeTypeConverter attribute.
478 * HtmlControl.cs (Disabled): uncomment the
479 MinimizableAttributeTypeConverter attribute.
481 * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
483 * HtmlTableCell.cs (NoWrap): uncomment the
484 MinimizableAttributeTypeConverter attribute.
486 * HtmlLink.cs (Href): remove the MonoTODO.
488 * HtmlMeta.cs (Name): remove the MonoTODO.
490 (Render): add (pretty bogus, really..) implementation. not sure
491 why we need this one.
493 2005-09-06 Chris Toshok <toshok@ximian.com>
495 * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
498 2005-09-06 Chris Toshok <toshok@ximian.com>
500 * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
503 2005-09-06 Chris Toshok <toshok@ximian.com>
505 * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
506 (AddedControl): move the HtmlTitle logic here.
507 (RemovedControl): clear out the title if that was the control that
510 * HtmlLink.cs: new implementation.
512 * HtmlMeta.cs: new implementation.
514 2005-09-06 Chris Toshok <toshok@ximian.com>
516 * HtmlInputControl.cs (RenderAttributes): add ourselves to the
517 __enabledControlArray JS array if we're currently enabled and the
518 form is set to SubmitDisabledControls.
520 * HtmlForm.cs (OnInit): call Page.RegisterForm here.
521 (DetermineRenderUplevel): split this out of OnPreRender and make
522 it internal so HtmlInputControl can call it.
523 (OnPreRender): add handling for SubmitDisabledControls.
525 2005-09-05 Chris Toshok <toshok@ximian.com>
527 * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
528 or in the ViewState. where then?
529 (DefaultFocus): this one is stored in the ViewState, not as an
531 (SubmitDisabledControls): implement just as a boolean flag, not in
532 the viewstate or attributes.
533 (RenderAttributes): defaultfocus and defaultbutton are no longer
536 2005-09-04 Chris Toshok <toshok@ximian.com>
538 * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
540 * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
542 * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
544 * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
545 way, and in OnPreRender, call Page.RegisterRequiresPostback.
547 * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
548 and in OnPreRender, call Page.RegisterRequiresPostback.
550 * HtmlInputRadioButton.cs (OnPreRender): call
551 Page.RegisterRequiresPostback.
553 * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
554 Also, in OnPreRender, call Page.RegisterRequiresPostback.
556 * HtmlTextArea.cs (OnPreRender): call
557 Page.RegisterRequiresPostback.
559 2005-09-02 Chris Toshok <toshok@ximian.com>
561 * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
563 2005-09-02 Chris Toshok <toshok@ximian.com>
565 * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
567 * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
568 raisepostdatachangedevent, and raisepostbackevent.
569 (validationgroup): implement.
571 * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
572 and raisepostdatachangedevent.
574 * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
575 and RaisePostDataChangedEvent.
577 * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
578 body of both RaisePostBackEvent impl's here, and fix it up so we
579 use the property Page.Validate call in 2.0.
580 (RaisePostBackEvent): call RaisePostBackEventInternal.
581 (IPostBackEventHandler.RaisePostBackEvent): same.
583 * HtmlImage.cs (Align): the test case shows that we don't need to
586 2005-09-01 Sebastien Pouliot <sebastien@ximian.com>
588 * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
589 HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
590 HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
591 HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
592 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
593 HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
594 HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
595 HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
596 HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
597 attributes AspNetHostingPermission for Minimal level on all classes
598 (LinkDemand) and for non-sealed classes (InheritanceDemand).
600 2005-08-29 Chris Toshok <toshok@ximian.com>
602 * System.Web.UI.HtmlControls/HtmlTableCell.cs,
603 System.Web.UI.HtmlControls/HtmlInputFile.cs,
604 System.Web.UI.HtmlControls/HtmlForm.cs,
605 System.Web.UI.HtmlControls/HtmlInputText.cs,
606 System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
607 System.Web.UI.HtmlControls/HtmlAnchor.cs,
608 System.Web.UI.HtmlControls/HtmlButton.cs,
609 System.Web.UI.HtmlControls/HtmlTextArea.cs,
610 System.Web.UI.HtmlControls/HtmlGenericControl.cs,
611 System.Web.UI.HtmlControls/HtmlSelect.cs,
612 System.Web.UI.HtmlControls/HtmlTableRow.cs,
613 System.Web.UI.HtmlControls/HtmlControl.cs,
614 System.Web.UI.HtmlControls/HtmlImage.cs,
615 System.Web.UI.HtmlControls/HtmlTable.cs,
616 System.Web.UI.HtmlControls/HtmlInputButton.cs,
617 System.Web.UI.HtmlControls/HtmlInputControl.cs,
618 System.Web.UI.HtmlControls/HtmlInputImage.cs,
619 System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
620 System.Web.UI.HtmlControls/HtmlInputHidden.cs,
621 System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
624 2005-08-29 Chris Toshok <toshok@ximian.com>
626 * HtmlInputSubmit.cs: new implementation.
628 * HtmlInputReset.cs (ValidationGroup): implement
630 * HtmlInputButton.cs (ValidationGroup): implement.
632 2005-08-29 Chris Toshok <toshok@ximian.com>
634 * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
638 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
640 * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
641 but not used. Call ResolveUrl when rendering the attributes instead.
643 2005-08-28 Chris Toshok <toshok@ximian.com>
645 * HtmlHeadBuilder.cs: this is public.
647 * HtmlSelectBuilder.cs: in 2.0 this is public.
649 * HtmlInputButton.cs: fix boilerplate.
651 * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
652 (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
653 Page.Validation(ValidationGroup).
655 2005-08-28 Chris Toshok <toshok@ximian.com>
657 * HtmlInputReset.cs: mostly complete implementation.
659 2005-08-28 Chris Toshok <toshok@ximian.com>
661 * HtmlInputPassword.cs: doh, make this NET_2_0 only.
663 2005-08-28 Chris Toshok <toshok@ximian.com>
665 * HtmlInputPassword.cs: implement.
667 2005-08-28 Chris Toshok <toshok@ximian.com>
669 * HtmlImage.cs: corcompare fixes.
671 * HtmlInputCheckBox.cs: same.
673 2005-08-27 Chris Toshok <toshok@ximian.com>
675 * HtmlControl.cs (GetAttribute, SetAttribute): implement.
677 2005-08-27 Chris Toshok <toshok@ximian.com>
679 * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
680 (OnPreRender): figure out (hackishly) if we're uplevel rendering.
681 If we have a default button/focus control set, register webform.js
682 as a client script block, and emit some JS to focus the control.
683 (RenderAttributes): verify that the DefaultButton attribute points
684 to a valid IButtonControl implementing control. Also remove the
685 defaultfocus/defaultbutton attributes before calling
686 base.RenderAttributes.
688 2005-08-27 Kornél Pál <kornelpal@hotmail.com>
690 * HtmlTableCell.cs: Fixed to use Consts.
692 2005-08-26 Chris Toshok <toshok@ximian.com>
694 * HtmlButton.cs (ValidationGroup): implement.
695 (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
696 one body of the actual RaisePostBackEvent code. Also, call
697 Page.Validate(ValidationGroup) in the 2.0 case.
699 2005-08-25 Miguel de Icaza <miguel@novell.com>
701 * HtmlHead.cs: Implement constructor, pass the tag.
703 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
705 * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
707 2005-08-25 Chris Toshok <toshok@ximian.com>
709 * HtmlForm.cs (CreateControlCollection, OnPreRender,
710 RenderControl): implement naively, just calling base.Method.
712 2005-08-25 Chris Toshok <toshok@ximian.com>
714 * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
715 the last '/' when rendering the action. Fixes comments in
718 2005-08-24 Chris Toshok <toshok@ximian.com>
720 * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
721 HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
722 HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
723 Add MonoTODO's for all NotImplementedException's.
725 2005-08-18 Dick Porter <dick@ximian.com>
727 * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
728 HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
729 HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
730 HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
731 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
732 HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
734 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
736 * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
737 Load method (bad choice) to DefaultLoadPostData.
739 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
741 * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
742 * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
743 method. Fixed support for protected LoadPostData and
744 RaisePostDataChangedEvent in 2.0 (recursion).
745 * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
746 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
747 * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
748 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
750 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
752 * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
753 for 2.0 profile. The class seems to be internal and not (yet?)
756 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
758 * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
759 * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
760 (at least) HtmlInputControl in 2.0 profile.
761 * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
762 * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
764 2005-08-09 Dick Porter <dick@ximian.com>
766 * HtmlSelect.cs: Clear databindings when adding a new one; cope
767 with assorted combinations of empty text and value fields; write
768 <option> tags manually to match ms HTML output. All fix nunit
771 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
773 * HtmlInputControl.cs: Remove code to handle password (wrong place)
774 and fixed type handling for 2.0.
775 * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
776 the type == password. Tests indicates that the value is present for
779 2005-08-05 Dick Porter <dick@ximian.com>
781 * HtmlSelect.cs: Fix databinding when one or other of Name and
782 Value aren't supplied (thanks to Peter for the patch); Make
783 <option> indenting match ms output.
785 2005-07-30 Ben Maurer <bmaurer@ximian.com>
787 * HtmlForm.cs: Make sure we actually put the "?" in the url
789 2005-07-29 Dick Porter <dick@ximian.com>
791 * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
792 instead of building the query string by hand
794 2005-07-27 Dick Porter <dick@ximian.com>
796 * HtmlInputCheckBox.cs: New implementation
798 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
800 * HtmlSelect.cs: Added missing attributes
802 2005-07-26 Dick Porter <dick@ximian.com>
804 * HtmlSelect.cs: New implementation
806 2005-07-26 Miguel de Icaza <miguel@novell.com>
808 * HtmlForm.cs: It is possible to have keys with no values in the
809 query string, do not try to process those on the foreach loop.
811 The question is: what should happen if I only get the key?
813 Example: file_with_a_form.aspx?a
815 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
817 * HtmlForml.cs: Implemented UniqueID (new in sp1)
818 * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
820 2005-07-24 Dick Porter <dick@ximian.com>
822 * HtmlForm.cs: Add the trailing query string to the form action;
823 fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
825 2005-07-22 Dick Porter <dick@ximian.com>
827 * HtmlInputFile.cs: Add assembly attributes
829 2005-07-21 Dick Porter <dick@ximian.com>
831 * HtmlImage.cs: The src attribute needs to be a relative URL;
832 close the HTML element when rendering attributes, to match the MS
835 * HtmlForm.cs: Added assembly attributes; don't render ID twice;
836 don't render enctype and target if they are empty strings;
837 implement a Render overload to keep corcompare quiet.
839 2005-07-20 Chris Toshok <toshok@ximian.com>
841 * HtmlForm.cs (RenderAttributes): if there are submit statements,
842 we need to render those.
844 * HtmlInputImage.cs: same.
846 * HtmlInputButton.cs: hook up the client validation stuff.
848 * HtmlButton.cs: same, except a lot more complicated due to
851 2005-07-19 Dick Porter <dick@ximian.com>
853 * HtmlImage.cs: Added attributes; use Int32.Parse instead of
856 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
858 * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
859 ControlID for Name (and not ID). Added ControlBuilder attribute.
860 * HtmlTable.cs: Simplify check when adding controls.
861 * HtmlTableRow.cs: Simplify check when adding controls.
863 2005-07-18 Jackson Harper <jackson@ximian.com>
865 * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
868 2005-07-15 Jackson Harper <jackson@ximian.com>
870 * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
871 constant. Update fetching from viewstate code to use new
874 2005-07-15 Jackson Harper <jackson@ximian.com>
876 * HtmlInputButton.cs: Add DefaultEventAttribute.
878 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
880 * HtmlInputControl.cs: Removed internal property (no more required to
882 * HtmlInputRadioButton.cs: Optimized events.
883 * HtmlInputText.cs: Optimized events.
884 * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
886 * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
888 * HtmlTextArea.cs: Optimized events.
890 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
892 * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
893 result) and fixed compatibility for a weird behaviour of the HRef
894 attribute handling. Optimized events.
896 2005-07-14 Jackson Harper <jackson@ximian.com>
898 * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
899 string constant. Use new method for accessing ViewState
900 data. Don't remove value from the view state if it is the default.
902 2005-07-14 Jackson Harper <jackson@ximian.com>
904 * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
905 string constant. Use new method for accessing ViewState
906 data. Don't remove value from the view state if it is the default.
908 2005-07-14 Dick Porter <dick@ximian.com>
910 * HtmlInputFile.cs: New implementation
912 2005-07-14 Jackson Harper <jackson@ximian.com>
914 * HtmlInputControl.cs: Use ClientID for input controls name.
916 2005-07-14 Dick Porter <dick@ximian.com>
918 * HtmlForm.cs: New Implementation
920 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
922 * HtmlTable.cs: Added missing attributes.
923 * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
924 as the builder's type isn't public.
925 * HtmlInputControl.cs: Added missing attributes.
926 * HtmlInputText.cs: Added missing attributes.
927 * HtmlInputRadioButton.cs: Added missing attributes.
928 * HtmlAnchor.cs: Added missing attributes.
929 * HtmlTextArea.cs: Added missing attributes.
930 * HtmlTableRow.cs: Added missing attributes.
932 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
934 * HtmlAnchor.cs: Added DefaultValue attributes.
935 * HtmlInputControl.cs: Added DefaultValue attributes.
936 * HtmlInputRadioButton.cs: Added DefaultValue attributes.
937 * HtmlInputText.cs: Added DefaultValue attributes. Added method
938 RenderAttributes in 1.1 profile.
939 * HtmlTable.cs: Fix DefaultValue to "".
940 * HtmlTextArea.cs: Added DefaultValue attributes.
942 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
944 * HtmlTableCell.cs: Added DefaultValue attributes.
945 * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
946 * HtmlTableRowCollection.cs: Reworked collection to share data with
948 * HtmlTableCellCollection.cs: Reworked collection to share data with
949 HtmlTableRow.Controls.
950 * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
952 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
954 * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
956 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
958 * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
960 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
962 * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
964 * HtmlTextArea.cs: New implementation.
966 2005-07-07 Jackson Harper <jackson@ximian.com>
968 * HtmlInputImage.cs: New implementation.
970 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
972 * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
973 * HtmlInputControl.cs: New implementation.
974 * HtmlInputRadioButton.cs: New implementation.
975 * HtmlInputText.cs: New implementation.
977 2005-07-07 Jackson Harper <jackson@ximian.com>
979 * HtmlInputHidden.cs: New implementation.
981 2005-07-07 Jackson Harper <jackson@ximian.com>
983 * HtmlAnchor.cs: Call base OnPreRender from override.
985 2005-07-07 Jackson Harper <jackson@ximian.com>
987 * HtmlInputButton.cs: New implementation.
989 2005-07-07 Dick Porter <dick@ximian.com>
991 * HtmlImage.cs: New implementation
993 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
995 * HtmlAnchor.cs: Fixed to remove attributes properly.
996 * HtmlTable.cs: New implementation.
997 * HtmlTableCell.cs: New implementation.
998 * HtmlTableCellCollection.cs: New implementation.
999 * HtmlTableRow.cs: New implementation.
1000 * HtmlTableRowCollection.cs: New implementation.
1002 2005-07-06 Jackson Harper <jackson@ximian.com>
1004 * HtmlButton.cs: New implementation.
1006 2005-07-06 Sebastien Pouliot <sebastien@ximian.com>
1008 * HtmlAnchor.cs: New implementation.
1010 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1013 * HtmlControl.cs: updates for 1.1 SP1.
1015 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1017 * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
1020 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
1022 * HtmlHead.cs: Fix warning.
1024 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
1026 * HtmlForm.cs: Use the new WriteSubmitStatements method from
1029 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
1031 * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
1032 Page.GetPostBackClientEvent since it is deprecated in 2.0.
1034 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
1036 * HtmlForm.cs: Register the form in the page, so the page knows
1037 which is the main form.
1039 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
1041 * HtmlHead.cs: Method name fix.
1043 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1045 * HtmlForm.cs: submitStatements holds Hashtables.
1047 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
1049 * HtmlHead.cs: Implemented.
1050 * HtmlHeadBuilder.cs: Implemented.
1051 * HtmlTitle.cs: Implemented.
1053 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1055 * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
1057 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1059 * HtmlForm.cs: fixed the Action property when running a different
1060 page than the one requested (Transfer). Closes bug #69318.
1062 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
1064 * HtmlForm.cs: Add submit statements from the new Page.ClientScript
1067 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1069 * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
1070 it and failed when the browser was IE.
1072 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1074 * HtmlForm.cs: default value for Enctype is "".
1075 * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
1076 we set it to "multipart/form-data". Fixes bug #58359.
1078 2004-01-15 Alon Gazit <along@mainsoft.com>
1079 * HtmlForm.cs: The property name always return the value of the
1082 2003-12-28 Alon Gazit <along@mainsoft.com>
1083 * HtmlSelect.cs: fix typo in LoadPostData().
1085 2003-12-29 Alon Gazit <along@mainsoft.com>
1086 * HtmlInputButton.cs: update the implementation of RenderAttributes().
1087 Change the if statement that determines if the onclick script is
1090 2003-12-28 Alon Gazit <along@mainsoft.com>
1091 * HtmlSelect.cs: add parentheses to if statement.
1092 Currently the else statement refers to the inner if statement.
1094 2003-12-28 Alon Gazit <along@mainsoft.com>
1095 * HtmlSelect.cs: fix upper bound of for statement.
1097 2003-12-19 Jackson Harper <jackson@ximian.com>
1099 * HtmlInputFile.cs: Do not set value when loading post data.
1101 2003-12-14 Alon Gazit <along@mainsoft.com>
1102 * HtmlInputButton.cs: The problem was in RenderAttributes().
1103 Before adding the script to the HTML, the number of Validators should
1104 be checked. fixes bug #52158.
1106 2003-12-07 Alon Gazit <along@mainsoft.com>
1107 * HtmlTableCell.cs: fixing a typo in NoWrap property.
1109 2003-12-04 Jackson Harper <jackson@ximian.com>
1111 * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
1112 value. This is because radio button groups are created by setting
1113 the name to the same value with each button, then on postback the
1114 value of the name is the id of the selected radio button.
1116 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1118 * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
1120 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1122 * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
1123 remove the code used to workaround that.
1125 2003-12-01 Jackson Harper <jackson@ximian.com>
1127 * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
1128 <along@mainsoft.com>.
1130 2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1132 * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
1133 <along@mainsoft.com>. Fixes bug #51377.
1135 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1137 * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
1138 <along@mainsoft.com>.
1140 2003-10-29 Jackson Harper <jackson@ximian.com>
1142 * HtmlControl.cs: Make disabled an attribute of the control so it
1143 is rendered. This is a slightly modifed version of a patch
1144 by Yaron Shkop. Fixes bug #50160.
1146 2003-10-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1148 * HtmlTextArea.cs: fixed infinite recursion.
1150 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1152 * HtmlForm.cs: render the onsubmit attribute.
1154 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1156 * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
1157 need to pass true here. Fixes bug #47918.
1159 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1161 * HtmlContainerControl.cs: Added attributes
1162 * HtmlControl.cs: Added attributes
1163 * HtmlInputControl.cs: Fixed public signature
1164 * HtmlInputRadioButton.cs: Fixed public signature
1165 * HtmlSelect.cs: Added missing attribute
1166 * HtmlTable.cs: Added missing attribute
1168 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1170 * HtmlSelect.cs: fixed bug #44894.
1172 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1175 * HtmlInputControl.cs:
1176 * HtmlSelect.cs: added control builder attribute.
1178 * HtmlSelectBuilder.cs: builder for HtmlSelect.
1180 * HtmlControlBuilder.cs: common builder for all HtmlControls.
1182 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1184 * HtmlControl.cs: _tagName is now internal.
1185 * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
1188 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1190 * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
1192 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1194 * HtmlInputButton.cs: fixed bug #35677.
1196 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1198 * HtmlInputControl.cs: fixed bug #35673.
1200 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1202 * HtmlInputText.cs: fixed bug #35670.
1204 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1206 * HtmlSelect.cs: fixed LoadViewstate.
1208 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1210 * HtmlButton.cs: make it do a POST if the button has any ServerClick
1213 2002-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1217 * HtmlContainerControl.cs:
1220 * HtmlGenericControl.cs:
1222 * HtmlInputButton.cs:
1223 * HtmlInputCheckBox.cs:
1224 * HtmlInputControl.cs:
1226 * HtmlInputHidden.cs:
1227 * HtmlInputImage.cs:
1228 * HtmlInputRadioButton.cs:
1234 * HtmlTextArea.cs: added almost all missing attributes.
1236 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1238 * HtmlControl.cs: the attributes must use ViewState as its StateBag,
1239 if not style values are lost between postbacks.
1241 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1245 * HtmlInputButton.cs:
1246 * HtmlInputCheckBox.cs:
1247 * HtmlInputHidden.cs:
1248 * HtmlInputImage.cs:
1250 * HtmlTextArea.cs: Initialize EventHandlerList indexer.
1252 * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
1253 instead of maintaining some flags and strings. Implemented
1256 * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
1258 * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
1261 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1263 * HtmlGenericControl.cs: fixed TagName signature and get/set.
1264 * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
1265 * HtmlInputText.cs: added attribute.
1267 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1269 * HtmlForm.cs: don't render action attribute.
1271 2002-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1273 * HtmlContainerControl.cs:
1274 (CreateControlCollection): added. All containers must have a non-empty
1277 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1279 * System.Web.UI.HtmlControls/HtmlAnchor.cs:
1280 * System.Web.UI.HtmlControls/HtmlButton.cs:
1281 * System.Web.UI.HtmlControls/HtmlControl.cs:
1282 * System.Web.UI.HtmlControls/HtmlForm.cs:
1283 * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
1284 * System.Web.UI.HtmlControls/HtmlInputButton.cs:
1285 * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
1286 * System.Web.UI.HtmlControls/HtmlInputControl.cs:
1287 * System.Web.UI.HtmlControls/HtmlInputFile.cs:
1288 * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
1289 * System.Web.UI.HtmlControls/HtmlInputImage.cs:
1290 * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
1291 * System.Web.UI.HtmlControls/HtmlInputText.cs:
1292 * System.Web.UI.HtmlControls/HtmlSelect.cs:
1293 * System.Web.UI.HtmlControls/HtmlTable.cs:
1294 * System.Web.UI.HtmlControls/HtmlTableCell.cs:
1295 * System.Web.UI.HtmlControls/HtmlTableRow.cs:
1296 * System.Web.UI.HtmlControls/HtmlTextArea.cs:
1298 Fixes based on class status page:
1300 - Add attributes (DefaultEvent, ParseChildren).
1302 - Explicitly implement some interfaces (IPostBackDataHandler
1303 and IPostBackEventHandler).
1304 - Implemented some missing methods.
1306 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1309 (RenderChildren): use OnFormRender and OnFormPostRender.
1311 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1314 (RenderAttributes): new -> override and fixes stack overflow.
1315 (RenderChildren): only 1 option can be selected at any given time
1316 except when Multiple property is true.
1317 (Multiple): the attribute value is either "true" or "false", not
1322 (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
1325 (RenderEndTag): new -> override.
1328 (RenderChildren): fixed another stack overflow.
1329 (RenderEndTag): new -> override.
1332 (RenderAttributes): new -> override.
1335 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1337 * HtmlInputHidden.cs: fixed constructor.
1339 * HtmlInputRadioButton.cs:
1340 (RenderAttributes): fixed stack overflow.
1343 (RenderedName): new -> override.
1345 (Value): new property.
1348 (RenderAttributes): fixed the same kind of stack overflow and make
1349 string comparison case insensitive.
1351 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1353 * HtmlForm.cs: fixed name of Enctype property and render enctype
1356 * HtmlInputControl.cs: tag type is "input", not "type".
1358 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1360 * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
1363 * HtmlForm.cs: Render output when no IE browser.
1365 * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
1366 though now it always use the other .ctor.
1368 * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
1370 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1372 * HtmlButton.cs: RenderAttributes is an override, not new.
1374 * HtmlContainerControl.cs: use the new Render method in HtmlControl.
1376 * HtmlControl.cs: added Render method to render the tag and its
1377 attributes. Works for container and non-containers.
1379 * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
1382 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1384 * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
1385 instead of Page.Server to encode InnerText.
1387 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1390 (RenderAttributes): new -> override and fixed little bug that made
1391 it cause an stack overflow.
1393 * HtmlContainerControl.cs: reformatted and added tag and attributes
1396 * HtmlGenericControl.cs: removed TagName, which is already in
1400 (RenderEndTag): new -> override.
1402 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1404 * System.Web.UI.HtmlControls/HtmlForm.cs:
1405 (RenderAttributes): changed new by override.
1406 (Name): allow setting the property.
1408 2002-05-10 Duncan Mak <duncan@ximian.com>
1410 * HtmlTableCellCollection.cs (this): Updated the indexer to return
1411 the right type, HtmlTableCell instead of HtmlTableRow.
1413 * HtmlInputImage.cs (OnServerClick): Commented out parts that
1416 * HtmlForm.cs (RenderAttributes):
1417 (RenderChildren): Commented out code that doesn't compile.
1419 2002-05-07 Duncan Mak <duncan@ximian.com>
1421 * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
1422 clashing with the method defined in the parent class.
1423 (OnDataBinding): Added missing casts.
1425 * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
1426 'this' to IAttributeAccessor before calling interface method.
1427 Also renamed some calls to reflect changes in the API.
1429 * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
1432 2001-09-03 Leen Toelen <toelen@hotmail.com>
1434 * HtmlAnchor.cs: Initial implementation.
1435 * HtmlTextArea.cs: Initial implementation.
1437 2001-08-22 Bob Smith <bob@thestuff.net>
1439 * HtmlContainerControl.cs: Initial implementation.
1440 * HtmlControl.cs: Initial implementation.
1441 * HtmlGenericControl.cs: Initial implementation.