1 2010-06-21 Marek Habersack <mhabersack@novell.com>
3 * HtmlControl.cs: PreProcessRelativeReference deos not
4 atribute-encode the attribute value. Fixes bug #596430
6 2010-06-01 Marek Habersack <mhabersack@novell.com>
8 * HtmlHead.cs: added code to render description and keywords metas
9 if the corresponding HtmlMeta controls aren't found and the user
10 set either Description or Keywords properties.
12 2009-12-22 Marek Habersack <mhabersack@novell.com>
14 * HtmlForm.cs: RenderChildren is slightly more efficient now.
16 2009-11-13 Marek Habersack <mhabersack@novell.com>
18 * HtmlForm.cs: reverted part of the previous patch - action is not
19 set to the result of calling ResolveClientUrl(action)
20 anymore. Fixes bug #554324
22 2009-10-30 Marek Habersack <mhabersack@novell.com>
24 * HtmlForm.cs: action is built using Request.ClientFilePath
25 (instead of Request.FilePath) and ResolveClientUrl, so that it's
26 correct even if url rewriting is being used.
28 2009-09-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
30 * HtmlSelectBuilder.cs: <option> allows the value of the 'selected'
31 attribute to be a boolean or the string "selected", which is treated
34 2009-06-16 Marek Habersack <mhabersack@novell.com>
36 * HtmlHeadBuilder.cs: use faster String.Compare overloads.
38 * HtmlHead.cs: implemented 4.0 properties Description and
41 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
43 * HtmlTitle.cs: HtmlTitle allows children that are not
44 LiteralControls. Fixes bug #511882.
46 2009-05-15 Marek Habersack <mhabersack@novell.com>
48 * HtmlForm.cs: if application isn't running on /, make sure we
49 generate the correct relative path for the action form attribute.
51 2009-04-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
53 * HtmlInputText.cs: make sure we're inside a Page before dereferencing
56 2008-11-06 Marek Habersack <mhabersack@novell.com>
58 * HtmlForm.cs: added the undocumented, but supported, Action
59 attribute. Fixes bug #442104
61 2008-10-17 Marek Habersack <mhabersack@novell.com>
63 * HtmlInputHidden.cs: validate the event in LoadPostDataInternal.
65 * HtmlInputButton.cs: validate the event in
66 RaisePostBackEventInternal ().
67 Register for event validation in RenderAttributes ()
69 * HtmlTextArea.cs: validate the event in
70 RaisePostBackDataChangedEvent ().
72 * HtmlButton.cs: validate the event in RaisePostBackEvent ().
73 Register for event validation in RenderAttributes ()
75 * HtmlAnchor.cs: validate the event in RaisePostBackEvent ().
76 Register for event validation in RenderAttributes ().
78 * HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in
81 * HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs,
82 HtmlInputPassword.cs: validate the event in
83 RaisePostDataChangedEvent ().
85 2008-10-07 Christian Hergert <christian.hergert@gmail.com>
87 * HtmlImage.cs: Do not render the src attribute if it is null or empty.
88 An empty src attribute makes browsers download the current page url as
91 2008-08-29 Marek Habersack <mhabersack@novell.com>
93 * HtmlHead.cs: call base.OnInit ()
94 If Page is null, throw an exception.
96 2008-07-25 Dean Brettle <dean@brettle.com>
98 * HtmlControl.cs (PreProcessRelativeReference),
99 HtmlForm.cs (RenderAttributes), HtmlInputButton (RenderAttributes),
100 HtmlInputRadioButton (RenderAttributes), HtmlSelect (RenderChildren):
101 Encode attributes that could contain HTML special chars.
103 * HtmlSelect (RenderChildren): HTML-encode option text.
105 2008-06-30 Marek Habersack <mhabersack@novell.com>
107 * HtmlForm.cs: hush the warnings
109 2008-06-08 Gert Driesen <drieseng@users.sourceforge.net>
111 * HtmlAnchor.cs: Do not render empty name, target or title attribute.
112 Removed extra check for target attribute in RenderAttributes. Use
113 string.Empty instead of "", and check string's Length instead of
114 comparison with "" or string.Empty. Minor code formatting.
116 2008-06-04 Juraj Skripksy <js@hotfeet.ch>
118 * HtmlAnchor.cs (Render): Add missing call to
119 ClientScriptManager.RegisterForEventValidation. Fixes bug #397142.
121 2008-06-04 Juraj Skripsky <js@hotfeet.ch>
123 * HtmlAnchor.cs: Do not render an empty href attribute.
126 2008-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
128 * HtmlForm.cs: fixed action attribute in RenderAttributes under
131 2008-02-06 Marek Habersack <mhabersack@novell.com>
133 * HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
134 mode. Fixes bug #354425
136 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
138 * HtmlSelect.cs: refactoring.
140 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
142 * HtmlSelect.cs: fix databinding (only 2.0), state management.
144 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
146 * HtmlSelect.cs: Fix infinite recursion (only in 2.0) found using
149 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
151 * HtmlForm.cs: refactoring.
153 2007-12-13 Marek Habersack <mhabersack@novell.com>
155 * HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
156 instead of String.Format in some cases.
158 2007-11-07 Juraj Skripsky <js@hotfeet.ch>
160 * HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
161 Fixes bug #339426 for master pages.
163 2007-11-06 Marek Habersack <mhabersack@novell.com>
165 * HtmlForm.cs: a small DetermineRenderUplevel optimization - the
166 result is now cached in a nullable boolean variable.
167 Render the 'onkeypress' attribute if DefaultButton is used. Fixes
170 2007-08-27 Marek Habersack <mhabersack@novell.com>
172 * HtmlForm.cs: make sure the ID is set before HtmlControls renders
173 the attributes. Fixes bug #82596
175 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
177 * HtmlHead.cs: refactoring, used AddAttribute overload without encoding
178 on known attribute values
180 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
182 * HtmlControl.cs: fixed PreProcessRelativeReference, should be used
185 2007-07-16 Marek Habersack <mhabersack@novell.com>
187 * HtmlHeadBuilder.cs: the <meta> tag should be supported as well.
189 * HtmlTitle.cs: if the tag has any children, or the render method
190 delegate has been defined, render the children. Output the
191 contents of Text otherwise. Fixes bug #82102
193 2007-05-08 Marek Habersack <mhabersack@novell.com>
195 * HtmlInputButton.cs: button of type 'reset' does not invoke
197 'reset' buttons clear all the controls in the form to their
200 2007-05-04 Marek Habersack <mhabersack@novell.com>
202 * HtmlAnchor.cs: use ResolveClientUrl when generating
203 attributes. Necessary if the control is in a master page which is
204 in a different directory than the current page.
206 2007-05-01 Marek Habersack <mhabersack@novell.com>
208 * HtmlForm.cs: do not use User-Agent directly, we must take
209 ClientTarget into account.
211 2007-04-27 Marek Habersack <mhabersack@novell.com>
213 * HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
214 paths that might happen in them.
216 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
218 * HtmlForm.cs: for TARGET_J2EE:
219 used Page.Request.Browser to determine RenderUplevel
221 2007-04-17 Marek Habersack <mhabersack@novell.com>
223 * HtmlForm.cs: use the new uplevel browser detection code.
225 2007-04-11 Marek Habersack <mhabersack@novell.com>
227 * HtmlInputHidden.cs:
234 * HtmlInputCheckBox.cs:
235 * HtmlInputRadioButton.cs:
236 * HtmlInputImage.cs: do not register the control for post back
237 processing or if it's disabled.
239 2007-04-06 Marek Habersack <mhabersack@novell.com>
241 * HtmlForm.cs: render the 'name' attribute only when in non-xhtml
244 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
246 * HtmlInputCheckBox.cs:
247 * HtmlInputControl.cs:
248 * HtmlInputHidden.cs:
249 * HtmlInputRadioButton.cs:
253 fixed: Form.SubmitDisabledControls feature:
254 not all HtmlInputControl need to be reenabled on client.
256 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
258 * HtmlForm.cs: Under TARGET_J2EE use Page.RenderResponse instead of
261 2007-01-20 Miguel de Icaza <miguel@novell.com>
263 * HtmlHead.cs: comment out unused code, in particular metadata is
264 commented out because nothing could have triggered its creation.
266 * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
268 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
270 * HtmlLink.cs: fixed RenderAttributes, href should be resolved
272 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
274 * HtmlForm.cs, HtmlAnchor.cs: Added J2EE Portal support for TARGET_J2EE.
276 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
278 * HtmlInputImage.cs: to handle correctly relative URLs to the image.
280 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
282 * HtmlInputRadioButton.cs: fixed: LoadPostData.
284 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
286 * HtmlImputImage.cs: fixed: OnServerClick.
288 2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
290 * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
293 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
295 * HtmlForm.cs: refactoring: Registering of client scripts
298 2006-11-17 Marek Habersack <grendello@gmail.com>
300 * HtmlInputHidden.cs: Added support for event validation.
302 * HtmlInputCheckBox.cs: Added support for event validation.
304 * HtmlInputImage.cs: Added support for event validation.
306 * HtmlInputButton.cs: Added support for event validation.
308 * HtmlSelect.cs: Added support for event validation.
310 * HtmlTextArea.cs: Added support for event validation.
312 * HtmlButton.cs: Added support for event validation.
314 * HtmlInputRadioButton.cs: Added support for event validation.
316 * HtmlInputText.cs: Added support for event validation.
318 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
320 * HtmlContainerControl.cs: fixed: InnerHtml property
322 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
325 HtmlTitle control is created if it was not declared in .aspx
327 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
330 make rendering of the onclick attribute to consider ValidationGroup property
332 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
335 make rendering of the onclick attribute to consider ValidationGroup property
337 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
339 * HtmlInputButton.cs:
340 make rendering of the onclick attribute to consider ValidationGroup property
342 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
345 implemented CausesValidation and ValidationGroup properties
347 2006-09-10 Vladimir Krasnov <vladimirk@mainsoft.com>
349 * HtmlInputFile.cs: fixed Value property
351 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
353 * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.
355 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
358 * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant
361 2006-07-12 Andrew Skiba <andrews@mainsoft.com>
363 * HtmlInputControl.cs: remove obsolete #if NET_2_0
365 2006-06-06 Juraj Skripsky <js@hotfeet.ch>
367 * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
370 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
372 * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
375 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
377 * HtmlInputRadioButton.cs: Value returns the ID only when there's no
378 "value" set. Fixes bug #78101.
380 2006-03-19 Vladimir Krasnov <vladimirk@mainsoft.com>
382 * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty
383 it shouldn't be rendered
384 * HtmlForm.cs: fixed Method, default method "post" should be added if
385 its value null or empty string
386 * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null
387 value, the fix is to remove attributes with empty string value too
389 2006-02-23 Chris Toshok <toshok@ximian.com>
391 * HtmlButton.cs: fix corcompare output.
393 * HtmlInputButton.cs: same.
395 * HtmlInputImage.cs: same.
397 * HtmlInputReset.cs: same.
399 2006-01-22 Chris Toshok <toshok@ximian.com>
401 * HtmlInputButton.cs:
402 s/GetPostBackClientEvent/GetPostBackEventReference.
404 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
406 * HtmlTableRow.cs: Cells is virtual in latest 1.1.
408 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
410 * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
412 * HtmlTable.cs: moved WriteLine around.
414 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
416 * HtmlForm.cs: more class-status fixes.
418 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
420 * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
422 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
424 * HtmlTable.cs: use the base class RenderChildren, as '_rows'
425 might not be the actual collection being used. Fixes bug #76815.
427 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
429 * HtmlInputFile.cs: if no one else set the encoding type for the
430 containing form and there's a HtmlInputFile, set Enctype to
431 'multipart/form-data'. Fixes bug #76837.
433 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
435 * HtmlInputButton.cs: render the onclick attribute only when the
436 button is a 'submit' and no validators or when the button is a
437 'button' and there's a registered ServerClick event. Fixes bug #76781.
439 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
441 * HtmlForm.cs: register the form and require viewstate hidden field to
442 be rendered in Render() even if OnInit is not called.
444 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
446 * HtmlHead.cs: fix the 2.0 build.
448 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
450 * HtmlForm.cs: when transfering from one page to another and using
451 cookieless session, we were doing pretty bad. Now, if the current path
452 and the original are the same, we just use the filename. Otherwise
453 we make the action location be relative to the original URL.
455 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
457 * HtmlInputButton.cs: render the onclick for doing a postback even when
458 there are no validators.
460 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
462 * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
464 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
466 * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
467 [UrlProperty] on HRef property for 2.0.
468 * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
469 * HtmlHead.cs: Remove IPageHeader interface.
470 * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
471 * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
472 * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
473 * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
474 * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
475 [UrlProperty] on Src property for 2.0.
476 * HtmlInputPassword.cs: Added [SupportsEventValidation].
477 * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
478 * HtmlInputReset.cs: Added [SupportsEventValidation].
479 * HtmlInputSubmit.cs: Added [SupportsEventValidation].
480 * HtmlInputText.cs: Added [SupportsEventValidation] on class and
481 re-enabled RenderAttribute for 2.0.
482 * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
483 * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
484 * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
486 2005-09-18 Chris Toshok <toshok@ximian.com>
488 * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
489 instead of AddAttribute when dealing with "onclick."
491 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
493 * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
495 2005-09-11 Chris Toshok <toshok@ximian.com>
497 * HtmlInputFile.cs (set_Value): add a message to the
498 NotSupportedException.
500 * HtmlInputControl.cs (RenderAttributes): add Page != null to the
501 checks before we register our control with the
502 __enabledControlArray JS array.
504 2005-09-09 Chris Toshok <toshok@ximian.com>
506 * HtmlInputButton.cs (CausesValidation): this is stored in
507 Attributes, not ViewState.
508 (ValidationGroup): same.
509 (RenderAttributes): remove CausesValidation from the list of
510 Attributes before calling base.RenderAttributes. Don't, however,
511 remove ValidationGroup, to replicate an MS bug.
513 2005-09-07 Chris Toshok <toshok@ximian.com>
515 * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
516 (Name): not sure about this property.. the getter apparently just
517 returns UniqueID, and the setter does nothing that I can figure
519 (RenderAttributes): don't bother to remove "name", since it's not
520 in the attributes anyway.
522 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
524 * HtmlInputControl.cs: use the Name property instead of the ClientID.
525 The 'name' attribute rendered contains colons if inside a
528 2005-09-07 Chris Toshok <toshok@ximian.com>
530 * HtmlInputCheckBox.cs (Checked): uncomment the
531 MinimizableAttributeTypeConverter attribute.
533 * HtmlControl.cs (Disabled): uncomment the
534 MinimizableAttributeTypeConverter attribute.
536 * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
538 * HtmlTableCell.cs (NoWrap): uncomment the
539 MinimizableAttributeTypeConverter attribute.
541 * HtmlLink.cs (Href): remove the MonoTODO.
543 * HtmlMeta.cs (Name): remove the MonoTODO.
545 (Render): add (pretty bogus, really..) implementation. not sure
546 why we need this one.
548 2005-09-06 Chris Toshok <toshok@ximian.com>
550 * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
553 2005-09-06 Chris Toshok <toshok@ximian.com>
555 * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
558 2005-09-06 Chris Toshok <toshok@ximian.com>
560 * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
561 (AddedControl): move the HtmlTitle logic here.
562 (RemovedControl): clear out the title if that was the control that
565 * HtmlLink.cs: new implementation.
567 * HtmlMeta.cs: new implementation.
569 2005-09-06 Chris Toshok <toshok@ximian.com>
571 * HtmlInputControl.cs (RenderAttributes): add ourselves to the
572 __enabledControlArray JS array if we're currently enabled and the
573 form is set to SubmitDisabledControls.
575 * HtmlForm.cs (OnInit): call Page.RegisterForm here.
576 (DetermineRenderUplevel): split this out of OnPreRender and make
577 it internal so HtmlInputControl can call it.
578 (OnPreRender): add handling for SubmitDisabledControls.
580 2005-09-05 Chris Toshok <toshok@ximian.com>
582 * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
583 or in the ViewState. where then?
584 (DefaultFocus): this one is stored in the ViewState, not as an
586 (SubmitDisabledControls): implement just as a boolean flag, not in
587 the viewstate or attributes.
588 (RenderAttributes): defaultfocus and defaultbutton are no longer
591 2005-09-04 Chris Toshok <toshok@ximian.com>
593 * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
595 * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
597 * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
599 * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
600 way, and in OnPreRender, call Page.RegisterRequiresPostback.
602 * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
603 and in OnPreRender, call Page.RegisterRequiresPostback.
605 * HtmlInputRadioButton.cs (OnPreRender): call
606 Page.RegisterRequiresPostback.
608 * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
609 Also, in OnPreRender, call Page.RegisterRequiresPostback.
611 * HtmlTextArea.cs (OnPreRender): call
612 Page.RegisterRequiresPostback.
614 2005-09-02 Chris Toshok <toshok@ximian.com>
616 * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
618 2005-09-02 Chris Toshok <toshok@ximian.com>
620 * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
622 * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
623 raisepostdatachangedevent, and raisepostbackevent.
624 (validationgroup): implement.
626 * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
627 and raisepostdatachangedevent.
629 * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
630 and RaisePostDataChangedEvent.
632 * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
633 body of both RaisePostBackEvent impl's here, and fix it up so we
634 use the property Page.Validate call in 2.0.
635 (RaisePostBackEvent): call RaisePostBackEventInternal.
636 (IPostBackEventHandler.RaisePostBackEvent): same.
638 * HtmlImage.cs (Align): the test case shows that we don't need to
641 2005-09-01 Sebastien Pouliot <sebastien@ximian.com>
643 * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
644 HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
645 HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
646 HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
647 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
648 HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
649 HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
650 HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
651 HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
652 attributes AspNetHostingPermission for Minimal level on all classes
653 (LinkDemand) and for non-sealed classes (InheritanceDemand).
655 2005-08-29 Chris Toshok <toshok@ximian.com>
657 * System.Web.UI.HtmlControls/HtmlTableCell.cs,
658 System.Web.UI.HtmlControls/HtmlInputFile.cs,
659 System.Web.UI.HtmlControls/HtmlForm.cs,
660 System.Web.UI.HtmlControls/HtmlInputText.cs,
661 System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
662 System.Web.UI.HtmlControls/HtmlAnchor.cs,
663 System.Web.UI.HtmlControls/HtmlButton.cs,
664 System.Web.UI.HtmlControls/HtmlTextArea.cs,
665 System.Web.UI.HtmlControls/HtmlGenericControl.cs,
666 System.Web.UI.HtmlControls/HtmlSelect.cs,
667 System.Web.UI.HtmlControls/HtmlTableRow.cs,
668 System.Web.UI.HtmlControls/HtmlControl.cs,
669 System.Web.UI.HtmlControls/HtmlImage.cs,
670 System.Web.UI.HtmlControls/HtmlTable.cs,
671 System.Web.UI.HtmlControls/HtmlInputButton.cs,
672 System.Web.UI.HtmlControls/HtmlInputControl.cs,
673 System.Web.UI.HtmlControls/HtmlInputImage.cs,
674 System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
675 System.Web.UI.HtmlControls/HtmlInputHidden.cs,
676 System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
679 2005-08-29 Chris Toshok <toshok@ximian.com>
681 * HtmlInputSubmit.cs: new implementation.
683 * HtmlInputReset.cs (ValidationGroup): implement
685 * HtmlInputButton.cs (ValidationGroup): implement.
687 2005-08-29 Chris Toshok <toshok@ximian.com>
689 * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
693 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
695 * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
696 but not used. Call ResolveUrl when rendering the attributes instead.
698 2005-08-28 Chris Toshok <toshok@ximian.com>
700 * HtmlHeadBuilder.cs: this is public.
702 * HtmlSelectBuilder.cs: in 2.0 this is public.
704 * HtmlInputButton.cs: fix boilerplate.
706 * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
707 (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
708 Page.Validation(ValidationGroup).
710 2005-08-28 Chris Toshok <toshok@ximian.com>
712 * HtmlInputReset.cs: mostly complete implementation.
714 2005-08-28 Chris Toshok <toshok@ximian.com>
716 * HtmlInputPassword.cs: doh, make this NET_2_0 only.
718 2005-08-28 Chris Toshok <toshok@ximian.com>
720 * HtmlInputPassword.cs: implement.
722 2005-08-28 Chris Toshok <toshok@ximian.com>
724 * HtmlImage.cs: corcompare fixes.
726 * HtmlInputCheckBox.cs: same.
728 2005-08-27 Chris Toshok <toshok@ximian.com>
730 * HtmlControl.cs (GetAttribute, SetAttribute): implement.
732 2005-08-27 Chris Toshok <toshok@ximian.com>
734 * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
735 (OnPreRender): figure out (hackishly) if we're uplevel rendering.
736 If we have a default button/focus control set, register webform.js
737 as a client script block, and emit some JS to focus the control.
738 (RenderAttributes): verify that the DefaultButton attribute points
739 to a valid IButtonControl implementing control. Also remove the
740 defaultfocus/defaultbutton attributes before calling
741 base.RenderAttributes.
743 2005-08-27 Kornél Pál <kornelpal@hotmail.com>
745 * HtmlTableCell.cs: Fixed to use Consts.
747 2005-08-26 Chris Toshok <toshok@ximian.com>
749 * HtmlButton.cs (ValidationGroup): implement.
750 (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
751 one body of the actual RaisePostBackEvent code. Also, call
752 Page.Validate(ValidationGroup) in the 2.0 case.
754 2005-08-25 Miguel de Icaza <miguel@novell.com>
756 * HtmlHead.cs: Implement constructor, pass the tag.
758 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
760 * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
762 2005-08-25 Chris Toshok <toshok@ximian.com>
764 * HtmlForm.cs (CreateControlCollection, OnPreRender,
765 RenderControl): implement naively, just calling base.Method.
767 2005-08-25 Chris Toshok <toshok@ximian.com>
769 * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
770 the last '/' when rendering the action. Fixes comments in
773 2005-08-24 Chris Toshok <toshok@ximian.com>
775 * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
776 HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
777 HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
778 Add MonoTODO's for all NotImplementedException's.
780 2005-08-18 Dick Porter <dick@ximian.com>
782 * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
783 HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
784 HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
785 HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
786 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
787 HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
789 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
791 * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
792 Load method (bad choice) to DefaultLoadPostData.
794 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
796 * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
797 * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
798 method. Fixed support for protected LoadPostData and
799 RaisePostDataChangedEvent in 2.0 (recursion).
800 * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
801 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
802 * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
803 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
805 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
807 * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
808 for 2.0 profile. The class seems to be internal and not (yet?)
811 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
813 * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
814 * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
815 (at least) HtmlInputControl in 2.0 profile.
816 * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
817 * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
819 2005-08-09 Dick Porter <dick@ximian.com>
821 * HtmlSelect.cs: Clear databindings when adding a new one; cope
822 with assorted combinations of empty text and value fields; write
823 <option> tags manually to match ms HTML output. All fix nunit
826 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
828 * HtmlInputControl.cs: Remove code to handle password (wrong place)
829 and fixed type handling for 2.0.
830 * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
831 the type == password. Tests indicates that the value is present for
834 2005-08-05 Dick Porter <dick@ximian.com>
836 * HtmlSelect.cs: Fix databinding when one or other of Name and
837 Value aren't supplied (thanks to Peter for the patch); Make
838 <option> indenting match ms output.
840 2005-07-30 Ben Maurer <bmaurer@ximian.com>
842 * HtmlForm.cs: Make sure we actually put the "?" in the url
844 2005-07-29 Dick Porter <dick@ximian.com>
846 * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
847 instead of building the query string by hand
849 2005-07-27 Dick Porter <dick@ximian.com>
851 * HtmlInputCheckBox.cs: New implementation
853 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
855 * HtmlSelect.cs: Added missing attributes
857 2005-07-26 Dick Porter <dick@ximian.com>
859 * HtmlSelect.cs: New implementation
861 2005-07-26 Miguel de Icaza <miguel@novell.com>
863 * HtmlForm.cs: It is possible to have keys with no values in the
864 query string, do not try to process those on the foreach loop.
866 The question is: what should happen if I only get the key?
868 Example: file_with_a_form.aspx?a
870 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
872 * HtmlForml.cs: Implemented UniqueID (new in sp1)
873 * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
875 2005-07-24 Dick Porter <dick@ximian.com>
877 * HtmlForm.cs: Add the trailing query string to the form action;
878 fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
880 2005-07-22 Dick Porter <dick@ximian.com>
882 * HtmlInputFile.cs: Add assembly attributes
884 2005-07-21 Dick Porter <dick@ximian.com>
886 * HtmlImage.cs: The src attribute needs to be a relative URL;
887 close the HTML element when rendering attributes, to match the MS
890 * HtmlForm.cs: Added assembly attributes; don't render ID twice;
891 don't render enctype and target if they are empty strings;
892 implement a Render overload to keep corcompare quiet.
894 2005-07-20 Chris Toshok <toshok@ximian.com>
896 * HtmlForm.cs (RenderAttributes): if there are submit statements,
897 we need to render those.
899 * HtmlInputImage.cs: same.
901 * HtmlInputButton.cs: hook up the client validation stuff.
903 * HtmlButton.cs: same, except a lot more complicated due to
906 2005-07-19 Dick Porter <dick@ximian.com>
908 * HtmlImage.cs: Added attributes; use Int32.Parse instead of
911 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
913 * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
914 ControlID for Name (and not ID). Added ControlBuilder attribute.
915 * HtmlTable.cs: Simplify check when adding controls.
916 * HtmlTableRow.cs: Simplify check when adding controls.
918 2005-07-18 Jackson Harper <jackson@ximian.com>
920 * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
923 2005-07-15 Jackson Harper <jackson@ximian.com>
925 * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
926 constant. Update fetching from viewstate code to use new
929 2005-07-15 Jackson Harper <jackson@ximian.com>
931 * HtmlInputButton.cs: Add DefaultEventAttribute.
933 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
935 * HtmlInputControl.cs: Removed internal property (no more required to
937 * HtmlInputRadioButton.cs: Optimized events.
938 * HtmlInputText.cs: Optimized events.
939 * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
941 * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
943 * HtmlTextArea.cs: Optimized events.
945 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
947 * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
948 result) and fixed compatibility for a weird behaviour of the HRef
949 attribute handling. Optimized events.
951 2005-07-14 Jackson Harper <jackson@ximian.com>
953 * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
954 string constant. Use new method for accessing ViewState
955 data. Don't remove value from the view state if it is the default.
957 2005-07-14 Jackson Harper <jackson@ximian.com>
959 * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
960 string constant. Use new method for accessing ViewState
961 data. Don't remove value from the view state if it is the default.
963 2005-07-14 Dick Porter <dick@ximian.com>
965 * HtmlInputFile.cs: New implementation
967 2005-07-14 Jackson Harper <jackson@ximian.com>
969 * HtmlInputControl.cs: Use ClientID for input controls name.
971 2005-07-14 Dick Porter <dick@ximian.com>
973 * HtmlForm.cs: New Implementation
975 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
977 * HtmlTable.cs: Added missing attributes.
978 * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
979 as the builder's type isn't public.
980 * HtmlInputControl.cs: Added missing attributes.
981 * HtmlInputText.cs: Added missing attributes.
982 * HtmlInputRadioButton.cs: Added missing attributes.
983 * HtmlAnchor.cs: Added missing attributes.
984 * HtmlTextArea.cs: Added missing attributes.
985 * HtmlTableRow.cs: Added missing attributes.
987 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
989 * HtmlAnchor.cs: Added DefaultValue attributes.
990 * HtmlInputControl.cs: Added DefaultValue attributes.
991 * HtmlInputRadioButton.cs: Added DefaultValue attributes.
992 * HtmlInputText.cs: Added DefaultValue attributes. Added method
993 RenderAttributes in 1.1 profile.
994 * HtmlTable.cs: Fix DefaultValue to "".
995 * HtmlTextArea.cs: Added DefaultValue attributes.
997 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
999 * HtmlTableCell.cs: Added DefaultValue attributes.
1000 * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
1001 * HtmlTableRowCollection.cs: Reworked collection to share data with
1003 * HtmlTableCellCollection.cs: Reworked collection to share data with
1004 HtmlTableRow.Controls.
1005 * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
1007 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
1009 * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
1011 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
1013 * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
1015 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
1017 * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
1019 * HtmlTextArea.cs: New implementation.
1021 2005-07-07 Jackson Harper <jackson@ximian.com>
1023 * HtmlInputImage.cs: New implementation.
1025 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
1027 * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
1028 * HtmlInputControl.cs: New implementation.
1029 * HtmlInputRadioButton.cs: New implementation.
1030 * HtmlInputText.cs: New implementation.
1032 2005-07-07 Jackson Harper <jackson@ximian.com>
1034 * HtmlInputHidden.cs: New implementation.
1036 2005-07-07 Jackson Harper <jackson@ximian.com>
1038 * HtmlAnchor.cs: Call base OnPreRender from override.
1040 2005-07-07 Jackson Harper <jackson@ximian.com>
1042 * HtmlInputButton.cs: New implementation.
1044 2005-07-07 Dick Porter <dick@ximian.com>
1046 * HtmlImage.cs: New implementation
1048 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
1050 * HtmlAnchor.cs: Fixed to remove attributes properly.
1051 * HtmlTable.cs: New implementation.
1052 * HtmlTableCell.cs: New implementation.
1053 * HtmlTableCellCollection.cs: New implementation.
1054 * HtmlTableRow.cs: New implementation.
1055 * HtmlTableRowCollection.cs: New implementation.
1057 2005-07-06 Jackson Harper <jackson@ximian.com>
1059 * HtmlButton.cs: New implementation.
1061 2005-07-06 Sebastien Pouliot <sebastien@ximian.com>
1063 * HtmlAnchor.cs: New implementation.
1065 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1068 * HtmlControl.cs: updates for 1.1 SP1.
1070 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1072 * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
1075 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
1077 * HtmlHead.cs: Fix warning.
1079 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
1081 * HtmlForm.cs: Use the new WriteSubmitStatements method from
1084 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
1086 * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
1087 Page.GetPostBackClientEvent since it is deprecated in 2.0.
1089 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
1091 * HtmlForm.cs: Register the form in the page, so the page knows
1092 which is the main form.
1094 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
1096 * HtmlHead.cs: Method name fix.
1098 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1100 * HtmlForm.cs: submitStatements holds Hashtables.
1102 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
1104 * HtmlHead.cs: Implemented.
1105 * HtmlHeadBuilder.cs: Implemented.
1106 * HtmlTitle.cs: Implemented.
1108 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1110 * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
1112 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1114 * HtmlForm.cs: fixed the Action property when running a different
1115 page than the one requested (Transfer). Closes bug #69318.
1117 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
1119 * HtmlForm.cs: Add submit statements from the new Page.ClientScript
1122 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1124 * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
1125 it and failed when the browser was IE.
1127 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1129 * HtmlForm.cs: default value for Enctype is "".
1130 * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
1131 we set it to "multipart/form-data". Fixes bug #58359.
1133 2004-01-15 Alon Gazit <along@mainsoft.com>
1134 * HtmlForm.cs: The property name always return the value of the
1137 2003-12-28 Alon Gazit <along@mainsoft.com>
1138 * HtmlSelect.cs: fix typo in LoadPostData().
1140 2003-12-29 Alon Gazit <along@mainsoft.com>
1141 * HtmlInputButton.cs: update the implementation of RenderAttributes().
1142 Change the if statement that determines if the onclick script is
1145 2003-12-28 Alon Gazit <along@mainsoft.com>
1146 * HtmlSelect.cs: add parentheses to if statement.
1147 Currently the else statement refers to the inner if statement.
1149 2003-12-28 Alon Gazit <along@mainsoft.com>
1150 * HtmlSelect.cs: fix upper bound of for statement.
1152 2003-12-19 Jackson Harper <jackson@ximian.com>
1154 * HtmlInputFile.cs: Do not set value when loading post data.
1156 2003-12-14 Alon Gazit <along@mainsoft.com>
1157 * HtmlInputButton.cs: The problem was in RenderAttributes().
1158 Before adding the script to the HTML, the number of Validators should
1159 be checked. fixes bug #52158.
1161 2003-12-07 Alon Gazit <along@mainsoft.com>
1162 * HtmlTableCell.cs: fixing a typo in NoWrap property.
1164 2003-12-04 Jackson Harper <jackson@ximian.com>
1166 * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
1167 value. This is because radio button groups are created by setting
1168 the name to the same value with each button, then on postback the
1169 value of the name is the id of the selected radio button.
1171 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1173 * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
1175 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1177 * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
1178 remove the code used to workaround that.
1180 2003-12-01 Jackson Harper <jackson@ximian.com>
1182 * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
1183 <along@mainsoft.com>.
1185 2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1187 * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
1188 <along@mainsoft.com>. Fixes bug #51377.
1190 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1192 * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
1193 <along@mainsoft.com>.
1195 2003-10-29 Jackson Harper <jackson@ximian.com>
1197 * HtmlControl.cs: Make disabled an attribute of the control so it
1198 is rendered. This is a slightly modifed version of a patch
1199 by Yaron Shkop. Fixes bug #50160.
1201 2003-10-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1203 * HtmlTextArea.cs: fixed infinite recursion.
1205 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1207 * HtmlForm.cs: render the onsubmit attribute.
1209 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1211 * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
1212 need to pass true here. Fixes bug #47918.
1214 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1216 * HtmlContainerControl.cs: Added attributes
1217 * HtmlControl.cs: Added attributes
1218 * HtmlInputControl.cs: Fixed public signature
1219 * HtmlInputRadioButton.cs: Fixed public signature
1220 * HtmlSelect.cs: Added missing attribute
1221 * HtmlTable.cs: Added missing attribute
1223 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1225 * HtmlSelect.cs: fixed bug #44894.
1227 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1230 * HtmlInputControl.cs:
1231 * HtmlSelect.cs: added control builder attribute.
1233 * HtmlSelectBuilder.cs: builder for HtmlSelect.
1235 * HtmlControlBuilder.cs: common builder for all HtmlControls.
1237 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1239 * HtmlControl.cs: _tagName is now internal.
1240 * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
1243 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1245 * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
1247 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1249 * HtmlInputButton.cs: fixed bug #35677.
1251 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1253 * HtmlInputControl.cs: fixed bug #35673.
1255 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1257 * HtmlInputText.cs: fixed bug #35670.
1259 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1261 * HtmlSelect.cs: fixed LoadViewstate.
1263 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1265 * HtmlButton.cs: make it do a POST if the button has any ServerClick
1268 2002-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1272 * HtmlContainerControl.cs:
1275 * HtmlGenericControl.cs:
1277 * HtmlInputButton.cs:
1278 * HtmlInputCheckBox.cs:
1279 * HtmlInputControl.cs:
1281 * HtmlInputHidden.cs:
1282 * HtmlInputImage.cs:
1283 * HtmlInputRadioButton.cs:
1289 * HtmlTextArea.cs: added almost all missing attributes.
1291 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1293 * HtmlControl.cs: the attributes must use ViewState as its StateBag,
1294 if not style values are lost between postbacks.
1296 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1300 * HtmlInputButton.cs:
1301 * HtmlInputCheckBox.cs:
1302 * HtmlInputHidden.cs:
1303 * HtmlInputImage.cs:
1305 * HtmlTextArea.cs: Initialize EventHandlerList indexer.
1307 * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
1308 instead of maintaining some flags and strings. Implemented
1311 * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
1313 * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
1316 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1318 * HtmlGenericControl.cs: fixed TagName signature and get/set.
1319 * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
1320 * HtmlInputText.cs: added attribute.
1322 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1324 * HtmlForm.cs: don't render action attribute.
1326 2002-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1328 * HtmlContainerControl.cs:
1329 (CreateControlCollection): added. All containers must have a non-empty
1332 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1334 * System.Web.UI.HtmlControls/HtmlAnchor.cs:
1335 * System.Web.UI.HtmlControls/HtmlButton.cs:
1336 * System.Web.UI.HtmlControls/HtmlControl.cs:
1337 * System.Web.UI.HtmlControls/HtmlForm.cs:
1338 * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
1339 * System.Web.UI.HtmlControls/HtmlInputButton.cs:
1340 * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
1341 * System.Web.UI.HtmlControls/HtmlInputControl.cs:
1342 * System.Web.UI.HtmlControls/HtmlInputFile.cs:
1343 * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
1344 * System.Web.UI.HtmlControls/HtmlInputImage.cs:
1345 * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
1346 * System.Web.UI.HtmlControls/HtmlInputText.cs:
1347 * System.Web.UI.HtmlControls/HtmlSelect.cs:
1348 * System.Web.UI.HtmlControls/HtmlTable.cs:
1349 * System.Web.UI.HtmlControls/HtmlTableCell.cs:
1350 * System.Web.UI.HtmlControls/HtmlTableRow.cs:
1351 * System.Web.UI.HtmlControls/HtmlTextArea.cs:
1353 Fixes based on class status page:
1355 - Add attributes (DefaultEvent, ParseChildren).
1357 - Explicitly implement some interfaces (IPostBackDataHandler
1358 and IPostBackEventHandler).
1359 - Implemented some missing methods.
1361 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1364 (RenderChildren): use OnFormRender and OnFormPostRender.
1366 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1369 (RenderAttributes): new -> override and fixes stack overflow.
1370 (RenderChildren): only 1 option can be selected at any given time
1371 except when Multiple property is true.
1372 (Multiple): the attribute value is either "true" or "false", not
1377 (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
1380 (RenderEndTag): new -> override.
1383 (RenderChildren): fixed another stack overflow.
1384 (RenderEndTag): new -> override.
1387 (RenderAttributes): new -> override.
1390 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1392 * HtmlInputHidden.cs: fixed constructor.
1394 * HtmlInputRadioButton.cs:
1395 (RenderAttributes): fixed stack overflow.
1398 (RenderedName): new -> override.
1400 (Value): new property.
1403 (RenderAttributes): fixed the same kind of stack overflow and make
1404 string comparison case insensitive.
1406 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1408 * HtmlForm.cs: fixed name of Enctype property and render enctype
1411 * HtmlInputControl.cs: tag type is "input", not "type".
1413 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1415 * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
1418 * HtmlForm.cs: Render output when no IE browser.
1420 * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
1421 though now it always use the other .ctor.
1423 * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
1425 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1427 * HtmlButton.cs: RenderAttributes is an override, not new.
1429 * HtmlContainerControl.cs: use the new Render method in HtmlControl.
1431 * HtmlControl.cs: added Render method to render the tag and its
1432 attributes. Works for container and non-containers.
1434 * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
1437 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1439 * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
1440 instead of Page.Server to encode InnerText.
1442 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1445 (RenderAttributes): new -> override and fixed little bug that made
1446 it cause an stack overflow.
1448 * HtmlContainerControl.cs: reformatted and added tag and attributes
1451 * HtmlGenericControl.cs: removed TagName, which is already in
1455 (RenderEndTag): new -> override.
1457 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1459 * System.Web.UI.HtmlControls/HtmlForm.cs:
1460 (RenderAttributes): changed new by override.
1461 (Name): allow setting the property.
1463 2002-05-10 Duncan Mak <duncan@ximian.com>
1465 * HtmlTableCellCollection.cs (this): Updated the indexer to return
1466 the right type, HtmlTableCell instead of HtmlTableRow.
1468 * HtmlInputImage.cs (OnServerClick): Commented out parts that
1471 * HtmlForm.cs (RenderAttributes):
1472 (RenderChildren): Commented out code that doesn't compile.
1474 2002-05-07 Duncan Mak <duncan@ximian.com>
1476 * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
1477 clashing with the method defined in the parent class.
1478 (OnDataBinding): Added missing casts.
1480 * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
1481 'this' to IAttributeAccessor before calling interface method.
1482 Also renamed some calls to reflect changes in the API.
1484 * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
1487 2001-09-03 Leen Toelen <toelen@hotmail.com>
1489 * HtmlAnchor.cs: Initial implementation.
1490 * HtmlTextArea.cs: Initial implementation.
1492 2001-08-22 Bob Smith <bob@thestuff.net>
1494 * HtmlContainerControl.cs: Initial implementation.
1495 * HtmlControl.cs: Initial implementation.
1496 * HtmlGenericControl.cs: Initial implementation.