1 2008-10-07 Christian Hergert <christian.hergert@gmail.com>
3 * HtmlImage.cs: Do not render the src attribute if it is null or empty.
4 An empty src attribute makes browsers download the current page url as
7 2008-08-29 Marek Habersack <mhabersack@novell.com>
9 * HtmlHead.cs: call base.OnInit ()
10 If Page is null, throw an exception.
12 2008-07-25 Dean Brettle <dean@brettle.com>
14 * HtmlControl.cs (PreProcessRelativeReference),
15 HtmlForm.cs (RenderAttributes), HtmlInputButton (RenderAttributes),
16 HtmlInputRadioButton (RenderAttributes), HtmlSelect (RenderChildren):
17 Encode attributes that could contain HTML special chars.
19 * HtmlSelect (RenderChildren): HTML-encode option text.
21 2008-06-30 Marek Habersack <mhabersack@novell.com>
23 * HtmlForm.cs: hush the warnings
25 2008-06-08 Gert Driesen <drieseng@users.sourceforge.net>
27 * HtmlAnchor.cs: Do not render empty name, target or title attribute.
28 Removed extra check for target attribute in RenderAttributes. Use
29 string.Empty instead of "", and check string's Length instead of
30 comparison with "" or string.Empty. Minor code formatting.
32 2008-06-04 Juraj Skripksy <js@hotfeet.ch>
34 * HtmlAnchor.cs (Render): Add missing call to
35 ClientScriptManager.RegisterForEventValidation. Fixes bug #397142.
37 2008-06-04 Juraj Skripsky <js@hotfeet.ch>
39 * HtmlAnchor.cs: Do not render an empty href attribute.
42 2008-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
44 * HtmlForm.cs: fixed action attribute in RenderAttributes under
47 2008-02-06 Marek Habersack <mhabersack@novell.com>
49 * HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
50 mode. Fixes bug #354425
52 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
54 * HtmlSelect.cs: refactoring.
56 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
58 * HtmlSelect.cs: fix databinding (only 2.0), state management.
60 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
62 * HtmlSelect.cs: Fix infinite recursion (only in 2.0) found using
65 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
67 * HtmlForm.cs: refactoring.
69 2007-12-13 Marek Habersack <mhabersack@novell.com>
71 * HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
72 instead of String.Format in some cases.
74 2007-11-07 Juraj Skripsky <js@hotfeet.ch>
76 * HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
77 Fixes bug #339426 for master pages.
79 2007-11-06 Marek Habersack <mhabersack@novell.com>
81 * HtmlForm.cs: a small DetermineRenderUplevel optimization - the
82 result is now cached in a nullable boolean variable.
83 Render the 'onkeypress' attribute if DefaultButton is used. Fixes
86 2007-08-27 Marek Habersack <mhabersack@novell.com>
88 * HtmlForm.cs: make sure the ID is set before HtmlControls renders
89 the attributes. Fixes bug #82596
91 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
93 * HtmlHead.cs: refactoring, used AddAttribute overload without encoding
94 on known attribute values
96 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
98 * HtmlControl.cs: fixed PreProcessRelativeReference, should be used
101 2007-07-16 Marek Habersack <mhabersack@novell.com>
103 * HtmlHeadBuilder.cs: the <meta> tag should be supported as well.
105 * HtmlTitle.cs: if the tag has any children, or the render method
106 delegate has been defined, render the children. Output the
107 contents of Text otherwise. Fixes bug #82102
109 2007-05-08 Marek Habersack <mhabersack@novell.com>
111 * HtmlInputButton.cs: button of type 'reset' does not invoke
113 'reset' buttons clear all the controls in the form to their
116 2007-05-04 Marek Habersack <mhabersack@novell.com>
118 * HtmlAnchor.cs: use ResolveClientUrl when generating
119 attributes. Necessary if the control is in a master page which is
120 in a different directory than the current page.
122 2007-05-01 Marek Habersack <mhabersack@novell.com>
124 * HtmlForm.cs: do not use User-Agent directly, we must take
125 ClientTarget into account.
127 2007-04-27 Marek Habersack <mhabersack@novell.com>
129 * HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
130 paths that might happen in them.
132 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
134 * HtmlForm.cs: for TARGET_J2EE:
135 used Page.Request.Browser to determine RenderUplevel
137 2007-04-17 Marek Habersack <mhabersack@novell.com>
139 * HtmlForm.cs: use the new uplevel browser detection code.
141 2007-04-11 Marek Habersack <mhabersack@novell.com>
143 * HtmlInputHidden.cs:
150 * HtmlInputCheckBox.cs:
151 * HtmlInputRadioButton.cs:
152 * HtmlInputImage.cs: do not register the control for post back
153 processing or if it's disabled.
155 2007-04-06 Marek Habersack <mhabersack@novell.com>
157 * HtmlForm.cs: render the 'name' attribute only when in non-xhtml
160 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
162 * HtmlInputCheckBox.cs:
163 * HtmlInputControl.cs:
164 * HtmlInputHidden.cs:
165 * HtmlInputRadioButton.cs:
169 fixed: Form.SubmitDisabledControls feature:
170 not all HtmlInputControl need to be reenabled on client.
172 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
174 * HtmlForm.cs: Under TARGET_J2EE use Page.RenderResponse instead of
177 2007-01-20 Miguel de Icaza <miguel@novell.com>
179 * HtmlHead.cs: comment out unused code, in particular metadata is
180 commented out because nothing could have triggered its creation.
182 * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
184 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
186 * HtmlLink.cs: fixed RenderAttributes, href should be resolved
188 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
190 * HtmlForm.cs, HtmlAnchor.cs: Added J2EE Portal support for TARGET_J2EE.
192 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
194 * HtmlInputImage.cs: to handle correctly relative URLs to the image.
196 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
198 * HtmlInputRadioButton.cs: fixed: LoadPostData.
200 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
202 * HtmlImputImage.cs: fixed: OnServerClick.
204 2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
206 * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
209 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
211 * HtmlForm.cs: refactoring: Registering of client scripts
214 2006-11-17 Marek Habersack <grendello@gmail.com>
216 * HtmlInputHidden.cs: Added support for event validation.
218 * HtmlInputCheckBox.cs: Added support for event validation.
220 * HtmlInputImage.cs: Added support for event validation.
222 * HtmlInputButton.cs: Added support for event validation.
224 * HtmlSelect.cs: Added support for event validation.
226 * HtmlTextArea.cs: Added support for event validation.
228 * HtmlButton.cs: Added support for event validation.
230 * HtmlInputRadioButton.cs: Added support for event validation.
232 * HtmlInputText.cs: Added support for event validation.
234 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
236 * HtmlContainerControl.cs: fixed: InnerHtml property
238 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
241 HtmlTitle control is created if it was not declared in .aspx
243 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
246 make rendering of the onclick attribute to consider ValidationGroup property
248 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
251 make rendering of the onclick attribute to consider ValidationGroup property
253 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
255 * HtmlInputButton.cs:
256 make rendering of the onclick attribute to consider ValidationGroup property
258 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
261 implemented CausesValidation and ValidationGroup properties
263 2006-09-10 Vladimir Krasnov <vladimirk@mainsoft.com>
265 * HtmlInputFile.cs: fixed Value property
267 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
269 * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.
271 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
274 * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant
277 2006-07-12 Andrew Skiba <andrews@mainsoft.com>
279 * HtmlInputControl.cs: remove obsolete #if NET_2_0
281 2006-06-06 Juraj Skripsky <js@hotfeet.ch>
283 * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
286 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
288 * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
291 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
293 * HtmlInputRadioButton.cs: Value returns the ID only when there's no
294 "value" set. Fixes bug #78101.
296 2006-03-19 Vladimir Krasnov <vladimirk@mainsoft.com>
298 * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty
299 it shouldn't be rendered
300 * HtmlForm.cs: fixed Method, default method "post" should be added if
301 its value null or empty string
302 * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null
303 value, the fix is to remove attributes with empty string value too
305 2006-02-23 Chris Toshok <toshok@ximian.com>
307 * HtmlButton.cs: fix corcompare output.
309 * HtmlInputButton.cs: same.
311 * HtmlInputImage.cs: same.
313 * HtmlInputReset.cs: same.
315 2006-01-22 Chris Toshok <toshok@ximian.com>
317 * HtmlInputButton.cs:
318 s/GetPostBackClientEvent/GetPostBackEventReference.
320 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
322 * HtmlTableRow.cs: Cells is virtual in latest 1.1.
324 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
326 * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
328 * HtmlTable.cs: moved WriteLine around.
330 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
332 * HtmlForm.cs: more class-status fixes.
334 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
336 * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
338 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
340 * HtmlTable.cs: use the base class RenderChildren, as '_rows'
341 might not be the actual collection being used. Fixes bug #76815.
343 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
345 * HtmlInputFile.cs: if no one else set the encoding type for the
346 containing form and there's a HtmlInputFile, set Enctype to
347 'multipart/form-data'. Fixes bug #76837.
349 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
351 * HtmlInputButton.cs: render the onclick attribute only when the
352 button is a 'submit' and no validators or when the button is a
353 'button' and there's a registered ServerClick event. Fixes bug #76781.
355 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
357 * HtmlForm.cs: register the form and require viewstate hidden field to
358 be rendered in Render() even if OnInit is not called.
360 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
362 * HtmlHead.cs: fix the 2.0 build.
364 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
366 * HtmlForm.cs: when transfering from one page to another and using
367 cookieless session, we were doing pretty bad. Now, if the current path
368 and the original are the same, we just use the filename. Otherwise
369 we make the action location be relative to the original URL.
371 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
373 * HtmlInputButton.cs: render the onclick for doing a postback even when
374 there are no validators.
376 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
378 * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
380 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
382 * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
383 [UrlProperty] on HRef property for 2.0.
384 * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
385 * HtmlHead.cs: Remove IPageHeader interface.
386 * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
387 * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
388 * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
389 * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
390 * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
391 [UrlProperty] on Src property for 2.0.
392 * HtmlInputPassword.cs: Added [SupportsEventValidation].
393 * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
394 * HtmlInputReset.cs: Added [SupportsEventValidation].
395 * HtmlInputSubmit.cs: Added [SupportsEventValidation].
396 * HtmlInputText.cs: Added [SupportsEventValidation] on class and
397 re-enabled RenderAttribute for 2.0.
398 * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
399 * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
400 * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
402 2005-09-18 Chris Toshok <toshok@ximian.com>
404 * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
405 instead of AddAttribute when dealing with "onclick."
407 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
409 * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
411 2005-09-11 Chris Toshok <toshok@ximian.com>
413 * HtmlInputFile.cs (set_Value): add a message to the
414 NotSupportedException.
416 * HtmlInputControl.cs (RenderAttributes): add Page != null to the
417 checks before we register our control with the
418 __enabledControlArray JS array.
420 2005-09-09 Chris Toshok <toshok@ximian.com>
422 * HtmlInputButton.cs (CausesValidation): this is stored in
423 Attributes, not ViewState.
424 (ValidationGroup): same.
425 (RenderAttributes): remove CausesValidation from the list of
426 Attributes before calling base.RenderAttributes. Don't, however,
427 remove ValidationGroup, to replicate an MS bug.
429 2005-09-07 Chris Toshok <toshok@ximian.com>
431 * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
432 (Name): not sure about this property.. the getter apparently just
433 returns UniqueID, and the setter does nothing that I can figure
435 (RenderAttributes): don't bother to remove "name", since it's not
436 in the attributes anyway.
438 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
440 * HtmlInputControl.cs: use the Name property instead of the ClientID.
441 The 'name' attribute rendered contains colons if inside a
444 2005-09-07 Chris Toshok <toshok@ximian.com>
446 * HtmlInputCheckBox.cs (Checked): uncomment the
447 MinimizableAttributeTypeConverter attribute.
449 * HtmlControl.cs (Disabled): uncomment the
450 MinimizableAttributeTypeConverter attribute.
452 * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
454 * HtmlTableCell.cs (NoWrap): uncomment the
455 MinimizableAttributeTypeConverter attribute.
457 * HtmlLink.cs (Href): remove the MonoTODO.
459 * HtmlMeta.cs (Name): remove the MonoTODO.
461 (Render): add (pretty bogus, really..) implementation. not sure
462 why we need this one.
464 2005-09-06 Chris Toshok <toshok@ximian.com>
466 * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
469 2005-09-06 Chris Toshok <toshok@ximian.com>
471 * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
474 2005-09-06 Chris Toshok <toshok@ximian.com>
476 * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
477 (AddedControl): move the HtmlTitle logic here.
478 (RemovedControl): clear out the title if that was the control that
481 * HtmlLink.cs: new implementation.
483 * HtmlMeta.cs: new implementation.
485 2005-09-06 Chris Toshok <toshok@ximian.com>
487 * HtmlInputControl.cs (RenderAttributes): add ourselves to the
488 __enabledControlArray JS array if we're currently enabled and the
489 form is set to SubmitDisabledControls.
491 * HtmlForm.cs (OnInit): call Page.RegisterForm here.
492 (DetermineRenderUplevel): split this out of OnPreRender and make
493 it internal so HtmlInputControl can call it.
494 (OnPreRender): add handling for SubmitDisabledControls.
496 2005-09-05 Chris Toshok <toshok@ximian.com>
498 * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
499 or in the ViewState. where then?
500 (DefaultFocus): this one is stored in the ViewState, not as an
502 (SubmitDisabledControls): implement just as a boolean flag, not in
503 the viewstate or attributes.
504 (RenderAttributes): defaultfocus and defaultbutton are no longer
507 2005-09-04 Chris Toshok <toshok@ximian.com>
509 * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
511 * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
513 * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
515 * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
516 way, and in OnPreRender, call Page.RegisterRequiresPostback.
518 * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
519 and in OnPreRender, call Page.RegisterRequiresPostback.
521 * HtmlInputRadioButton.cs (OnPreRender): call
522 Page.RegisterRequiresPostback.
524 * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
525 Also, in OnPreRender, call Page.RegisterRequiresPostback.
527 * HtmlTextArea.cs (OnPreRender): call
528 Page.RegisterRequiresPostback.
530 2005-09-02 Chris Toshok <toshok@ximian.com>
532 * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
534 2005-09-02 Chris Toshok <toshok@ximian.com>
536 * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
538 * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
539 raisepostdatachangedevent, and raisepostbackevent.
540 (validationgroup): implement.
542 * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
543 and raisepostdatachangedevent.
545 * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
546 and RaisePostDataChangedEvent.
548 * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
549 body of both RaisePostBackEvent impl's here, and fix it up so we
550 use the property Page.Validate call in 2.0.
551 (RaisePostBackEvent): call RaisePostBackEventInternal.
552 (IPostBackEventHandler.RaisePostBackEvent): same.
554 * HtmlImage.cs (Align): the test case shows that we don't need to
557 2005-09-01 Sebastien Pouliot <sebastien@ximian.com>
559 * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
560 HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
561 HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
562 HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
563 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
564 HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
565 HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
566 HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
567 HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
568 attributes AspNetHostingPermission for Minimal level on all classes
569 (LinkDemand) and for non-sealed classes (InheritanceDemand).
571 2005-08-29 Chris Toshok <toshok@ximian.com>
573 * System.Web.UI.HtmlControls/HtmlTableCell.cs,
574 System.Web.UI.HtmlControls/HtmlInputFile.cs,
575 System.Web.UI.HtmlControls/HtmlForm.cs,
576 System.Web.UI.HtmlControls/HtmlInputText.cs,
577 System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
578 System.Web.UI.HtmlControls/HtmlAnchor.cs,
579 System.Web.UI.HtmlControls/HtmlButton.cs,
580 System.Web.UI.HtmlControls/HtmlTextArea.cs,
581 System.Web.UI.HtmlControls/HtmlGenericControl.cs,
582 System.Web.UI.HtmlControls/HtmlSelect.cs,
583 System.Web.UI.HtmlControls/HtmlTableRow.cs,
584 System.Web.UI.HtmlControls/HtmlControl.cs,
585 System.Web.UI.HtmlControls/HtmlImage.cs,
586 System.Web.UI.HtmlControls/HtmlTable.cs,
587 System.Web.UI.HtmlControls/HtmlInputButton.cs,
588 System.Web.UI.HtmlControls/HtmlInputControl.cs,
589 System.Web.UI.HtmlControls/HtmlInputImage.cs,
590 System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
591 System.Web.UI.HtmlControls/HtmlInputHidden.cs,
592 System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
595 2005-08-29 Chris Toshok <toshok@ximian.com>
597 * HtmlInputSubmit.cs: new implementation.
599 * HtmlInputReset.cs (ValidationGroup): implement
601 * HtmlInputButton.cs (ValidationGroup): implement.
603 2005-08-29 Chris Toshok <toshok@ximian.com>
605 * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
609 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
611 * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
612 but not used. Call ResolveUrl when rendering the attributes instead.
614 2005-08-28 Chris Toshok <toshok@ximian.com>
616 * HtmlHeadBuilder.cs: this is public.
618 * HtmlSelectBuilder.cs: in 2.0 this is public.
620 * HtmlInputButton.cs: fix boilerplate.
622 * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
623 (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
624 Page.Validation(ValidationGroup).
626 2005-08-28 Chris Toshok <toshok@ximian.com>
628 * HtmlInputReset.cs: mostly complete implementation.
630 2005-08-28 Chris Toshok <toshok@ximian.com>
632 * HtmlInputPassword.cs: doh, make this NET_2_0 only.
634 2005-08-28 Chris Toshok <toshok@ximian.com>
636 * HtmlInputPassword.cs: implement.
638 2005-08-28 Chris Toshok <toshok@ximian.com>
640 * HtmlImage.cs: corcompare fixes.
642 * HtmlInputCheckBox.cs: same.
644 2005-08-27 Chris Toshok <toshok@ximian.com>
646 * HtmlControl.cs (GetAttribute, SetAttribute): implement.
648 2005-08-27 Chris Toshok <toshok@ximian.com>
650 * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
651 (OnPreRender): figure out (hackishly) if we're uplevel rendering.
652 If we have a default button/focus control set, register webform.js
653 as a client script block, and emit some JS to focus the control.
654 (RenderAttributes): verify that the DefaultButton attribute points
655 to a valid IButtonControl implementing control. Also remove the
656 defaultfocus/defaultbutton attributes before calling
657 base.RenderAttributes.
659 2005-08-27 Kornél Pál <kornelpal@hotmail.com>
661 * HtmlTableCell.cs: Fixed to use Consts.
663 2005-08-26 Chris Toshok <toshok@ximian.com>
665 * HtmlButton.cs (ValidationGroup): implement.
666 (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
667 one body of the actual RaisePostBackEvent code. Also, call
668 Page.Validate(ValidationGroup) in the 2.0 case.
670 2005-08-25 Miguel de Icaza <miguel@novell.com>
672 * HtmlHead.cs: Implement constructor, pass the tag.
674 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
676 * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
678 2005-08-25 Chris Toshok <toshok@ximian.com>
680 * HtmlForm.cs (CreateControlCollection, OnPreRender,
681 RenderControl): implement naively, just calling base.Method.
683 2005-08-25 Chris Toshok <toshok@ximian.com>
685 * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
686 the last '/' when rendering the action. Fixes comments in
689 2005-08-24 Chris Toshok <toshok@ximian.com>
691 * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
692 HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
693 HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
694 Add MonoTODO's for all NotImplementedException's.
696 2005-08-18 Dick Porter <dick@ximian.com>
698 * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
699 HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
700 HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
701 HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
702 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
703 HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
705 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
707 * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
708 Load method (bad choice) to DefaultLoadPostData.
710 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
712 * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
713 * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
714 method. Fixed support for protected LoadPostData and
715 RaisePostDataChangedEvent in 2.0 (recursion).
716 * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
717 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
718 * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
719 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
721 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
723 * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
724 for 2.0 profile. The class seems to be internal and not (yet?)
727 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
729 * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
730 * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
731 (at least) HtmlInputControl in 2.0 profile.
732 * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
733 * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
735 2005-08-09 Dick Porter <dick@ximian.com>
737 * HtmlSelect.cs: Clear databindings when adding a new one; cope
738 with assorted combinations of empty text and value fields; write
739 <option> tags manually to match ms HTML output. All fix nunit
742 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
744 * HtmlInputControl.cs: Remove code to handle password (wrong place)
745 and fixed type handling for 2.0.
746 * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
747 the type == password. Tests indicates that the value is present for
750 2005-08-05 Dick Porter <dick@ximian.com>
752 * HtmlSelect.cs: Fix databinding when one or other of Name and
753 Value aren't supplied (thanks to Peter for the patch); Make
754 <option> indenting match ms output.
756 2005-07-30 Ben Maurer <bmaurer@ximian.com>
758 * HtmlForm.cs: Make sure we actually put the "?" in the url
760 2005-07-29 Dick Porter <dick@ximian.com>
762 * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
763 instead of building the query string by hand
765 2005-07-27 Dick Porter <dick@ximian.com>
767 * HtmlInputCheckBox.cs: New implementation
769 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
771 * HtmlSelect.cs: Added missing attributes
773 2005-07-26 Dick Porter <dick@ximian.com>
775 * HtmlSelect.cs: New implementation
777 2005-07-26 Miguel de Icaza <miguel@novell.com>
779 * HtmlForm.cs: It is possible to have keys with no values in the
780 query string, do not try to process those on the foreach loop.
782 The question is: what should happen if I only get the key?
784 Example: file_with_a_form.aspx?a
786 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
788 * HtmlForml.cs: Implemented UniqueID (new in sp1)
789 * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
791 2005-07-24 Dick Porter <dick@ximian.com>
793 * HtmlForm.cs: Add the trailing query string to the form action;
794 fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
796 2005-07-22 Dick Porter <dick@ximian.com>
798 * HtmlInputFile.cs: Add assembly attributes
800 2005-07-21 Dick Porter <dick@ximian.com>
802 * HtmlImage.cs: The src attribute needs to be a relative URL;
803 close the HTML element when rendering attributes, to match the MS
806 * HtmlForm.cs: Added assembly attributes; don't render ID twice;
807 don't render enctype and target if they are empty strings;
808 implement a Render overload to keep corcompare quiet.
810 2005-07-20 Chris Toshok <toshok@ximian.com>
812 * HtmlForm.cs (RenderAttributes): if there are submit statements,
813 we need to render those.
815 * HtmlInputImage.cs: same.
817 * HtmlInputButton.cs: hook up the client validation stuff.
819 * HtmlButton.cs: same, except a lot more complicated due to
822 2005-07-19 Dick Porter <dick@ximian.com>
824 * HtmlImage.cs: Added attributes; use Int32.Parse instead of
827 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
829 * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
830 ControlID for Name (and not ID). Added ControlBuilder attribute.
831 * HtmlTable.cs: Simplify check when adding controls.
832 * HtmlTableRow.cs: Simplify check when adding controls.
834 2005-07-18 Jackson Harper <jackson@ximian.com>
836 * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
839 2005-07-15 Jackson Harper <jackson@ximian.com>
841 * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
842 constant. Update fetching from viewstate code to use new
845 2005-07-15 Jackson Harper <jackson@ximian.com>
847 * HtmlInputButton.cs: Add DefaultEventAttribute.
849 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
851 * HtmlInputControl.cs: Removed internal property (no more required to
853 * HtmlInputRadioButton.cs: Optimized events.
854 * HtmlInputText.cs: Optimized events.
855 * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
857 * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
859 * HtmlTextArea.cs: Optimized events.
861 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
863 * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
864 result) and fixed compatibility for a weird behaviour of the HRef
865 attribute handling. Optimized events.
867 2005-07-14 Jackson Harper <jackson@ximian.com>
869 * HtmlInputButton.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 Jackson Harper <jackson@ximian.com>
875 * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
876 string constant. Use new method for accessing ViewState
877 data. Don't remove value from the view state if it is the default.
879 2005-07-14 Dick Porter <dick@ximian.com>
881 * HtmlInputFile.cs: New implementation
883 2005-07-14 Jackson Harper <jackson@ximian.com>
885 * HtmlInputControl.cs: Use ClientID for input controls name.
887 2005-07-14 Dick Porter <dick@ximian.com>
889 * HtmlForm.cs: New Implementation
891 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
893 * HtmlTable.cs: Added missing attributes.
894 * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
895 as the builder's type isn't public.
896 * HtmlInputControl.cs: Added missing attributes.
897 * HtmlInputText.cs: Added missing attributes.
898 * HtmlInputRadioButton.cs: Added missing attributes.
899 * HtmlAnchor.cs: Added missing attributes.
900 * HtmlTextArea.cs: Added missing attributes.
901 * HtmlTableRow.cs: Added missing attributes.
903 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
905 * HtmlAnchor.cs: Added DefaultValue attributes.
906 * HtmlInputControl.cs: Added DefaultValue attributes.
907 * HtmlInputRadioButton.cs: Added DefaultValue attributes.
908 * HtmlInputText.cs: Added DefaultValue attributes. Added method
909 RenderAttributes in 1.1 profile.
910 * HtmlTable.cs: Fix DefaultValue to "".
911 * HtmlTextArea.cs: Added DefaultValue attributes.
913 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
915 * HtmlTableCell.cs: Added DefaultValue attributes.
916 * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
917 * HtmlTableRowCollection.cs: Reworked collection to share data with
919 * HtmlTableCellCollection.cs: Reworked collection to share data with
920 HtmlTableRow.Controls.
921 * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
923 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
925 * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
927 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
929 * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
931 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
933 * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
935 * HtmlTextArea.cs: New implementation.
937 2005-07-07 Jackson Harper <jackson@ximian.com>
939 * HtmlInputImage.cs: New implementation.
941 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
943 * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
944 * HtmlInputControl.cs: New implementation.
945 * HtmlInputRadioButton.cs: New implementation.
946 * HtmlInputText.cs: New implementation.
948 2005-07-07 Jackson Harper <jackson@ximian.com>
950 * HtmlInputHidden.cs: New implementation.
952 2005-07-07 Jackson Harper <jackson@ximian.com>
954 * HtmlAnchor.cs: Call base OnPreRender from override.
956 2005-07-07 Jackson Harper <jackson@ximian.com>
958 * HtmlInputButton.cs: New implementation.
960 2005-07-07 Dick Porter <dick@ximian.com>
962 * HtmlImage.cs: New implementation
964 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
966 * HtmlAnchor.cs: Fixed to remove attributes properly.
967 * HtmlTable.cs: New implementation.
968 * HtmlTableCell.cs: New implementation.
969 * HtmlTableCellCollection.cs: New implementation.
970 * HtmlTableRow.cs: New implementation.
971 * HtmlTableRowCollection.cs: New implementation.
973 2005-07-06 Jackson Harper <jackson@ximian.com>
975 * HtmlButton.cs: New implementation.
977 2005-07-06 Sebastien Pouliot <sebastien@ximian.com>
979 * HtmlAnchor.cs: New implementation.
981 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
984 * HtmlControl.cs: updates for 1.1 SP1.
986 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
988 * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
991 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
993 * HtmlHead.cs: Fix warning.
995 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
997 * HtmlForm.cs: Use the new WriteSubmitStatements method from
1000 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
1002 * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
1003 Page.GetPostBackClientEvent since it is deprecated in 2.0.
1005 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
1007 * HtmlForm.cs: Register the form in the page, so the page knows
1008 which is the main form.
1010 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
1012 * HtmlHead.cs: Method name fix.
1014 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1016 * HtmlForm.cs: submitStatements holds Hashtables.
1018 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
1020 * HtmlHead.cs: Implemented.
1021 * HtmlHeadBuilder.cs: Implemented.
1022 * HtmlTitle.cs: Implemented.
1024 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1026 * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
1028 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1030 * HtmlForm.cs: fixed the Action property when running a different
1031 page than the one requested (Transfer). Closes bug #69318.
1033 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
1035 * HtmlForm.cs: Add submit statements from the new Page.ClientScript
1038 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1040 * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
1041 it and failed when the browser was IE.
1043 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1045 * HtmlForm.cs: default value for Enctype is "".
1046 * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
1047 we set it to "multipart/form-data". Fixes bug #58359.
1049 2004-01-15 Alon Gazit <along@mainsoft.com>
1050 * HtmlForm.cs: The property name always return the value of the
1053 2003-12-28 Alon Gazit <along@mainsoft.com>
1054 * HtmlSelect.cs: fix typo in LoadPostData().
1056 2003-12-29 Alon Gazit <along@mainsoft.com>
1057 * HtmlInputButton.cs: update the implementation of RenderAttributes().
1058 Change the if statement that determines if the onclick script is
1061 2003-12-28 Alon Gazit <along@mainsoft.com>
1062 * HtmlSelect.cs: add parentheses to if statement.
1063 Currently the else statement refers to the inner if statement.
1065 2003-12-28 Alon Gazit <along@mainsoft.com>
1066 * HtmlSelect.cs: fix upper bound of for statement.
1068 2003-12-19 Jackson Harper <jackson@ximian.com>
1070 * HtmlInputFile.cs: Do not set value when loading post data.
1072 2003-12-14 Alon Gazit <along@mainsoft.com>
1073 * HtmlInputButton.cs: The problem was in RenderAttributes().
1074 Before adding the script to the HTML, the number of Validators should
1075 be checked. fixes bug #52158.
1077 2003-12-07 Alon Gazit <along@mainsoft.com>
1078 * HtmlTableCell.cs: fixing a typo in NoWrap property.
1080 2003-12-04 Jackson Harper <jackson@ximian.com>
1082 * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
1083 value. This is because radio button groups are created by setting
1084 the name to the same value with each button, then on postback the
1085 value of the name is the id of the selected radio button.
1087 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1089 * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
1091 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1093 * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
1094 remove the code used to workaround that.
1096 2003-12-01 Jackson Harper <jackson@ximian.com>
1098 * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
1099 <along@mainsoft.com>.
1101 2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1103 * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
1104 <along@mainsoft.com>. Fixes bug #51377.
1106 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1108 * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
1109 <along@mainsoft.com>.
1111 2003-10-29 Jackson Harper <jackson@ximian.com>
1113 * HtmlControl.cs: Make disabled an attribute of the control so it
1114 is rendered. This is a slightly modifed version of a patch
1115 by Yaron Shkop. Fixes bug #50160.
1117 2003-10-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1119 * HtmlTextArea.cs: fixed infinite recursion.
1121 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1123 * HtmlForm.cs: render the onsubmit attribute.
1125 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1127 * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
1128 need to pass true here. Fixes bug #47918.
1130 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1132 * HtmlContainerControl.cs: Added attributes
1133 * HtmlControl.cs: Added attributes
1134 * HtmlInputControl.cs: Fixed public signature
1135 * HtmlInputRadioButton.cs: Fixed public signature
1136 * HtmlSelect.cs: Added missing attribute
1137 * HtmlTable.cs: Added missing attribute
1139 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1141 * HtmlSelect.cs: fixed bug #44894.
1143 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1146 * HtmlInputControl.cs:
1147 * HtmlSelect.cs: added control builder attribute.
1149 * HtmlSelectBuilder.cs: builder for HtmlSelect.
1151 * HtmlControlBuilder.cs: common builder for all HtmlControls.
1153 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1155 * HtmlControl.cs: _tagName is now internal.
1156 * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
1159 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1161 * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
1163 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1165 * HtmlInputButton.cs: fixed bug #35677.
1167 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1169 * HtmlInputControl.cs: fixed bug #35673.
1171 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1173 * HtmlInputText.cs: fixed bug #35670.
1175 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1177 * HtmlSelect.cs: fixed LoadViewstate.
1179 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1181 * HtmlButton.cs: make it do a POST if the button has any ServerClick
1184 2002-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1188 * HtmlContainerControl.cs:
1191 * HtmlGenericControl.cs:
1193 * HtmlInputButton.cs:
1194 * HtmlInputCheckBox.cs:
1195 * HtmlInputControl.cs:
1197 * HtmlInputHidden.cs:
1198 * HtmlInputImage.cs:
1199 * HtmlInputRadioButton.cs:
1205 * HtmlTextArea.cs: added almost all missing attributes.
1207 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1209 * HtmlControl.cs: the attributes must use ViewState as its StateBag,
1210 if not style values are lost between postbacks.
1212 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1216 * HtmlInputButton.cs:
1217 * HtmlInputCheckBox.cs:
1218 * HtmlInputHidden.cs:
1219 * HtmlInputImage.cs:
1221 * HtmlTextArea.cs: Initialize EventHandlerList indexer.
1223 * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
1224 instead of maintaining some flags and strings. Implemented
1227 * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
1229 * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
1232 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1234 * HtmlGenericControl.cs: fixed TagName signature and get/set.
1235 * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
1236 * HtmlInputText.cs: added attribute.
1238 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1240 * HtmlForm.cs: don't render action attribute.
1242 2002-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1244 * HtmlContainerControl.cs:
1245 (CreateControlCollection): added. All containers must have a non-empty
1248 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1250 * System.Web.UI.HtmlControls/HtmlAnchor.cs:
1251 * System.Web.UI.HtmlControls/HtmlButton.cs:
1252 * System.Web.UI.HtmlControls/HtmlControl.cs:
1253 * System.Web.UI.HtmlControls/HtmlForm.cs:
1254 * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
1255 * System.Web.UI.HtmlControls/HtmlInputButton.cs:
1256 * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
1257 * System.Web.UI.HtmlControls/HtmlInputControl.cs:
1258 * System.Web.UI.HtmlControls/HtmlInputFile.cs:
1259 * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
1260 * System.Web.UI.HtmlControls/HtmlInputImage.cs:
1261 * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
1262 * System.Web.UI.HtmlControls/HtmlInputText.cs:
1263 * System.Web.UI.HtmlControls/HtmlSelect.cs:
1264 * System.Web.UI.HtmlControls/HtmlTable.cs:
1265 * System.Web.UI.HtmlControls/HtmlTableCell.cs:
1266 * System.Web.UI.HtmlControls/HtmlTableRow.cs:
1267 * System.Web.UI.HtmlControls/HtmlTextArea.cs:
1269 Fixes based on class status page:
1271 - Add attributes (DefaultEvent, ParseChildren).
1273 - Explicitly implement some interfaces (IPostBackDataHandler
1274 and IPostBackEventHandler).
1275 - Implemented some missing methods.
1277 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1280 (RenderChildren): use OnFormRender and OnFormPostRender.
1282 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1285 (RenderAttributes): new -> override and fixes stack overflow.
1286 (RenderChildren): only 1 option can be selected at any given time
1287 except when Multiple property is true.
1288 (Multiple): the attribute value is either "true" or "false", not
1293 (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
1296 (RenderEndTag): new -> override.
1299 (RenderChildren): fixed another stack overflow.
1300 (RenderEndTag): new -> override.
1303 (RenderAttributes): new -> override.
1306 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1308 * HtmlInputHidden.cs: fixed constructor.
1310 * HtmlInputRadioButton.cs:
1311 (RenderAttributes): fixed stack overflow.
1314 (RenderedName): new -> override.
1316 (Value): new property.
1319 (RenderAttributes): fixed the same kind of stack overflow and make
1320 string comparison case insensitive.
1322 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1324 * HtmlForm.cs: fixed name of Enctype property and render enctype
1327 * HtmlInputControl.cs: tag type is "input", not "type".
1329 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1331 * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
1334 * HtmlForm.cs: Render output when no IE browser.
1336 * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
1337 though now it always use the other .ctor.
1339 * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
1341 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1343 * HtmlButton.cs: RenderAttributes is an override, not new.
1345 * HtmlContainerControl.cs: use the new Render method in HtmlControl.
1347 * HtmlControl.cs: added Render method to render the tag and its
1348 attributes. Works for container and non-containers.
1350 * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
1353 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1355 * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
1356 instead of Page.Server to encode InnerText.
1358 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1361 (RenderAttributes): new -> override and fixed little bug that made
1362 it cause an stack overflow.
1364 * HtmlContainerControl.cs: reformatted and added tag and attributes
1367 * HtmlGenericControl.cs: removed TagName, which is already in
1371 (RenderEndTag): new -> override.
1373 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1375 * System.Web.UI.HtmlControls/HtmlForm.cs:
1376 (RenderAttributes): changed new by override.
1377 (Name): allow setting the property.
1379 2002-05-10 Duncan Mak <duncan@ximian.com>
1381 * HtmlTableCellCollection.cs (this): Updated the indexer to return
1382 the right type, HtmlTableCell instead of HtmlTableRow.
1384 * HtmlInputImage.cs (OnServerClick): Commented out parts that
1387 * HtmlForm.cs (RenderAttributes):
1388 (RenderChildren): Commented out code that doesn't compile.
1390 2002-05-07 Duncan Mak <duncan@ximian.com>
1392 * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
1393 clashing with the method defined in the parent class.
1394 (OnDataBinding): Added missing casts.
1396 * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
1397 'this' to IAttributeAccessor before calling interface method.
1398 Also renamed some calls to reflect changes in the API.
1400 * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
1403 2001-09-03 Leen Toelen <toelen@hotmail.com>
1405 * HtmlAnchor.cs: Initial implementation.
1406 * HtmlTextArea.cs: Initial implementation.
1408 2001-08-22 Bob Smith <bob@thestuff.net>
1410 * HtmlContainerControl.cs: Initial implementation.
1411 * HtmlControl.cs: Initial implementation.
1412 * HtmlGenericControl.cs: Initial implementation.