1 2008-08-29 Marek Habersack <mhabersack@novell.com>
3 * HtmlHead.cs: call base.OnInit ()
4 If Page is null, throw an exception.
6 2008-07-25 Dean Brettle <dean@brettle.com>
8 * HtmlControl.cs (PreProcessRelativeReference),
9 HtmlForm.cs (RenderAttributes), HtmlInputButton (RenderAttributes),
10 HtmlInputRadioButton (RenderAttributes), HtmlSelect (RenderChildren):
11 Encode attributes that could contain HTML special chars.
13 * HtmlSelect (RenderChildren): HTML-encode option text.
15 2008-06-30 Marek Habersack <mhabersack@novell.com>
17 * HtmlForm.cs: hush the warnings
19 2008-06-08 Gert Driesen <drieseng@users.sourceforge.net>
21 * HtmlAnchor.cs: Do not render empty name, target or title attribute.
22 Removed extra check for target attribute in RenderAttributes. Use
23 string.Empty instead of "", and check string's Length instead of
24 comparison with "" or string.Empty. Minor code formatting.
26 2008-06-04 Juraj Skripksy <js@hotfeet.ch>
28 * HtmlAnchor.cs (Render): Add missing call to
29 ClientScriptManager.RegisterForEventValidation. Fixes bug #397142.
31 2008-06-04 Juraj Skripsky <js@hotfeet.ch>
33 * HtmlAnchor.cs: Do not render an empty href attribute.
36 2008-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
38 * HtmlForm.cs: fixed action attribute in RenderAttributes under
41 2008-02-06 Marek Habersack <mhabersack@novell.com>
43 * HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
44 mode. Fixes bug #354425
46 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
48 * HtmlSelect.cs: refactoring.
50 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
52 * HtmlSelect.cs: fix databinding (only 2.0), state management.
54 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
56 * HtmlSelect.cs: Fix infinite recursion (only in 2.0) found using
59 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
61 * HtmlForm.cs: refactoring.
63 2007-12-13 Marek Habersack <mhabersack@novell.com>
65 * HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
66 instead of String.Format in some cases.
68 2007-11-07 Juraj Skripsky <js@hotfeet.ch>
70 * HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
71 Fixes bug #339426 for master pages.
73 2007-11-06 Marek Habersack <mhabersack@novell.com>
75 * HtmlForm.cs: a small DetermineRenderUplevel optimization - the
76 result is now cached in a nullable boolean variable.
77 Render the 'onkeypress' attribute if DefaultButton is used. Fixes
80 2007-08-27 Marek Habersack <mhabersack@novell.com>
82 * HtmlForm.cs: make sure the ID is set before HtmlControls renders
83 the attributes. Fixes bug #82596
85 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
87 * HtmlHead.cs: refactoring, used AddAttribute overload without encoding
88 on known attribute values
90 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
92 * HtmlControl.cs: fixed PreProcessRelativeReference, should be used
95 2007-07-16 Marek Habersack <mhabersack@novell.com>
97 * HtmlHeadBuilder.cs: the <meta> tag should be supported as well.
99 * HtmlTitle.cs: if the tag has any children, or the render method
100 delegate has been defined, render the children. Output the
101 contents of Text otherwise. Fixes bug #82102
103 2007-05-08 Marek Habersack <mhabersack@novell.com>
105 * HtmlInputButton.cs: button of type 'reset' does not invoke
107 'reset' buttons clear all the controls in the form to their
110 2007-05-04 Marek Habersack <mhabersack@novell.com>
112 * HtmlAnchor.cs: use ResolveClientUrl when generating
113 attributes. Necessary if the control is in a master page which is
114 in a different directory than the current page.
116 2007-05-01 Marek Habersack <mhabersack@novell.com>
118 * HtmlForm.cs: do not use User-Agent directly, we must take
119 ClientTarget into account.
121 2007-04-27 Marek Habersack <mhabersack@novell.com>
123 * HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
124 paths that might happen in them.
126 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
128 * HtmlForm.cs: for TARGET_J2EE:
129 used Page.Request.Browser to determine RenderUplevel
131 2007-04-17 Marek Habersack <mhabersack@novell.com>
133 * HtmlForm.cs: use the new uplevel browser detection code.
135 2007-04-11 Marek Habersack <mhabersack@novell.com>
137 * HtmlInputHidden.cs:
144 * HtmlInputCheckBox.cs:
145 * HtmlInputRadioButton.cs:
146 * HtmlInputImage.cs: do not register the control for post back
147 processing or if it's disabled.
149 2007-04-06 Marek Habersack <mhabersack@novell.com>
151 * HtmlForm.cs: render the 'name' attribute only when in non-xhtml
154 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
156 * HtmlInputCheckBox.cs:
157 * HtmlInputControl.cs:
158 * HtmlInputHidden.cs:
159 * HtmlInputRadioButton.cs:
163 fixed: Form.SubmitDisabledControls feature:
164 not all HtmlInputControl need to be reenabled on client.
166 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
168 * HtmlForm.cs: Under TARGET_J2EE use Page.RenderResponse instead of
171 2007-01-20 Miguel de Icaza <miguel@novell.com>
173 * HtmlHead.cs: comment out unused code, in particular metadata is
174 commented out because nothing could have triggered its creation.
176 * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
178 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
180 * HtmlLink.cs: fixed RenderAttributes, href should be resolved
182 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
184 * HtmlForm.cs, HtmlAnchor.cs: Added J2EE Portal support for TARGET_J2EE.
186 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
188 * HtmlInputImage.cs: to handle correctly relative URLs to the image.
190 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
192 * HtmlInputRadioButton.cs: fixed: LoadPostData.
194 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
196 * HtmlImputImage.cs: fixed: OnServerClick.
198 2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
200 * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
203 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
205 * HtmlForm.cs: refactoring: Registering of client scripts
208 2006-11-17 Marek Habersack <grendello@gmail.com>
210 * HtmlInputHidden.cs: Added support for event validation.
212 * HtmlInputCheckBox.cs: Added support for event validation.
214 * HtmlInputImage.cs: Added support for event validation.
216 * HtmlInputButton.cs: Added support for event validation.
218 * HtmlSelect.cs: Added support for event validation.
220 * HtmlTextArea.cs: Added support for event validation.
222 * HtmlButton.cs: Added support for event validation.
224 * HtmlInputRadioButton.cs: Added support for event validation.
226 * HtmlInputText.cs: Added support for event validation.
228 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
230 * HtmlContainerControl.cs: fixed: InnerHtml property
232 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
235 HtmlTitle control is created if it was not declared in .aspx
237 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
240 make rendering of the onclick attribute to consider ValidationGroup property
242 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
245 make rendering of the onclick attribute to consider ValidationGroup property
247 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
249 * HtmlInputButton.cs:
250 make rendering of the onclick attribute to consider ValidationGroup property
252 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
255 implemented CausesValidation and ValidationGroup properties
257 2006-09-10 Vladimir Krasnov <vladimirk@mainsoft.com>
259 * HtmlInputFile.cs: fixed Value property
261 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
263 * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.
265 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
268 * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant
271 2006-07-12 Andrew Skiba <andrews@mainsoft.com>
273 * HtmlInputControl.cs: remove obsolete #if NET_2_0
275 2006-06-06 Juraj Skripsky <js@hotfeet.ch>
277 * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
280 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
282 * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
285 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
287 * HtmlInputRadioButton.cs: Value returns the ID only when there's no
288 "value" set. Fixes bug #78101.
290 2006-03-19 Vladimir Krasnov <vladimirk@mainsoft.com>
292 * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty
293 it shouldn't be rendered
294 * HtmlForm.cs: fixed Method, default method "post" should be added if
295 its value null or empty string
296 * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null
297 value, the fix is to remove attributes with empty string value too
299 2006-02-23 Chris Toshok <toshok@ximian.com>
301 * HtmlButton.cs: fix corcompare output.
303 * HtmlInputButton.cs: same.
305 * HtmlInputImage.cs: same.
307 * HtmlInputReset.cs: same.
309 2006-01-22 Chris Toshok <toshok@ximian.com>
311 * HtmlInputButton.cs:
312 s/GetPostBackClientEvent/GetPostBackEventReference.
314 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
316 * HtmlTableRow.cs: Cells is virtual in latest 1.1.
318 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
320 * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
322 * HtmlTable.cs: moved WriteLine around.
324 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
326 * HtmlForm.cs: more class-status fixes.
328 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
330 * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
332 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
334 * HtmlTable.cs: use the base class RenderChildren, as '_rows'
335 might not be the actual collection being used. Fixes bug #76815.
337 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
339 * HtmlInputFile.cs: if no one else set the encoding type for the
340 containing form and there's a HtmlInputFile, set Enctype to
341 'multipart/form-data'. Fixes bug #76837.
343 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
345 * HtmlInputButton.cs: render the onclick attribute only when the
346 button is a 'submit' and no validators or when the button is a
347 'button' and there's a registered ServerClick event. Fixes bug #76781.
349 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
351 * HtmlForm.cs: register the form and require viewstate hidden field to
352 be rendered in Render() even if OnInit is not called.
354 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
356 * HtmlHead.cs: fix the 2.0 build.
358 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
360 * HtmlForm.cs: when transfering from one page to another and using
361 cookieless session, we were doing pretty bad. Now, if the current path
362 and the original are the same, we just use the filename. Otherwise
363 we make the action location be relative to the original URL.
365 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
367 * HtmlInputButton.cs: render the onclick for doing a postback even when
368 there are no validators.
370 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
372 * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
374 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
376 * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
377 [UrlProperty] on HRef property for 2.0.
378 * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
379 * HtmlHead.cs: Remove IPageHeader interface.
380 * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
381 * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
382 * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
383 * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
384 * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
385 [UrlProperty] on Src property for 2.0.
386 * HtmlInputPassword.cs: Added [SupportsEventValidation].
387 * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
388 * HtmlInputReset.cs: Added [SupportsEventValidation].
389 * HtmlInputSubmit.cs: Added [SupportsEventValidation].
390 * HtmlInputText.cs: Added [SupportsEventValidation] on class and
391 re-enabled RenderAttribute for 2.0.
392 * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
393 * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
394 * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
396 2005-09-18 Chris Toshok <toshok@ximian.com>
398 * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
399 instead of AddAttribute when dealing with "onclick."
401 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
403 * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
405 2005-09-11 Chris Toshok <toshok@ximian.com>
407 * HtmlInputFile.cs (set_Value): add a message to the
408 NotSupportedException.
410 * HtmlInputControl.cs (RenderAttributes): add Page != null to the
411 checks before we register our control with the
412 __enabledControlArray JS array.
414 2005-09-09 Chris Toshok <toshok@ximian.com>
416 * HtmlInputButton.cs (CausesValidation): this is stored in
417 Attributes, not ViewState.
418 (ValidationGroup): same.
419 (RenderAttributes): remove CausesValidation from the list of
420 Attributes before calling base.RenderAttributes. Don't, however,
421 remove ValidationGroup, to replicate an MS bug.
423 2005-09-07 Chris Toshok <toshok@ximian.com>
425 * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
426 (Name): not sure about this property.. the getter apparently just
427 returns UniqueID, and the setter does nothing that I can figure
429 (RenderAttributes): don't bother to remove "name", since it's not
430 in the attributes anyway.
432 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
434 * HtmlInputControl.cs: use the Name property instead of the ClientID.
435 The 'name' attribute rendered contains colons if inside a
438 2005-09-07 Chris Toshok <toshok@ximian.com>
440 * HtmlInputCheckBox.cs (Checked): uncomment the
441 MinimizableAttributeTypeConverter attribute.
443 * HtmlControl.cs (Disabled): uncomment the
444 MinimizableAttributeTypeConverter attribute.
446 * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
448 * HtmlTableCell.cs (NoWrap): uncomment the
449 MinimizableAttributeTypeConverter attribute.
451 * HtmlLink.cs (Href): remove the MonoTODO.
453 * HtmlMeta.cs (Name): remove the MonoTODO.
455 (Render): add (pretty bogus, really..) implementation. not sure
456 why we need this one.
458 2005-09-06 Chris Toshok <toshok@ximian.com>
460 * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
463 2005-09-06 Chris Toshok <toshok@ximian.com>
465 * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
468 2005-09-06 Chris Toshok <toshok@ximian.com>
470 * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
471 (AddedControl): move the HtmlTitle logic here.
472 (RemovedControl): clear out the title if that was the control that
475 * HtmlLink.cs: new implementation.
477 * HtmlMeta.cs: new implementation.
479 2005-09-06 Chris Toshok <toshok@ximian.com>
481 * HtmlInputControl.cs (RenderAttributes): add ourselves to the
482 __enabledControlArray JS array if we're currently enabled and the
483 form is set to SubmitDisabledControls.
485 * HtmlForm.cs (OnInit): call Page.RegisterForm here.
486 (DetermineRenderUplevel): split this out of OnPreRender and make
487 it internal so HtmlInputControl can call it.
488 (OnPreRender): add handling for SubmitDisabledControls.
490 2005-09-05 Chris Toshok <toshok@ximian.com>
492 * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
493 or in the ViewState. where then?
494 (DefaultFocus): this one is stored in the ViewState, not as an
496 (SubmitDisabledControls): implement just as a boolean flag, not in
497 the viewstate or attributes.
498 (RenderAttributes): defaultfocus and defaultbutton are no longer
501 2005-09-04 Chris Toshok <toshok@ximian.com>
503 * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
505 * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
507 * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
509 * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
510 way, and in OnPreRender, call Page.RegisterRequiresPostback.
512 * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
513 and in OnPreRender, call Page.RegisterRequiresPostback.
515 * HtmlInputRadioButton.cs (OnPreRender): call
516 Page.RegisterRequiresPostback.
518 * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
519 Also, in OnPreRender, call Page.RegisterRequiresPostback.
521 * HtmlTextArea.cs (OnPreRender): call
522 Page.RegisterRequiresPostback.
524 2005-09-02 Chris Toshok <toshok@ximian.com>
526 * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
528 2005-09-02 Chris Toshok <toshok@ximian.com>
530 * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
532 * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
533 raisepostdatachangedevent, and raisepostbackevent.
534 (validationgroup): implement.
536 * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
537 and raisepostdatachangedevent.
539 * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
540 and RaisePostDataChangedEvent.
542 * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
543 body of both RaisePostBackEvent impl's here, and fix it up so we
544 use the property Page.Validate call in 2.0.
545 (RaisePostBackEvent): call RaisePostBackEventInternal.
546 (IPostBackEventHandler.RaisePostBackEvent): same.
548 * HtmlImage.cs (Align): the test case shows that we don't need to
551 2005-09-01 Sebastien Pouliot <sebastien@ximian.com>
553 * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
554 HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
555 HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
556 HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
557 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
558 HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
559 HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
560 HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
561 HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
562 attributes AspNetHostingPermission for Minimal level on all classes
563 (LinkDemand) and for non-sealed classes (InheritanceDemand).
565 2005-08-29 Chris Toshok <toshok@ximian.com>
567 * System.Web.UI.HtmlControls/HtmlTableCell.cs,
568 System.Web.UI.HtmlControls/HtmlInputFile.cs,
569 System.Web.UI.HtmlControls/HtmlForm.cs,
570 System.Web.UI.HtmlControls/HtmlInputText.cs,
571 System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
572 System.Web.UI.HtmlControls/HtmlAnchor.cs,
573 System.Web.UI.HtmlControls/HtmlButton.cs,
574 System.Web.UI.HtmlControls/HtmlTextArea.cs,
575 System.Web.UI.HtmlControls/HtmlGenericControl.cs,
576 System.Web.UI.HtmlControls/HtmlSelect.cs,
577 System.Web.UI.HtmlControls/HtmlTableRow.cs,
578 System.Web.UI.HtmlControls/HtmlControl.cs,
579 System.Web.UI.HtmlControls/HtmlImage.cs,
580 System.Web.UI.HtmlControls/HtmlTable.cs,
581 System.Web.UI.HtmlControls/HtmlInputButton.cs,
582 System.Web.UI.HtmlControls/HtmlInputControl.cs,
583 System.Web.UI.HtmlControls/HtmlInputImage.cs,
584 System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
585 System.Web.UI.HtmlControls/HtmlInputHidden.cs,
586 System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
589 2005-08-29 Chris Toshok <toshok@ximian.com>
591 * HtmlInputSubmit.cs: new implementation.
593 * HtmlInputReset.cs (ValidationGroup): implement
595 * HtmlInputButton.cs (ValidationGroup): implement.
597 2005-08-29 Chris Toshok <toshok@ximian.com>
599 * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
603 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
605 * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
606 but not used. Call ResolveUrl when rendering the attributes instead.
608 2005-08-28 Chris Toshok <toshok@ximian.com>
610 * HtmlHeadBuilder.cs: this is public.
612 * HtmlSelectBuilder.cs: in 2.0 this is public.
614 * HtmlInputButton.cs: fix boilerplate.
616 * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
617 (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
618 Page.Validation(ValidationGroup).
620 2005-08-28 Chris Toshok <toshok@ximian.com>
622 * HtmlInputReset.cs: mostly complete implementation.
624 2005-08-28 Chris Toshok <toshok@ximian.com>
626 * HtmlInputPassword.cs: doh, make this NET_2_0 only.
628 2005-08-28 Chris Toshok <toshok@ximian.com>
630 * HtmlInputPassword.cs: implement.
632 2005-08-28 Chris Toshok <toshok@ximian.com>
634 * HtmlImage.cs: corcompare fixes.
636 * HtmlInputCheckBox.cs: same.
638 2005-08-27 Chris Toshok <toshok@ximian.com>
640 * HtmlControl.cs (GetAttribute, SetAttribute): implement.
642 2005-08-27 Chris Toshok <toshok@ximian.com>
644 * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
645 (OnPreRender): figure out (hackishly) if we're uplevel rendering.
646 If we have a default button/focus control set, register webform.js
647 as a client script block, and emit some JS to focus the control.
648 (RenderAttributes): verify that the DefaultButton attribute points
649 to a valid IButtonControl implementing control. Also remove the
650 defaultfocus/defaultbutton attributes before calling
651 base.RenderAttributes.
653 2005-08-27 Kornél Pál <kornelpal@hotmail.com>
655 * HtmlTableCell.cs: Fixed to use Consts.
657 2005-08-26 Chris Toshok <toshok@ximian.com>
659 * HtmlButton.cs (ValidationGroup): implement.
660 (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
661 one body of the actual RaisePostBackEvent code. Also, call
662 Page.Validate(ValidationGroup) in the 2.0 case.
664 2005-08-25 Miguel de Icaza <miguel@novell.com>
666 * HtmlHead.cs: Implement constructor, pass the tag.
668 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
670 * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
672 2005-08-25 Chris Toshok <toshok@ximian.com>
674 * HtmlForm.cs (CreateControlCollection, OnPreRender,
675 RenderControl): implement naively, just calling base.Method.
677 2005-08-25 Chris Toshok <toshok@ximian.com>
679 * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
680 the last '/' when rendering the action. Fixes comments in
683 2005-08-24 Chris Toshok <toshok@ximian.com>
685 * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
686 HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
687 HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
688 Add MonoTODO's for all NotImplementedException's.
690 2005-08-18 Dick Porter <dick@ximian.com>
692 * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
693 HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
694 HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
695 HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
696 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
697 HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
699 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
701 * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
702 Load method (bad choice) to DefaultLoadPostData.
704 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
706 * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
707 * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
708 method. Fixed support for protected LoadPostData and
709 RaisePostDataChangedEvent in 2.0 (recursion).
710 * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
711 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
712 * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
713 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
715 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
717 * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
718 for 2.0 profile. The class seems to be internal and not (yet?)
721 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
723 * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
724 * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
725 (at least) HtmlInputControl in 2.0 profile.
726 * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
727 * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
729 2005-08-09 Dick Porter <dick@ximian.com>
731 * HtmlSelect.cs: Clear databindings when adding a new one; cope
732 with assorted combinations of empty text and value fields; write
733 <option> tags manually to match ms HTML output. All fix nunit
736 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
738 * HtmlInputControl.cs: Remove code to handle password (wrong place)
739 and fixed type handling for 2.0.
740 * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
741 the type == password. Tests indicates that the value is present for
744 2005-08-05 Dick Porter <dick@ximian.com>
746 * HtmlSelect.cs: Fix databinding when one or other of Name and
747 Value aren't supplied (thanks to Peter for the patch); Make
748 <option> indenting match ms output.
750 2005-07-30 Ben Maurer <bmaurer@ximian.com>
752 * HtmlForm.cs: Make sure we actually put the "?" in the url
754 2005-07-29 Dick Porter <dick@ximian.com>
756 * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
757 instead of building the query string by hand
759 2005-07-27 Dick Porter <dick@ximian.com>
761 * HtmlInputCheckBox.cs: New implementation
763 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
765 * HtmlSelect.cs: Added missing attributes
767 2005-07-26 Dick Porter <dick@ximian.com>
769 * HtmlSelect.cs: New implementation
771 2005-07-26 Miguel de Icaza <miguel@novell.com>
773 * HtmlForm.cs: It is possible to have keys with no values in the
774 query string, do not try to process those on the foreach loop.
776 The question is: what should happen if I only get the key?
778 Example: file_with_a_form.aspx?a
780 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
782 * HtmlForml.cs: Implemented UniqueID (new in sp1)
783 * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
785 2005-07-24 Dick Porter <dick@ximian.com>
787 * HtmlForm.cs: Add the trailing query string to the form action;
788 fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
790 2005-07-22 Dick Porter <dick@ximian.com>
792 * HtmlInputFile.cs: Add assembly attributes
794 2005-07-21 Dick Porter <dick@ximian.com>
796 * HtmlImage.cs: The src attribute needs to be a relative URL;
797 close the HTML element when rendering attributes, to match the MS
800 * HtmlForm.cs: Added assembly attributes; don't render ID twice;
801 don't render enctype and target if they are empty strings;
802 implement a Render overload to keep corcompare quiet.
804 2005-07-20 Chris Toshok <toshok@ximian.com>
806 * HtmlForm.cs (RenderAttributes): if there are submit statements,
807 we need to render those.
809 * HtmlInputImage.cs: same.
811 * HtmlInputButton.cs: hook up the client validation stuff.
813 * HtmlButton.cs: same, except a lot more complicated due to
816 2005-07-19 Dick Porter <dick@ximian.com>
818 * HtmlImage.cs: Added attributes; use Int32.Parse instead of
821 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
823 * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
824 ControlID for Name (and not ID). Added ControlBuilder attribute.
825 * HtmlTable.cs: Simplify check when adding controls.
826 * HtmlTableRow.cs: Simplify check when adding controls.
828 2005-07-18 Jackson Harper <jackson@ximian.com>
830 * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
833 2005-07-15 Jackson Harper <jackson@ximian.com>
835 * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
836 constant. Update fetching from viewstate code to use new
839 2005-07-15 Jackson Harper <jackson@ximian.com>
841 * HtmlInputButton.cs: Add DefaultEventAttribute.
843 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
845 * HtmlInputControl.cs: Removed internal property (no more required to
847 * HtmlInputRadioButton.cs: Optimized events.
848 * HtmlInputText.cs: Optimized events.
849 * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
851 * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
853 * HtmlTextArea.cs: Optimized events.
855 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
857 * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
858 result) and fixed compatibility for a weird behaviour of the HRef
859 attribute handling. Optimized events.
861 2005-07-14 Jackson Harper <jackson@ximian.com>
863 * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
864 string constant. Use new method for accessing ViewState
865 data. Don't remove value from the view state if it is the default.
867 2005-07-14 Jackson Harper <jackson@ximian.com>
869 * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
870 string constant. Use new method for accessing ViewState
871 data. Don't remove value from the view state if it is the default.
873 2005-07-14 Dick Porter <dick@ximian.com>
875 * HtmlInputFile.cs: New implementation
877 2005-07-14 Jackson Harper <jackson@ximian.com>
879 * HtmlInputControl.cs: Use ClientID for input controls name.
881 2005-07-14 Dick Porter <dick@ximian.com>
883 * HtmlForm.cs: New Implementation
885 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
887 * HtmlTable.cs: Added missing attributes.
888 * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
889 as the builder's type isn't public.
890 * HtmlInputControl.cs: Added missing attributes.
891 * HtmlInputText.cs: Added missing attributes.
892 * HtmlInputRadioButton.cs: Added missing attributes.
893 * HtmlAnchor.cs: Added missing attributes.
894 * HtmlTextArea.cs: Added missing attributes.
895 * HtmlTableRow.cs: Added missing attributes.
897 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
899 * HtmlAnchor.cs: Added DefaultValue attributes.
900 * HtmlInputControl.cs: Added DefaultValue attributes.
901 * HtmlInputRadioButton.cs: Added DefaultValue attributes.
902 * HtmlInputText.cs: Added DefaultValue attributes. Added method
903 RenderAttributes in 1.1 profile.
904 * HtmlTable.cs: Fix DefaultValue to "".
905 * HtmlTextArea.cs: Added DefaultValue attributes.
907 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
909 * HtmlTableCell.cs: Added DefaultValue attributes.
910 * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
911 * HtmlTableRowCollection.cs: Reworked collection to share data with
913 * HtmlTableCellCollection.cs: Reworked collection to share data with
914 HtmlTableRow.Controls.
915 * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
917 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
919 * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
921 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
923 * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
925 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
927 * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
929 * HtmlTextArea.cs: New implementation.
931 2005-07-07 Jackson Harper <jackson@ximian.com>
933 * HtmlInputImage.cs: New implementation.
935 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
937 * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
938 * HtmlInputControl.cs: New implementation.
939 * HtmlInputRadioButton.cs: New implementation.
940 * HtmlInputText.cs: New implementation.
942 2005-07-07 Jackson Harper <jackson@ximian.com>
944 * HtmlInputHidden.cs: New implementation.
946 2005-07-07 Jackson Harper <jackson@ximian.com>
948 * HtmlAnchor.cs: Call base OnPreRender from override.
950 2005-07-07 Jackson Harper <jackson@ximian.com>
952 * HtmlInputButton.cs: New implementation.
954 2005-07-07 Dick Porter <dick@ximian.com>
956 * HtmlImage.cs: New implementation
958 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
960 * HtmlAnchor.cs: Fixed to remove attributes properly.
961 * HtmlTable.cs: New implementation.
962 * HtmlTableCell.cs: New implementation.
963 * HtmlTableCellCollection.cs: New implementation.
964 * HtmlTableRow.cs: New implementation.
965 * HtmlTableRowCollection.cs: New implementation.
967 2005-07-06 Jackson Harper <jackson@ximian.com>
969 * HtmlButton.cs: New implementation.
971 2005-07-06 Sebastien Pouliot <sebastien@ximian.com>
973 * HtmlAnchor.cs: New implementation.
975 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
978 * HtmlControl.cs: updates for 1.1 SP1.
980 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
982 * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
985 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
987 * HtmlHead.cs: Fix warning.
989 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
991 * HtmlForm.cs: Use the new WriteSubmitStatements method from
994 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
996 * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
997 Page.GetPostBackClientEvent since it is deprecated in 2.0.
999 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
1001 * HtmlForm.cs: Register the form in the page, so the page knows
1002 which is the main form.
1004 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
1006 * HtmlHead.cs: Method name fix.
1008 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1010 * HtmlForm.cs: submitStatements holds Hashtables.
1012 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
1014 * HtmlHead.cs: Implemented.
1015 * HtmlHeadBuilder.cs: Implemented.
1016 * HtmlTitle.cs: Implemented.
1018 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1020 * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
1022 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1024 * HtmlForm.cs: fixed the Action property when running a different
1025 page than the one requested (Transfer). Closes bug #69318.
1027 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
1029 * HtmlForm.cs: Add submit statements from the new Page.ClientScript
1032 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1034 * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
1035 it and failed when the browser was IE.
1037 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1039 * HtmlForm.cs: default value for Enctype is "".
1040 * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
1041 we set it to "multipart/form-data". Fixes bug #58359.
1043 2004-01-15 Alon Gazit <along@mainsoft.com>
1044 * HtmlForm.cs: The property name always return the value of the
1047 2003-12-28 Alon Gazit <along@mainsoft.com>
1048 * HtmlSelect.cs: fix typo in LoadPostData().
1050 2003-12-29 Alon Gazit <along@mainsoft.com>
1051 * HtmlInputButton.cs: update the implementation of RenderAttributes().
1052 Change the if statement that determines if the onclick script is
1055 2003-12-28 Alon Gazit <along@mainsoft.com>
1056 * HtmlSelect.cs: add parentheses to if statement.
1057 Currently the else statement refers to the inner if statement.
1059 2003-12-28 Alon Gazit <along@mainsoft.com>
1060 * HtmlSelect.cs: fix upper bound of for statement.
1062 2003-12-19 Jackson Harper <jackson@ximian.com>
1064 * HtmlInputFile.cs: Do not set value when loading post data.
1066 2003-12-14 Alon Gazit <along@mainsoft.com>
1067 * HtmlInputButton.cs: The problem was in RenderAttributes().
1068 Before adding the script to the HTML, the number of Validators should
1069 be checked. fixes bug #52158.
1071 2003-12-07 Alon Gazit <along@mainsoft.com>
1072 * HtmlTableCell.cs: fixing a typo in NoWrap property.
1074 2003-12-04 Jackson Harper <jackson@ximian.com>
1076 * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
1077 value. This is because radio button groups are created by setting
1078 the name to the same value with each button, then on postback the
1079 value of the name is the id of the selected radio button.
1081 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1083 * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
1085 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1087 * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
1088 remove the code used to workaround that.
1090 2003-12-01 Jackson Harper <jackson@ximian.com>
1092 * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
1093 <along@mainsoft.com>.
1095 2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1097 * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
1098 <along@mainsoft.com>. Fixes bug #51377.
1100 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1102 * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
1103 <along@mainsoft.com>.
1105 2003-10-29 Jackson Harper <jackson@ximian.com>
1107 * HtmlControl.cs: Make disabled an attribute of the control so it
1108 is rendered. This is a slightly modifed version of a patch
1109 by Yaron Shkop. Fixes bug #50160.
1111 2003-10-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1113 * HtmlTextArea.cs: fixed infinite recursion.
1115 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1117 * HtmlForm.cs: render the onsubmit attribute.
1119 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1121 * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
1122 need to pass true here. Fixes bug #47918.
1124 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1126 * HtmlContainerControl.cs: Added attributes
1127 * HtmlControl.cs: Added attributes
1128 * HtmlInputControl.cs: Fixed public signature
1129 * HtmlInputRadioButton.cs: Fixed public signature
1130 * HtmlSelect.cs: Added missing attribute
1131 * HtmlTable.cs: Added missing attribute
1133 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1135 * HtmlSelect.cs: fixed bug #44894.
1137 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1140 * HtmlInputControl.cs:
1141 * HtmlSelect.cs: added control builder attribute.
1143 * HtmlSelectBuilder.cs: builder for HtmlSelect.
1145 * HtmlControlBuilder.cs: common builder for all HtmlControls.
1147 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1149 * HtmlControl.cs: _tagName is now internal.
1150 * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
1153 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1155 * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
1157 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1159 * HtmlInputButton.cs: fixed bug #35677.
1161 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1163 * HtmlInputControl.cs: fixed bug #35673.
1165 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1167 * HtmlInputText.cs: fixed bug #35670.
1169 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1171 * HtmlSelect.cs: fixed LoadViewstate.
1173 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1175 * HtmlButton.cs: make it do a POST if the button has any ServerClick
1178 2002-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1182 * HtmlContainerControl.cs:
1185 * HtmlGenericControl.cs:
1187 * HtmlInputButton.cs:
1188 * HtmlInputCheckBox.cs:
1189 * HtmlInputControl.cs:
1191 * HtmlInputHidden.cs:
1192 * HtmlInputImage.cs:
1193 * HtmlInputRadioButton.cs:
1199 * HtmlTextArea.cs: added almost all missing attributes.
1201 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1203 * HtmlControl.cs: the attributes must use ViewState as its StateBag,
1204 if not style values are lost between postbacks.
1206 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1210 * HtmlInputButton.cs:
1211 * HtmlInputCheckBox.cs:
1212 * HtmlInputHidden.cs:
1213 * HtmlInputImage.cs:
1215 * HtmlTextArea.cs: Initialize EventHandlerList indexer.
1217 * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
1218 instead of maintaining some flags and strings. Implemented
1221 * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
1223 * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
1226 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1228 * HtmlGenericControl.cs: fixed TagName signature and get/set.
1229 * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
1230 * HtmlInputText.cs: added attribute.
1232 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1234 * HtmlForm.cs: don't render action attribute.
1236 2002-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1238 * HtmlContainerControl.cs:
1239 (CreateControlCollection): added. All containers must have a non-empty
1242 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1244 * System.Web.UI.HtmlControls/HtmlAnchor.cs:
1245 * System.Web.UI.HtmlControls/HtmlButton.cs:
1246 * System.Web.UI.HtmlControls/HtmlControl.cs:
1247 * System.Web.UI.HtmlControls/HtmlForm.cs:
1248 * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
1249 * System.Web.UI.HtmlControls/HtmlInputButton.cs:
1250 * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
1251 * System.Web.UI.HtmlControls/HtmlInputControl.cs:
1252 * System.Web.UI.HtmlControls/HtmlInputFile.cs:
1253 * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
1254 * System.Web.UI.HtmlControls/HtmlInputImage.cs:
1255 * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
1256 * System.Web.UI.HtmlControls/HtmlInputText.cs:
1257 * System.Web.UI.HtmlControls/HtmlSelect.cs:
1258 * System.Web.UI.HtmlControls/HtmlTable.cs:
1259 * System.Web.UI.HtmlControls/HtmlTableCell.cs:
1260 * System.Web.UI.HtmlControls/HtmlTableRow.cs:
1261 * System.Web.UI.HtmlControls/HtmlTextArea.cs:
1263 Fixes based on class status page:
1265 - Add attributes (DefaultEvent, ParseChildren).
1267 - Explicitly implement some interfaces (IPostBackDataHandler
1268 and IPostBackEventHandler).
1269 - Implemented some missing methods.
1271 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1274 (RenderChildren): use OnFormRender and OnFormPostRender.
1276 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1279 (RenderAttributes): new -> override and fixes stack overflow.
1280 (RenderChildren): only 1 option can be selected at any given time
1281 except when Multiple property is true.
1282 (Multiple): the attribute value is either "true" or "false", not
1287 (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
1290 (RenderEndTag): new -> override.
1293 (RenderChildren): fixed another stack overflow.
1294 (RenderEndTag): new -> override.
1297 (RenderAttributes): new -> override.
1300 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1302 * HtmlInputHidden.cs: fixed constructor.
1304 * HtmlInputRadioButton.cs:
1305 (RenderAttributes): fixed stack overflow.
1308 (RenderedName): new -> override.
1310 (Value): new property.
1313 (RenderAttributes): fixed the same kind of stack overflow and make
1314 string comparison case insensitive.
1316 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1318 * HtmlForm.cs: fixed name of Enctype property and render enctype
1321 * HtmlInputControl.cs: tag type is "input", not "type".
1323 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1325 * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
1328 * HtmlForm.cs: Render output when no IE browser.
1330 * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
1331 though now it always use the other .ctor.
1333 * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
1335 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1337 * HtmlButton.cs: RenderAttributes is an override, not new.
1339 * HtmlContainerControl.cs: use the new Render method in HtmlControl.
1341 * HtmlControl.cs: added Render method to render the tag and its
1342 attributes. Works for container and non-containers.
1344 * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
1347 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1349 * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
1350 instead of Page.Server to encode InnerText.
1352 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1355 (RenderAttributes): new -> override and fixed little bug that made
1356 it cause an stack overflow.
1358 * HtmlContainerControl.cs: reformatted and added tag and attributes
1361 * HtmlGenericControl.cs: removed TagName, which is already in
1365 (RenderEndTag): new -> override.
1367 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1369 * System.Web.UI.HtmlControls/HtmlForm.cs:
1370 (RenderAttributes): changed new by override.
1371 (Name): allow setting the property.
1373 2002-05-10 Duncan Mak <duncan@ximian.com>
1375 * HtmlTableCellCollection.cs (this): Updated the indexer to return
1376 the right type, HtmlTableCell instead of HtmlTableRow.
1378 * HtmlInputImage.cs (OnServerClick): Commented out parts that
1381 * HtmlForm.cs (RenderAttributes):
1382 (RenderChildren): Commented out code that doesn't compile.
1384 2002-05-07 Duncan Mak <duncan@ximian.com>
1386 * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
1387 clashing with the method defined in the parent class.
1388 (OnDataBinding): Added missing casts.
1390 * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
1391 'this' to IAttributeAccessor before calling interface method.
1392 Also renamed some calls to reflect changes in the API.
1394 * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
1397 2001-09-03 Leen Toelen <toelen@hotmail.com>
1399 * HtmlAnchor.cs: Initial implementation.
1400 * HtmlTextArea.cs: Initial implementation.
1402 2001-08-22 Bob Smith <bob@thestuff.net>
1404 * HtmlContainerControl.cs: Initial implementation.
1405 * HtmlControl.cs: Initial implementation.
1406 * HtmlGenericControl.cs: Initial implementation.