1 2009-11-13 Marek Habersack <mhabersack@novell.com>
3 * HtmlForm.cs: reverted part of the previous patch - action is not
4 set to the result of calling ResolveClientUrl(action)
5 anymore. Fixes bug #554324
7 2009-10-30 Marek Habersack <mhabersack@novell.com>
9 * HtmlForm.cs: action is built using Request.ClientFilePath
10 (instead of Request.FilePath) and ResolveClientUrl, so that it's
11 correct even if url rewriting is being used.
13 2009-09-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
15 * HtmlSelectBuilder.cs: <option> allows the value of the 'selected'
16 attribute to be a boolean or the string "selected", which is treated
19 2009-06-16 Marek Habersack <mhabersack@novell.com>
21 * HtmlHeadBuilder.cs: use faster String.Compare overloads.
23 * HtmlHead.cs: implemented 4.0 properties Description and
26 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
28 * HtmlTitle.cs: HtmlTitle allows children that are not
29 LiteralControls. Fixes bug #511882.
31 2009-05-15 Marek Habersack <mhabersack@novell.com>
33 * HtmlForm.cs: if application isn't running on /, make sure we
34 generate the correct relative path for the action form attribute.
36 2009-04-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
38 * HtmlInputText.cs: make sure we're inside a Page before dereferencing
41 2008-11-06 Marek Habersack <mhabersack@novell.com>
43 * HtmlForm.cs: added the undocumented, but supported, Action
44 attribute. Fixes bug #442104
46 2008-10-17 Marek Habersack <mhabersack@novell.com>
48 * HtmlInputHidden.cs: validate the event in LoadPostDataInternal.
50 * HtmlInputButton.cs: validate the event in
51 RaisePostBackEventInternal ().
52 Register for event validation in RenderAttributes ()
54 * HtmlTextArea.cs: validate the event in
55 RaisePostBackDataChangedEvent ().
57 * HtmlButton.cs: validate the event in RaisePostBackEvent ().
58 Register for event validation in RenderAttributes ()
60 * HtmlAnchor.cs: validate the event in RaisePostBackEvent ().
61 Register for event validation in RenderAttributes ().
63 * HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in
66 * HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs,
67 HtmlInputPassword.cs: validate the event in
68 RaisePostDataChangedEvent ().
70 2008-10-07 Christian Hergert <christian.hergert@gmail.com>
72 * HtmlImage.cs: Do not render the src attribute if it is null or empty.
73 An empty src attribute makes browsers download the current page url as
76 2008-08-29 Marek Habersack <mhabersack@novell.com>
78 * HtmlHead.cs: call base.OnInit ()
79 If Page is null, throw an exception.
81 2008-07-25 Dean Brettle <dean@brettle.com>
83 * HtmlControl.cs (PreProcessRelativeReference),
84 HtmlForm.cs (RenderAttributes), HtmlInputButton (RenderAttributes),
85 HtmlInputRadioButton (RenderAttributes), HtmlSelect (RenderChildren):
86 Encode attributes that could contain HTML special chars.
88 * HtmlSelect (RenderChildren): HTML-encode option text.
90 2008-06-30 Marek Habersack <mhabersack@novell.com>
92 * HtmlForm.cs: hush the warnings
94 2008-06-08 Gert Driesen <drieseng@users.sourceforge.net>
96 * HtmlAnchor.cs: Do not render empty name, target or title attribute.
97 Removed extra check for target attribute in RenderAttributes. Use
98 string.Empty instead of "", and check string's Length instead of
99 comparison with "" or string.Empty. Minor code formatting.
101 2008-06-04 Juraj Skripksy <js@hotfeet.ch>
103 * HtmlAnchor.cs (Render): Add missing call to
104 ClientScriptManager.RegisterForEventValidation. Fixes bug #397142.
106 2008-06-04 Juraj Skripsky <js@hotfeet.ch>
108 * HtmlAnchor.cs: Do not render an empty href attribute.
111 2008-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
113 * HtmlForm.cs: fixed action attribute in RenderAttributes under
116 2008-02-06 Marek Habersack <mhabersack@novell.com>
118 * HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
119 mode. Fixes bug #354425
121 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
123 * HtmlSelect.cs: refactoring.
125 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
127 * HtmlSelect.cs: fix databinding (only 2.0), state management.
129 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
131 * HtmlSelect.cs: Fix infinite recursion (only in 2.0) found using
134 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
136 * HtmlForm.cs: refactoring.
138 2007-12-13 Marek Habersack <mhabersack@novell.com>
140 * HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
141 instead of String.Format in some cases.
143 2007-11-07 Juraj Skripsky <js@hotfeet.ch>
145 * HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
146 Fixes bug #339426 for master pages.
148 2007-11-06 Marek Habersack <mhabersack@novell.com>
150 * HtmlForm.cs: a small DetermineRenderUplevel optimization - the
151 result is now cached in a nullable boolean variable.
152 Render the 'onkeypress' attribute if DefaultButton is used. Fixes
155 2007-08-27 Marek Habersack <mhabersack@novell.com>
157 * HtmlForm.cs: make sure the ID is set before HtmlControls renders
158 the attributes. Fixes bug #82596
160 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
162 * HtmlHead.cs: refactoring, used AddAttribute overload without encoding
163 on known attribute values
165 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
167 * HtmlControl.cs: fixed PreProcessRelativeReference, should be used
170 2007-07-16 Marek Habersack <mhabersack@novell.com>
172 * HtmlHeadBuilder.cs: the <meta> tag should be supported as well.
174 * HtmlTitle.cs: if the tag has any children, or the render method
175 delegate has been defined, render the children. Output the
176 contents of Text otherwise. Fixes bug #82102
178 2007-05-08 Marek Habersack <mhabersack@novell.com>
180 * HtmlInputButton.cs: button of type 'reset' does not invoke
182 'reset' buttons clear all the controls in the form to their
185 2007-05-04 Marek Habersack <mhabersack@novell.com>
187 * HtmlAnchor.cs: use ResolveClientUrl when generating
188 attributes. Necessary if the control is in a master page which is
189 in a different directory than the current page.
191 2007-05-01 Marek Habersack <mhabersack@novell.com>
193 * HtmlForm.cs: do not use User-Agent directly, we must take
194 ClientTarget into account.
196 2007-04-27 Marek Habersack <mhabersack@novell.com>
198 * HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
199 paths that might happen in them.
201 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
203 * HtmlForm.cs: for TARGET_J2EE:
204 used Page.Request.Browser to determine RenderUplevel
206 2007-04-17 Marek Habersack <mhabersack@novell.com>
208 * HtmlForm.cs: use the new uplevel browser detection code.
210 2007-04-11 Marek Habersack <mhabersack@novell.com>
212 * HtmlInputHidden.cs:
219 * HtmlInputCheckBox.cs:
220 * HtmlInputRadioButton.cs:
221 * HtmlInputImage.cs: do not register the control for post back
222 processing or if it's disabled.
224 2007-04-06 Marek Habersack <mhabersack@novell.com>
226 * HtmlForm.cs: render the 'name' attribute only when in non-xhtml
229 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
231 * HtmlInputCheckBox.cs:
232 * HtmlInputControl.cs:
233 * HtmlInputHidden.cs:
234 * HtmlInputRadioButton.cs:
238 fixed: Form.SubmitDisabledControls feature:
239 not all HtmlInputControl need to be reenabled on client.
241 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
243 * HtmlForm.cs: Under TARGET_J2EE use Page.RenderResponse instead of
246 2007-01-20 Miguel de Icaza <miguel@novell.com>
248 * HtmlHead.cs: comment out unused code, in particular metadata is
249 commented out because nothing could have triggered its creation.
251 * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
253 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
255 * HtmlLink.cs: fixed RenderAttributes, href should be resolved
257 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
259 * HtmlForm.cs, HtmlAnchor.cs: Added J2EE Portal support for TARGET_J2EE.
261 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
263 * HtmlInputImage.cs: to handle correctly relative URLs to the image.
265 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
267 * HtmlInputRadioButton.cs: fixed: LoadPostData.
269 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
271 * HtmlImputImage.cs: fixed: OnServerClick.
273 2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
275 * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
278 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
280 * HtmlForm.cs: refactoring: Registering of client scripts
283 2006-11-17 Marek Habersack <grendello@gmail.com>
285 * HtmlInputHidden.cs: Added support for event validation.
287 * HtmlInputCheckBox.cs: Added support for event validation.
289 * HtmlInputImage.cs: Added support for event validation.
291 * HtmlInputButton.cs: Added support for event validation.
293 * HtmlSelect.cs: Added support for event validation.
295 * HtmlTextArea.cs: Added support for event validation.
297 * HtmlButton.cs: Added support for event validation.
299 * HtmlInputRadioButton.cs: Added support for event validation.
301 * HtmlInputText.cs: Added support for event validation.
303 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
305 * HtmlContainerControl.cs: fixed: InnerHtml property
307 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
310 HtmlTitle control is created if it was not declared in .aspx
312 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
315 make rendering of the onclick attribute to consider ValidationGroup property
317 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
320 make rendering of the onclick attribute to consider ValidationGroup property
322 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
324 * HtmlInputButton.cs:
325 make rendering of the onclick attribute to consider ValidationGroup property
327 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
330 implemented CausesValidation and ValidationGroup properties
332 2006-09-10 Vladimir Krasnov <vladimirk@mainsoft.com>
334 * HtmlInputFile.cs: fixed Value property
336 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
338 * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.
340 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
343 * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant
346 2006-07-12 Andrew Skiba <andrews@mainsoft.com>
348 * HtmlInputControl.cs: remove obsolete #if NET_2_0
350 2006-06-06 Juraj Skripsky <js@hotfeet.ch>
352 * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
355 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
357 * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
360 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
362 * HtmlInputRadioButton.cs: Value returns the ID only when there's no
363 "value" set. Fixes bug #78101.
365 2006-03-19 Vladimir Krasnov <vladimirk@mainsoft.com>
367 * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty
368 it shouldn't be rendered
369 * HtmlForm.cs: fixed Method, default method "post" should be added if
370 its value null or empty string
371 * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null
372 value, the fix is to remove attributes with empty string value too
374 2006-02-23 Chris Toshok <toshok@ximian.com>
376 * HtmlButton.cs: fix corcompare output.
378 * HtmlInputButton.cs: same.
380 * HtmlInputImage.cs: same.
382 * HtmlInputReset.cs: same.
384 2006-01-22 Chris Toshok <toshok@ximian.com>
386 * HtmlInputButton.cs:
387 s/GetPostBackClientEvent/GetPostBackEventReference.
389 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
391 * HtmlTableRow.cs: Cells is virtual in latest 1.1.
393 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
395 * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
397 * HtmlTable.cs: moved WriteLine around.
399 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
401 * HtmlForm.cs: more class-status fixes.
403 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
405 * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
407 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
409 * HtmlTable.cs: use the base class RenderChildren, as '_rows'
410 might not be the actual collection being used. Fixes bug #76815.
412 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
414 * HtmlInputFile.cs: if no one else set the encoding type for the
415 containing form and there's a HtmlInputFile, set Enctype to
416 'multipart/form-data'. Fixes bug #76837.
418 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
420 * HtmlInputButton.cs: render the onclick attribute only when the
421 button is a 'submit' and no validators or when the button is a
422 'button' and there's a registered ServerClick event. Fixes bug #76781.
424 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
426 * HtmlForm.cs: register the form and require viewstate hidden field to
427 be rendered in Render() even if OnInit is not called.
429 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
431 * HtmlHead.cs: fix the 2.0 build.
433 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
435 * HtmlForm.cs: when transfering from one page to another and using
436 cookieless session, we were doing pretty bad. Now, if the current path
437 and the original are the same, we just use the filename. Otherwise
438 we make the action location be relative to the original URL.
440 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
442 * HtmlInputButton.cs: render the onclick for doing a postback even when
443 there are no validators.
445 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
447 * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
449 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
451 * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
452 [UrlProperty] on HRef property for 2.0.
453 * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
454 * HtmlHead.cs: Remove IPageHeader interface.
455 * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
456 * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
457 * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
458 * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
459 * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
460 [UrlProperty] on Src property for 2.0.
461 * HtmlInputPassword.cs: Added [SupportsEventValidation].
462 * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
463 * HtmlInputReset.cs: Added [SupportsEventValidation].
464 * HtmlInputSubmit.cs: Added [SupportsEventValidation].
465 * HtmlInputText.cs: Added [SupportsEventValidation] on class and
466 re-enabled RenderAttribute for 2.0.
467 * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
468 * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
469 * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
471 2005-09-18 Chris Toshok <toshok@ximian.com>
473 * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
474 instead of AddAttribute when dealing with "onclick."
476 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
478 * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
480 2005-09-11 Chris Toshok <toshok@ximian.com>
482 * HtmlInputFile.cs (set_Value): add a message to the
483 NotSupportedException.
485 * HtmlInputControl.cs (RenderAttributes): add Page != null to the
486 checks before we register our control with the
487 __enabledControlArray JS array.
489 2005-09-09 Chris Toshok <toshok@ximian.com>
491 * HtmlInputButton.cs (CausesValidation): this is stored in
492 Attributes, not ViewState.
493 (ValidationGroup): same.
494 (RenderAttributes): remove CausesValidation from the list of
495 Attributes before calling base.RenderAttributes. Don't, however,
496 remove ValidationGroup, to replicate an MS bug.
498 2005-09-07 Chris Toshok <toshok@ximian.com>
500 * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
501 (Name): not sure about this property.. the getter apparently just
502 returns UniqueID, and the setter does nothing that I can figure
504 (RenderAttributes): don't bother to remove "name", since it's not
505 in the attributes anyway.
507 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
509 * HtmlInputControl.cs: use the Name property instead of the ClientID.
510 The 'name' attribute rendered contains colons if inside a
513 2005-09-07 Chris Toshok <toshok@ximian.com>
515 * HtmlInputCheckBox.cs (Checked): uncomment the
516 MinimizableAttributeTypeConverter attribute.
518 * HtmlControl.cs (Disabled): uncomment the
519 MinimizableAttributeTypeConverter attribute.
521 * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
523 * HtmlTableCell.cs (NoWrap): uncomment the
524 MinimizableAttributeTypeConverter attribute.
526 * HtmlLink.cs (Href): remove the MonoTODO.
528 * HtmlMeta.cs (Name): remove the MonoTODO.
530 (Render): add (pretty bogus, really..) implementation. not sure
531 why we need this one.
533 2005-09-06 Chris Toshok <toshok@ximian.com>
535 * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
538 2005-09-06 Chris Toshok <toshok@ximian.com>
540 * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
543 2005-09-06 Chris Toshok <toshok@ximian.com>
545 * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
546 (AddedControl): move the HtmlTitle logic here.
547 (RemovedControl): clear out the title if that was the control that
550 * HtmlLink.cs: new implementation.
552 * HtmlMeta.cs: new implementation.
554 2005-09-06 Chris Toshok <toshok@ximian.com>
556 * HtmlInputControl.cs (RenderAttributes): add ourselves to the
557 __enabledControlArray JS array if we're currently enabled and the
558 form is set to SubmitDisabledControls.
560 * HtmlForm.cs (OnInit): call Page.RegisterForm here.
561 (DetermineRenderUplevel): split this out of OnPreRender and make
562 it internal so HtmlInputControl can call it.
563 (OnPreRender): add handling for SubmitDisabledControls.
565 2005-09-05 Chris Toshok <toshok@ximian.com>
567 * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
568 or in the ViewState. where then?
569 (DefaultFocus): this one is stored in the ViewState, not as an
571 (SubmitDisabledControls): implement just as a boolean flag, not in
572 the viewstate or attributes.
573 (RenderAttributes): defaultfocus and defaultbutton are no longer
576 2005-09-04 Chris Toshok <toshok@ximian.com>
578 * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
580 * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
582 * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
584 * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
585 way, and in OnPreRender, call Page.RegisterRequiresPostback.
587 * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
588 and in OnPreRender, call Page.RegisterRequiresPostback.
590 * HtmlInputRadioButton.cs (OnPreRender): call
591 Page.RegisterRequiresPostback.
593 * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
594 Also, in OnPreRender, call Page.RegisterRequiresPostback.
596 * HtmlTextArea.cs (OnPreRender): call
597 Page.RegisterRequiresPostback.
599 2005-09-02 Chris Toshok <toshok@ximian.com>
601 * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
603 2005-09-02 Chris Toshok <toshok@ximian.com>
605 * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
607 * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
608 raisepostdatachangedevent, and raisepostbackevent.
609 (validationgroup): implement.
611 * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
612 and raisepostdatachangedevent.
614 * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
615 and RaisePostDataChangedEvent.
617 * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
618 body of both RaisePostBackEvent impl's here, and fix it up so we
619 use the property Page.Validate call in 2.0.
620 (RaisePostBackEvent): call RaisePostBackEventInternal.
621 (IPostBackEventHandler.RaisePostBackEvent): same.
623 * HtmlImage.cs (Align): the test case shows that we don't need to
626 2005-09-01 Sebastien Pouliot <sebastien@ximian.com>
628 * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
629 HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
630 HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
631 HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
632 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
633 HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
634 HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
635 HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
636 HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
637 attributes AspNetHostingPermission for Minimal level on all classes
638 (LinkDemand) and for non-sealed classes (InheritanceDemand).
640 2005-08-29 Chris Toshok <toshok@ximian.com>
642 * System.Web.UI.HtmlControls/HtmlTableCell.cs,
643 System.Web.UI.HtmlControls/HtmlInputFile.cs,
644 System.Web.UI.HtmlControls/HtmlForm.cs,
645 System.Web.UI.HtmlControls/HtmlInputText.cs,
646 System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
647 System.Web.UI.HtmlControls/HtmlAnchor.cs,
648 System.Web.UI.HtmlControls/HtmlButton.cs,
649 System.Web.UI.HtmlControls/HtmlTextArea.cs,
650 System.Web.UI.HtmlControls/HtmlGenericControl.cs,
651 System.Web.UI.HtmlControls/HtmlSelect.cs,
652 System.Web.UI.HtmlControls/HtmlTableRow.cs,
653 System.Web.UI.HtmlControls/HtmlControl.cs,
654 System.Web.UI.HtmlControls/HtmlImage.cs,
655 System.Web.UI.HtmlControls/HtmlTable.cs,
656 System.Web.UI.HtmlControls/HtmlInputButton.cs,
657 System.Web.UI.HtmlControls/HtmlInputControl.cs,
658 System.Web.UI.HtmlControls/HtmlInputImage.cs,
659 System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
660 System.Web.UI.HtmlControls/HtmlInputHidden.cs,
661 System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
664 2005-08-29 Chris Toshok <toshok@ximian.com>
666 * HtmlInputSubmit.cs: new implementation.
668 * HtmlInputReset.cs (ValidationGroup): implement
670 * HtmlInputButton.cs (ValidationGroup): implement.
672 2005-08-29 Chris Toshok <toshok@ximian.com>
674 * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
678 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
680 * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
681 but not used. Call ResolveUrl when rendering the attributes instead.
683 2005-08-28 Chris Toshok <toshok@ximian.com>
685 * HtmlHeadBuilder.cs: this is public.
687 * HtmlSelectBuilder.cs: in 2.0 this is public.
689 * HtmlInputButton.cs: fix boilerplate.
691 * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
692 (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
693 Page.Validation(ValidationGroup).
695 2005-08-28 Chris Toshok <toshok@ximian.com>
697 * HtmlInputReset.cs: mostly complete implementation.
699 2005-08-28 Chris Toshok <toshok@ximian.com>
701 * HtmlInputPassword.cs: doh, make this NET_2_0 only.
703 2005-08-28 Chris Toshok <toshok@ximian.com>
705 * HtmlInputPassword.cs: implement.
707 2005-08-28 Chris Toshok <toshok@ximian.com>
709 * HtmlImage.cs: corcompare fixes.
711 * HtmlInputCheckBox.cs: same.
713 2005-08-27 Chris Toshok <toshok@ximian.com>
715 * HtmlControl.cs (GetAttribute, SetAttribute): implement.
717 2005-08-27 Chris Toshok <toshok@ximian.com>
719 * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
720 (OnPreRender): figure out (hackishly) if we're uplevel rendering.
721 If we have a default button/focus control set, register webform.js
722 as a client script block, and emit some JS to focus the control.
723 (RenderAttributes): verify that the DefaultButton attribute points
724 to a valid IButtonControl implementing control. Also remove the
725 defaultfocus/defaultbutton attributes before calling
726 base.RenderAttributes.
728 2005-08-27 Kornél Pál <kornelpal@hotmail.com>
730 * HtmlTableCell.cs: Fixed to use Consts.
732 2005-08-26 Chris Toshok <toshok@ximian.com>
734 * HtmlButton.cs (ValidationGroup): implement.
735 (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
736 one body of the actual RaisePostBackEvent code. Also, call
737 Page.Validate(ValidationGroup) in the 2.0 case.
739 2005-08-25 Miguel de Icaza <miguel@novell.com>
741 * HtmlHead.cs: Implement constructor, pass the tag.
743 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
745 * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
747 2005-08-25 Chris Toshok <toshok@ximian.com>
749 * HtmlForm.cs (CreateControlCollection, OnPreRender,
750 RenderControl): implement naively, just calling base.Method.
752 2005-08-25 Chris Toshok <toshok@ximian.com>
754 * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
755 the last '/' when rendering the action. Fixes comments in
758 2005-08-24 Chris Toshok <toshok@ximian.com>
760 * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
761 HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
762 HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
763 Add MonoTODO's for all NotImplementedException's.
765 2005-08-18 Dick Porter <dick@ximian.com>
767 * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
768 HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
769 HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
770 HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
771 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
772 HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
774 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
776 * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
777 Load method (bad choice) to DefaultLoadPostData.
779 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
781 * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
782 * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
783 method. Fixed support for protected LoadPostData and
784 RaisePostDataChangedEvent in 2.0 (recursion).
785 * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
786 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
787 * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
788 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
790 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
792 * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
793 for 2.0 profile. The class seems to be internal and not (yet?)
796 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
798 * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
799 * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
800 (at least) HtmlInputControl in 2.0 profile.
801 * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
802 * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
804 2005-08-09 Dick Porter <dick@ximian.com>
806 * HtmlSelect.cs: Clear databindings when adding a new one; cope
807 with assorted combinations of empty text and value fields; write
808 <option> tags manually to match ms HTML output. All fix nunit
811 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
813 * HtmlInputControl.cs: Remove code to handle password (wrong place)
814 and fixed type handling for 2.0.
815 * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
816 the type == password. Tests indicates that the value is present for
819 2005-08-05 Dick Porter <dick@ximian.com>
821 * HtmlSelect.cs: Fix databinding when one or other of Name and
822 Value aren't supplied (thanks to Peter for the patch); Make
823 <option> indenting match ms output.
825 2005-07-30 Ben Maurer <bmaurer@ximian.com>
827 * HtmlForm.cs: Make sure we actually put the "?" in the url
829 2005-07-29 Dick Porter <dick@ximian.com>
831 * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
832 instead of building the query string by hand
834 2005-07-27 Dick Porter <dick@ximian.com>
836 * HtmlInputCheckBox.cs: New implementation
838 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
840 * HtmlSelect.cs: Added missing attributes
842 2005-07-26 Dick Porter <dick@ximian.com>
844 * HtmlSelect.cs: New implementation
846 2005-07-26 Miguel de Icaza <miguel@novell.com>
848 * HtmlForm.cs: It is possible to have keys with no values in the
849 query string, do not try to process those on the foreach loop.
851 The question is: what should happen if I only get the key?
853 Example: file_with_a_form.aspx?a
855 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
857 * HtmlForml.cs: Implemented UniqueID (new in sp1)
858 * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
860 2005-07-24 Dick Porter <dick@ximian.com>
862 * HtmlForm.cs: Add the trailing query string to the form action;
863 fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
865 2005-07-22 Dick Porter <dick@ximian.com>
867 * HtmlInputFile.cs: Add assembly attributes
869 2005-07-21 Dick Porter <dick@ximian.com>
871 * HtmlImage.cs: The src attribute needs to be a relative URL;
872 close the HTML element when rendering attributes, to match the MS
875 * HtmlForm.cs: Added assembly attributes; don't render ID twice;
876 don't render enctype and target if they are empty strings;
877 implement a Render overload to keep corcompare quiet.
879 2005-07-20 Chris Toshok <toshok@ximian.com>
881 * HtmlForm.cs (RenderAttributes): if there are submit statements,
882 we need to render those.
884 * HtmlInputImage.cs: same.
886 * HtmlInputButton.cs: hook up the client validation stuff.
888 * HtmlButton.cs: same, except a lot more complicated due to
891 2005-07-19 Dick Porter <dick@ximian.com>
893 * HtmlImage.cs: Added attributes; use Int32.Parse instead of
896 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
898 * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
899 ControlID for Name (and not ID). Added ControlBuilder attribute.
900 * HtmlTable.cs: Simplify check when adding controls.
901 * HtmlTableRow.cs: Simplify check when adding controls.
903 2005-07-18 Jackson Harper <jackson@ximian.com>
905 * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
908 2005-07-15 Jackson Harper <jackson@ximian.com>
910 * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
911 constant. Update fetching from viewstate code to use new
914 2005-07-15 Jackson Harper <jackson@ximian.com>
916 * HtmlInputButton.cs: Add DefaultEventAttribute.
918 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
920 * HtmlInputControl.cs: Removed internal property (no more required to
922 * HtmlInputRadioButton.cs: Optimized events.
923 * HtmlInputText.cs: Optimized events.
924 * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
926 * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
928 * HtmlTextArea.cs: Optimized events.
930 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
932 * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
933 result) and fixed compatibility for a weird behaviour of the HRef
934 attribute handling. Optimized events.
936 2005-07-14 Jackson Harper <jackson@ximian.com>
938 * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
939 string constant. Use new method for accessing ViewState
940 data. Don't remove value from the view state if it is the default.
942 2005-07-14 Jackson Harper <jackson@ximian.com>
944 * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
945 string constant. Use new method for accessing ViewState
946 data. Don't remove value from the view state if it is the default.
948 2005-07-14 Dick Porter <dick@ximian.com>
950 * HtmlInputFile.cs: New implementation
952 2005-07-14 Jackson Harper <jackson@ximian.com>
954 * HtmlInputControl.cs: Use ClientID for input controls name.
956 2005-07-14 Dick Porter <dick@ximian.com>
958 * HtmlForm.cs: New Implementation
960 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
962 * HtmlTable.cs: Added missing attributes.
963 * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
964 as the builder's type isn't public.
965 * HtmlInputControl.cs: Added missing attributes.
966 * HtmlInputText.cs: Added missing attributes.
967 * HtmlInputRadioButton.cs: Added missing attributes.
968 * HtmlAnchor.cs: Added missing attributes.
969 * HtmlTextArea.cs: Added missing attributes.
970 * HtmlTableRow.cs: Added missing attributes.
972 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
974 * HtmlAnchor.cs: Added DefaultValue attributes.
975 * HtmlInputControl.cs: Added DefaultValue attributes.
976 * HtmlInputRadioButton.cs: Added DefaultValue attributes.
977 * HtmlInputText.cs: Added DefaultValue attributes. Added method
978 RenderAttributes in 1.1 profile.
979 * HtmlTable.cs: Fix DefaultValue to "".
980 * HtmlTextArea.cs: Added DefaultValue attributes.
982 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
984 * HtmlTableCell.cs: Added DefaultValue attributes.
985 * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
986 * HtmlTableRowCollection.cs: Reworked collection to share data with
988 * HtmlTableCellCollection.cs: Reworked collection to share data with
989 HtmlTableRow.Controls.
990 * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
992 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
994 * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
996 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
998 * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
1000 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
1002 * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
1004 * HtmlTextArea.cs: New implementation.
1006 2005-07-07 Jackson Harper <jackson@ximian.com>
1008 * HtmlInputImage.cs: New implementation.
1010 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
1012 * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
1013 * HtmlInputControl.cs: New implementation.
1014 * HtmlInputRadioButton.cs: New implementation.
1015 * HtmlInputText.cs: New implementation.
1017 2005-07-07 Jackson Harper <jackson@ximian.com>
1019 * HtmlInputHidden.cs: New implementation.
1021 2005-07-07 Jackson Harper <jackson@ximian.com>
1023 * HtmlAnchor.cs: Call base OnPreRender from override.
1025 2005-07-07 Jackson Harper <jackson@ximian.com>
1027 * HtmlInputButton.cs: New implementation.
1029 2005-07-07 Dick Porter <dick@ximian.com>
1031 * HtmlImage.cs: New implementation
1033 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
1035 * HtmlAnchor.cs: Fixed to remove attributes properly.
1036 * HtmlTable.cs: New implementation.
1037 * HtmlTableCell.cs: New implementation.
1038 * HtmlTableCellCollection.cs: New implementation.
1039 * HtmlTableRow.cs: New implementation.
1040 * HtmlTableRowCollection.cs: New implementation.
1042 2005-07-06 Jackson Harper <jackson@ximian.com>
1044 * HtmlButton.cs: New implementation.
1046 2005-07-06 Sebastien Pouliot <sebastien@ximian.com>
1048 * HtmlAnchor.cs: New implementation.
1050 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1053 * HtmlControl.cs: updates for 1.1 SP1.
1055 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1057 * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
1060 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
1062 * HtmlHead.cs: Fix warning.
1064 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
1066 * HtmlForm.cs: Use the new WriteSubmitStatements method from
1069 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
1071 * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
1072 Page.GetPostBackClientEvent since it is deprecated in 2.0.
1074 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
1076 * HtmlForm.cs: Register the form in the page, so the page knows
1077 which is the main form.
1079 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
1081 * HtmlHead.cs: Method name fix.
1083 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1085 * HtmlForm.cs: submitStatements holds Hashtables.
1087 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
1089 * HtmlHead.cs: Implemented.
1090 * HtmlHeadBuilder.cs: Implemented.
1091 * HtmlTitle.cs: Implemented.
1093 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1095 * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
1097 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1099 * HtmlForm.cs: fixed the Action property when running a different
1100 page than the one requested (Transfer). Closes bug #69318.
1102 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
1104 * HtmlForm.cs: Add submit statements from the new Page.ClientScript
1107 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1109 * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
1110 it and failed when the browser was IE.
1112 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1114 * HtmlForm.cs: default value for Enctype is "".
1115 * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
1116 we set it to "multipart/form-data". Fixes bug #58359.
1118 2004-01-15 Alon Gazit <along@mainsoft.com>
1119 * HtmlForm.cs: The property name always return the value of the
1122 2003-12-28 Alon Gazit <along@mainsoft.com>
1123 * HtmlSelect.cs: fix typo in LoadPostData().
1125 2003-12-29 Alon Gazit <along@mainsoft.com>
1126 * HtmlInputButton.cs: update the implementation of RenderAttributes().
1127 Change the if statement that determines if the onclick script is
1130 2003-12-28 Alon Gazit <along@mainsoft.com>
1131 * HtmlSelect.cs: add parentheses to if statement.
1132 Currently the else statement refers to the inner if statement.
1134 2003-12-28 Alon Gazit <along@mainsoft.com>
1135 * HtmlSelect.cs: fix upper bound of for statement.
1137 2003-12-19 Jackson Harper <jackson@ximian.com>
1139 * HtmlInputFile.cs: Do not set value when loading post data.
1141 2003-12-14 Alon Gazit <along@mainsoft.com>
1142 * HtmlInputButton.cs: The problem was in RenderAttributes().
1143 Before adding the script to the HTML, the number of Validators should
1144 be checked. fixes bug #52158.
1146 2003-12-07 Alon Gazit <along@mainsoft.com>
1147 * HtmlTableCell.cs: fixing a typo in NoWrap property.
1149 2003-12-04 Jackson Harper <jackson@ximian.com>
1151 * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
1152 value. This is because radio button groups are created by setting
1153 the name to the same value with each button, then on postback the
1154 value of the name is the id of the selected radio button.
1156 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1158 * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
1160 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1162 * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
1163 remove the code used to workaround that.
1165 2003-12-01 Jackson Harper <jackson@ximian.com>
1167 * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
1168 <along@mainsoft.com>.
1170 2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1172 * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
1173 <along@mainsoft.com>. Fixes bug #51377.
1175 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1177 * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
1178 <along@mainsoft.com>.
1180 2003-10-29 Jackson Harper <jackson@ximian.com>
1182 * HtmlControl.cs: Make disabled an attribute of the control so it
1183 is rendered. This is a slightly modifed version of a patch
1184 by Yaron Shkop. Fixes bug #50160.
1186 2003-10-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1188 * HtmlTextArea.cs: fixed infinite recursion.
1190 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1192 * HtmlForm.cs: render the onsubmit attribute.
1194 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1196 * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
1197 need to pass true here. Fixes bug #47918.
1199 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1201 * HtmlContainerControl.cs: Added attributes
1202 * HtmlControl.cs: Added attributes
1203 * HtmlInputControl.cs: Fixed public signature
1204 * HtmlInputRadioButton.cs: Fixed public signature
1205 * HtmlSelect.cs: Added missing attribute
1206 * HtmlTable.cs: Added missing attribute
1208 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1210 * HtmlSelect.cs: fixed bug #44894.
1212 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1215 * HtmlInputControl.cs:
1216 * HtmlSelect.cs: added control builder attribute.
1218 * HtmlSelectBuilder.cs: builder for HtmlSelect.
1220 * HtmlControlBuilder.cs: common builder for all HtmlControls.
1222 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1224 * HtmlControl.cs: _tagName is now internal.
1225 * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
1228 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1230 * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
1232 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1234 * HtmlInputButton.cs: fixed bug #35677.
1236 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1238 * HtmlInputControl.cs: fixed bug #35673.
1240 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1242 * HtmlInputText.cs: fixed bug #35670.
1244 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1246 * HtmlSelect.cs: fixed LoadViewstate.
1248 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1250 * HtmlButton.cs: make it do a POST if the button has any ServerClick
1253 2002-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1257 * HtmlContainerControl.cs:
1260 * HtmlGenericControl.cs:
1262 * HtmlInputButton.cs:
1263 * HtmlInputCheckBox.cs:
1264 * HtmlInputControl.cs:
1266 * HtmlInputHidden.cs:
1267 * HtmlInputImage.cs:
1268 * HtmlInputRadioButton.cs:
1274 * HtmlTextArea.cs: added almost all missing attributes.
1276 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1278 * HtmlControl.cs: the attributes must use ViewState as its StateBag,
1279 if not style values are lost between postbacks.
1281 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1285 * HtmlInputButton.cs:
1286 * HtmlInputCheckBox.cs:
1287 * HtmlInputHidden.cs:
1288 * HtmlInputImage.cs:
1290 * HtmlTextArea.cs: Initialize EventHandlerList indexer.
1292 * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
1293 instead of maintaining some flags and strings. Implemented
1296 * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
1298 * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
1301 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1303 * HtmlGenericControl.cs: fixed TagName signature and get/set.
1304 * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
1305 * HtmlInputText.cs: added attribute.
1307 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1309 * HtmlForm.cs: don't render action attribute.
1311 2002-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1313 * HtmlContainerControl.cs:
1314 (CreateControlCollection): added. All containers must have a non-empty
1317 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1319 * System.Web.UI.HtmlControls/HtmlAnchor.cs:
1320 * System.Web.UI.HtmlControls/HtmlButton.cs:
1321 * System.Web.UI.HtmlControls/HtmlControl.cs:
1322 * System.Web.UI.HtmlControls/HtmlForm.cs:
1323 * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
1324 * System.Web.UI.HtmlControls/HtmlInputButton.cs:
1325 * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
1326 * System.Web.UI.HtmlControls/HtmlInputControl.cs:
1327 * System.Web.UI.HtmlControls/HtmlInputFile.cs:
1328 * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
1329 * System.Web.UI.HtmlControls/HtmlInputImage.cs:
1330 * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
1331 * System.Web.UI.HtmlControls/HtmlInputText.cs:
1332 * System.Web.UI.HtmlControls/HtmlSelect.cs:
1333 * System.Web.UI.HtmlControls/HtmlTable.cs:
1334 * System.Web.UI.HtmlControls/HtmlTableCell.cs:
1335 * System.Web.UI.HtmlControls/HtmlTableRow.cs:
1336 * System.Web.UI.HtmlControls/HtmlTextArea.cs:
1338 Fixes based on class status page:
1340 - Add attributes (DefaultEvent, ParseChildren).
1342 - Explicitly implement some interfaces (IPostBackDataHandler
1343 and IPostBackEventHandler).
1344 - Implemented some missing methods.
1346 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1349 (RenderChildren): use OnFormRender and OnFormPostRender.
1351 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1354 (RenderAttributes): new -> override and fixes stack overflow.
1355 (RenderChildren): only 1 option can be selected at any given time
1356 except when Multiple property is true.
1357 (Multiple): the attribute value is either "true" or "false", not
1362 (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
1365 (RenderEndTag): new -> override.
1368 (RenderChildren): fixed another stack overflow.
1369 (RenderEndTag): new -> override.
1372 (RenderAttributes): new -> override.
1375 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1377 * HtmlInputHidden.cs: fixed constructor.
1379 * HtmlInputRadioButton.cs:
1380 (RenderAttributes): fixed stack overflow.
1383 (RenderedName): new -> override.
1385 (Value): new property.
1388 (RenderAttributes): fixed the same kind of stack overflow and make
1389 string comparison case insensitive.
1391 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1393 * HtmlForm.cs: fixed name of Enctype property and render enctype
1396 * HtmlInputControl.cs: tag type is "input", not "type".
1398 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1400 * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
1403 * HtmlForm.cs: Render output when no IE browser.
1405 * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
1406 though now it always use the other .ctor.
1408 * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
1410 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1412 * HtmlButton.cs: RenderAttributes is an override, not new.
1414 * HtmlContainerControl.cs: use the new Render method in HtmlControl.
1416 * HtmlControl.cs: added Render method to render the tag and its
1417 attributes. Works for container and non-containers.
1419 * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
1422 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1424 * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
1425 instead of Page.Server to encode InnerText.
1427 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1430 (RenderAttributes): new -> override and fixed little bug that made
1431 it cause an stack overflow.
1433 * HtmlContainerControl.cs: reformatted and added tag and attributes
1436 * HtmlGenericControl.cs: removed TagName, which is already in
1440 (RenderEndTag): new -> override.
1442 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1444 * System.Web.UI.HtmlControls/HtmlForm.cs:
1445 (RenderAttributes): changed new by override.
1446 (Name): allow setting the property.
1448 2002-05-10 Duncan Mak <duncan@ximian.com>
1450 * HtmlTableCellCollection.cs (this): Updated the indexer to return
1451 the right type, HtmlTableCell instead of HtmlTableRow.
1453 * HtmlInputImage.cs (OnServerClick): Commented out parts that
1456 * HtmlForm.cs (RenderAttributes):
1457 (RenderChildren): Commented out code that doesn't compile.
1459 2002-05-07 Duncan Mak <duncan@ximian.com>
1461 * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
1462 clashing with the method defined in the parent class.
1463 (OnDataBinding): Added missing casts.
1465 * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
1466 'this' to IAttributeAccessor before calling interface method.
1467 Also renamed some calls to reflect changes in the API.
1469 * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
1472 2001-09-03 Leen Toelen <toelen@hotmail.com>
1474 * HtmlAnchor.cs: Initial implementation.
1475 * HtmlTextArea.cs: Initial implementation.
1477 2001-08-22 Bob Smith <bob@thestuff.net>
1479 * HtmlContainerControl.cs: Initial implementation.
1480 * HtmlControl.cs: Initial implementation.
1481 * HtmlGenericControl.cs: Initial implementation.