1 2008-02-06 Marek Habersack <mhabersack@novell.com>
3 * HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
4 mode. Fixes bug #354425
6 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
8 * HtmlSelect.cs: refactoring.
10 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
12 * HtmlSelect.cs: fix databinding (only 2.0), state management.
14 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
16 * HtmlSelect.cs: Fix infinite recursion (only in 2.0) found using
19 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
21 * HtmlForm.cs: refactoring.
23 2007-12-13 Marek Habersack <mhabersack@novell.com>
25 * HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
26 instead of String.Format in some cases.
28 2007-11-07 Juraj Skripsky <js@hotfeet.ch>
30 * HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
31 Fixes bug #339426 for master pages.
33 2007-11-06 Marek Habersack <mhabersack@novell.com>
35 * HtmlForm.cs: a small DetermineRenderUplevel optimization - the
36 result is now cached in a nullable boolean variable.
37 Render the 'onkeypress' attribute if DefaultButton is used. Fixes
40 2007-08-27 Marek Habersack <mhabersack@novell.com>
42 * HtmlForm.cs: make sure the ID is set before HtmlControls renders
43 the attributes. Fixes bug #82596
45 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
47 * HtmlHead.cs: refactoring, used AddAttribute overload without encoding
48 on known attribute values
50 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
52 * HtmlControl.cs: fixed PreProcessRelativeReference, should be used
55 2007-07-16 Marek Habersack <mhabersack@novell.com>
57 * HtmlHeadBuilder.cs: the <meta> tag should be supported as well.
59 * HtmlTitle.cs: if the tag has any children, or the render method
60 delegate has been defined, render the children. Output the
61 contents of Text otherwise. Fixes bug #82102
63 2007-05-08 Marek Habersack <mhabersack@novell.com>
65 * HtmlInputButton.cs: button of type 'reset' does not invoke
67 'reset' buttons clear all the controls in the form to their
70 2007-05-04 Marek Habersack <mhabersack@novell.com>
72 * HtmlAnchor.cs: use ResolveClientUrl when generating
73 attributes. Necessary if the control is in a master page which is
74 in a different directory than the current page.
76 2007-05-01 Marek Habersack <mhabersack@novell.com>
78 * HtmlForm.cs: do not use User-Agent directly, we must take
79 ClientTarget into account.
81 2007-04-27 Marek Habersack <mhabersack@novell.com>
83 * HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
84 paths that might happen in them.
86 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
88 * HtmlForm.cs: for TARGET_J2EE:
89 used Page.Request.Browser to determine RenderUplevel
91 2007-04-17 Marek Habersack <mhabersack@novell.com>
93 * HtmlForm.cs: use the new uplevel browser detection code.
95 2007-04-11 Marek Habersack <mhabersack@novell.com>
104 * HtmlInputCheckBox.cs:
105 * HtmlInputRadioButton.cs:
106 * HtmlInputImage.cs: do not register the control for post back
107 processing or if it's disabled.
109 2007-04-06 Marek Habersack <mhabersack@novell.com>
111 * HtmlForm.cs: render the 'name' attribute only when in non-xhtml
114 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
116 * HtmlInputCheckBox.cs:
117 * HtmlInputControl.cs:
118 * HtmlInputHidden.cs:
119 * HtmlInputRadioButton.cs:
123 fixed: Form.SubmitDisabledControls feature:
124 not all HtmlInputControl need to be reenabled on client.
126 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
128 * HtmlForm.cs: Under TARGET_J2EE use Page.RenderResponse instead of
131 2007-01-20 Miguel de Icaza <miguel@novell.com>
133 * HtmlHead.cs: comment out unused code, in particular metadata is
134 commented out because nothing could have triggered its creation.
136 * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
138 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
140 * HtmlLink.cs: fixed RenderAttributes, href should be resolved
142 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
144 * HtmlForm.cs, HtmlAnchor.cs: Added J2EE Portal support for TARGET_J2EE.
146 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
148 * HtmlInputImage.cs: to handle correctly relative URLs to the image.
150 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
152 * HtmlInputRadioButton.cs: fixed: LoadPostData.
154 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
156 * HtmlImputImage.cs: fixed: OnServerClick.
158 2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
160 * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
163 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
165 * HtmlForm.cs: refactoring: Registering of client scripts
168 2006-11-17 Marek Habersack <grendello@gmail.com>
170 * HtmlInputHidden.cs: Added support for event validation.
172 * HtmlInputCheckBox.cs: Added support for event validation.
174 * HtmlInputImage.cs: Added support for event validation.
176 * HtmlInputButton.cs: Added support for event validation.
178 * HtmlSelect.cs: Added support for event validation.
180 * HtmlTextArea.cs: Added support for event validation.
182 * HtmlButton.cs: Added support for event validation.
184 * HtmlInputRadioButton.cs: Added support for event validation.
186 * HtmlInputText.cs: Added support for event validation.
188 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
190 * HtmlContainerControl.cs: fixed: InnerHtml property
192 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
195 HtmlTitle control is created if it was not declared in .aspx
197 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
200 make rendering of the onclick attribute to consider ValidationGroup property
202 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
205 make rendering of the onclick attribute to consider ValidationGroup property
207 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
209 * HtmlInputButton.cs:
210 make rendering of the onclick attribute to consider ValidationGroup property
212 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
215 implemented CausesValidation and ValidationGroup properties
217 2006-09-10 Vladimir Krasnov <vladimirk@mainsoft.com>
219 * HtmlInputFile.cs: fixed Value property
221 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
223 * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.
225 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
228 * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant
231 2006-07-12 Andrew Skiba <andrews@mainsoft.com>
233 * HtmlInputControl.cs: remove obsolete #if NET_2_0
235 2006-06-06 Juraj Skripsky <js@hotfeet.ch>
237 * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
240 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
242 * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
245 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
247 * HtmlInputRadioButton.cs: Value returns the ID only when there's no
248 "value" set. Fixes bug #78101.
250 2006-03-19 Vladimir Krasnov <vladimirk@mainsoft.com>
252 * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty
253 it shouldn't be rendered
254 * HtmlForm.cs: fixed Method, default method "post" should be added if
255 its value null or empty string
256 * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null
257 value, the fix is to remove attributes with empty string value too
259 2006-02-23 Chris Toshok <toshok@ximian.com>
261 * HtmlButton.cs: fix corcompare output.
263 * HtmlInputButton.cs: same.
265 * HtmlInputImage.cs: same.
267 * HtmlInputReset.cs: same.
269 2006-01-22 Chris Toshok <toshok@ximian.com>
271 * HtmlInputButton.cs:
272 s/GetPostBackClientEvent/GetPostBackEventReference.
274 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
276 * HtmlTableRow.cs: Cells is virtual in latest 1.1.
278 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
280 * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
282 * HtmlTable.cs: moved WriteLine around.
284 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
286 * HtmlForm.cs: more class-status fixes.
288 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
290 * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
292 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
294 * HtmlTable.cs: use the base class RenderChildren, as '_rows'
295 might not be the actual collection being used. Fixes bug #76815.
297 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
299 * HtmlInputFile.cs: if no one else set the encoding type for the
300 containing form and there's a HtmlInputFile, set Enctype to
301 'multipart/form-data'. Fixes bug #76837.
303 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
305 * HtmlInputButton.cs: render the onclick attribute only when the
306 button is a 'submit' and no validators or when the button is a
307 'button' and there's a registered ServerClick event. Fixes bug #76781.
309 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
311 * HtmlForm.cs: register the form and require viewstate hidden field to
312 be rendered in Render() even if OnInit is not called.
314 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
316 * HtmlHead.cs: fix the 2.0 build.
318 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
320 * HtmlForm.cs: when transfering from one page to another and using
321 cookieless session, we were doing pretty bad. Now, if the current path
322 and the original are the same, we just use the filename. Otherwise
323 we make the action location be relative to the original URL.
325 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
327 * HtmlInputButton.cs: render the onclick for doing a postback even when
328 there are no validators.
330 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
332 * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
334 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
336 * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
337 [UrlProperty] on HRef property for 2.0.
338 * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
339 * HtmlHead.cs: Remove IPageHeader interface.
340 * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
341 * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
342 * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
343 * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
344 * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
345 [UrlProperty] on Src property for 2.0.
346 * HtmlInputPassword.cs: Added [SupportsEventValidation].
347 * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
348 * HtmlInputReset.cs: Added [SupportsEventValidation].
349 * HtmlInputSubmit.cs: Added [SupportsEventValidation].
350 * HtmlInputText.cs: Added [SupportsEventValidation] on class and
351 re-enabled RenderAttribute for 2.0.
352 * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
353 * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
354 * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
356 2005-09-18 Chris Toshok <toshok@ximian.com>
358 * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
359 instead of AddAttribute when dealing with "onclick."
361 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
363 * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
365 2005-09-11 Chris Toshok <toshok@ximian.com>
367 * HtmlInputFile.cs (set_Value): add a message to the
368 NotSupportedException.
370 * HtmlInputControl.cs (RenderAttributes): add Page != null to the
371 checks before we register our control with the
372 __enabledControlArray JS array.
374 2005-09-09 Chris Toshok <toshok@ximian.com>
376 * HtmlInputButton.cs (CausesValidation): this is stored in
377 Attributes, not ViewState.
378 (ValidationGroup): same.
379 (RenderAttributes): remove CausesValidation from the list of
380 Attributes before calling base.RenderAttributes. Don't, however,
381 remove ValidationGroup, to replicate an MS bug.
383 2005-09-07 Chris Toshok <toshok@ximian.com>
385 * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
386 (Name): not sure about this property.. the getter apparently just
387 returns UniqueID, and the setter does nothing that I can figure
389 (RenderAttributes): don't bother to remove "name", since it's not
390 in the attributes anyway.
392 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
394 * HtmlInputControl.cs: use the Name property instead of the ClientID.
395 The 'name' attribute rendered contains colons if inside a
398 2005-09-07 Chris Toshok <toshok@ximian.com>
400 * HtmlInputCheckBox.cs (Checked): uncomment the
401 MinimizableAttributeTypeConverter attribute.
403 * HtmlControl.cs (Disabled): uncomment the
404 MinimizableAttributeTypeConverter attribute.
406 * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
408 * HtmlTableCell.cs (NoWrap): uncomment the
409 MinimizableAttributeTypeConverter attribute.
411 * HtmlLink.cs (Href): remove the MonoTODO.
413 * HtmlMeta.cs (Name): remove the MonoTODO.
415 (Render): add (pretty bogus, really..) implementation. not sure
416 why we need this one.
418 2005-09-06 Chris Toshok <toshok@ximian.com>
420 * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
423 2005-09-06 Chris Toshok <toshok@ximian.com>
425 * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
428 2005-09-06 Chris Toshok <toshok@ximian.com>
430 * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
431 (AddedControl): move the HtmlTitle logic here.
432 (RemovedControl): clear out the title if that was the control that
435 * HtmlLink.cs: new implementation.
437 * HtmlMeta.cs: new implementation.
439 2005-09-06 Chris Toshok <toshok@ximian.com>
441 * HtmlInputControl.cs (RenderAttributes): add ourselves to the
442 __enabledControlArray JS array if we're currently enabled and the
443 form is set to SubmitDisabledControls.
445 * HtmlForm.cs (OnInit): call Page.RegisterForm here.
446 (DetermineRenderUplevel): split this out of OnPreRender and make
447 it internal so HtmlInputControl can call it.
448 (OnPreRender): add handling for SubmitDisabledControls.
450 2005-09-05 Chris Toshok <toshok@ximian.com>
452 * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
453 or in the ViewState. where then?
454 (DefaultFocus): this one is stored in the ViewState, not as an
456 (SubmitDisabledControls): implement just as a boolean flag, not in
457 the viewstate or attributes.
458 (RenderAttributes): defaultfocus and defaultbutton are no longer
461 2005-09-04 Chris Toshok <toshok@ximian.com>
463 * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
465 * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
467 * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
469 * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
470 way, and in OnPreRender, call Page.RegisterRequiresPostback.
472 * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
473 and in OnPreRender, call Page.RegisterRequiresPostback.
475 * HtmlInputRadioButton.cs (OnPreRender): call
476 Page.RegisterRequiresPostback.
478 * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
479 Also, in OnPreRender, call Page.RegisterRequiresPostback.
481 * HtmlTextArea.cs (OnPreRender): call
482 Page.RegisterRequiresPostback.
484 2005-09-02 Chris Toshok <toshok@ximian.com>
486 * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
488 2005-09-02 Chris Toshok <toshok@ximian.com>
490 * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
492 * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
493 raisepostdatachangedevent, and raisepostbackevent.
494 (validationgroup): implement.
496 * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
497 and raisepostdatachangedevent.
499 * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
500 and RaisePostDataChangedEvent.
502 * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
503 body of both RaisePostBackEvent impl's here, and fix it up so we
504 use the property Page.Validate call in 2.0.
505 (RaisePostBackEvent): call RaisePostBackEventInternal.
506 (IPostBackEventHandler.RaisePostBackEvent): same.
508 * HtmlImage.cs (Align): the test case shows that we don't need to
511 2005-09-01 Sebastien Pouliot <sebastien@ximian.com>
513 * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
514 HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
515 HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
516 HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
517 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
518 HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
519 HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
520 HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
521 HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
522 attributes AspNetHostingPermission for Minimal level on all classes
523 (LinkDemand) and for non-sealed classes (InheritanceDemand).
525 2005-08-29 Chris Toshok <toshok@ximian.com>
527 * System.Web.UI.HtmlControls/HtmlTableCell.cs,
528 System.Web.UI.HtmlControls/HtmlInputFile.cs,
529 System.Web.UI.HtmlControls/HtmlForm.cs,
530 System.Web.UI.HtmlControls/HtmlInputText.cs,
531 System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
532 System.Web.UI.HtmlControls/HtmlAnchor.cs,
533 System.Web.UI.HtmlControls/HtmlButton.cs,
534 System.Web.UI.HtmlControls/HtmlTextArea.cs,
535 System.Web.UI.HtmlControls/HtmlGenericControl.cs,
536 System.Web.UI.HtmlControls/HtmlSelect.cs,
537 System.Web.UI.HtmlControls/HtmlTableRow.cs,
538 System.Web.UI.HtmlControls/HtmlControl.cs,
539 System.Web.UI.HtmlControls/HtmlImage.cs,
540 System.Web.UI.HtmlControls/HtmlTable.cs,
541 System.Web.UI.HtmlControls/HtmlInputButton.cs,
542 System.Web.UI.HtmlControls/HtmlInputControl.cs,
543 System.Web.UI.HtmlControls/HtmlInputImage.cs,
544 System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
545 System.Web.UI.HtmlControls/HtmlInputHidden.cs,
546 System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
549 2005-08-29 Chris Toshok <toshok@ximian.com>
551 * HtmlInputSubmit.cs: new implementation.
553 * HtmlInputReset.cs (ValidationGroup): implement
555 * HtmlInputButton.cs (ValidationGroup): implement.
557 2005-08-29 Chris Toshok <toshok@ximian.com>
559 * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
563 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
565 * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
566 but not used. Call ResolveUrl when rendering the attributes instead.
568 2005-08-28 Chris Toshok <toshok@ximian.com>
570 * HtmlHeadBuilder.cs: this is public.
572 * HtmlSelectBuilder.cs: in 2.0 this is public.
574 * HtmlInputButton.cs: fix boilerplate.
576 * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
577 (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
578 Page.Validation(ValidationGroup).
580 2005-08-28 Chris Toshok <toshok@ximian.com>
582 * HtmlInputReset.cs: mostly complete implementation.
584 2005-08-28 Chris Toshok <toshok@ximian.com>
586 * HtmlInputPassword.cs: doh, make this NET_2_0 only.
588 2005-08-28 Chris Toshok <toshok@ximian.com>
590 * HtmlInputPassword.cs: implement.
592 2005-08-28 Chris Toshok <toshok@ximian.com>
594 * HtmlImage.cs: corcompare fixes.
596 * HtmlInputCheckBox.cs: same.
598 2005-08-27 Chris Toshok <toshok@ximian.com>
600 * HtmlControl.cs (GetAttribute, SetAttribute): implement.
602 2005-08-27 Chris Toshok <toshok@ximian.com>
604 * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
605 (OnPreRender): figure out (hackishly) if we're uplevel rendering.
606 If we have a default button/focus control set, register webform.js
607 as a client script block, and emit some JS to focus the control.
608 (RenderAttributes): verify that the DefaultButton attribute points
609 to a valid IButtonControl implementing control. Also remove the
610 defaultfocus/defaultbutton attributes before calling
611 base.RenderAttributes.
613 2005-08-27 Kornél Pál <kornelpal@hotmail.com>
615 * HtmlTableCell.cs: Fixed to use Consts.
617 2005-08-26 Chris Toshok <toshok@ximian.com>
619 * HtmlButton.cs (ValidationGroup): implement.
620 (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
621 one body of the actual RaisePostBackEvent code. Also, call
622 Page.Validate(ValidationGroup) in the 2.0 case.
624 2005-08-25 Miguel de Icaza <miguel@novell.com>
626 * HtmlHead.cs: Implement constructor, pass the tag.
628 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
630 * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
632 2005-08-25 Chris Toshok <toshok@ximian.com>
634 * HtmlForm.cs (CreateControlCollection, OnPreRender,
635 RenderControl): implement naively, just calling base.Method.
637 2005-08-25 Chris Toshok <toshok@ximian.com>
639 * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
640 the last '/' when rendering the action. Fixes comments in
643 2005-08-24 Chris Toshok <toshok@ximian.com>
645 * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
646 HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
647 HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
648 Add MonoTODO's for all NotImplementedException's.
650 2005-08-18 Dick Porter <dick@ximian.com>
652 * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
653 HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
654 HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
655 HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
656 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
657 HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
659 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
661 * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
662 Load method (bad choice) to DefaultLoadPostData.
664 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
666 * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
667 * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
668 method. Fixed support for protected LoadPostData and
669 RaisePostDataChangedEvent in 2.0 (recursion).
670 * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
671 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
672 * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
673 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
675 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
677 * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
678 for 2.0 profile. The class seems to be internal and not (yet?)
681 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
683 * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
684 * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
685 (at least) HtmlInputControl in 2.0 profile.
686 * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
687 * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
689 2005-08-09 Dick Porter <dick@ximian.com>
691 * HtmlSelect.cs: Clear databindings when adding a new one; cope
692 with assorted combinations of empty text and value fields; write
693 <option> tags manually to match ms HTML output. All fix nunit
696 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
698 * HtmlInputControl.cs: Remove code to handle password (wrong place)
699 and fixed type handling for 2.0.
700 * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
701 the type == password. Tests indicates that the value is present for
704 2005-08-05 Dick Porter <dick@ximian.com>
706 * HtmlSelect.cs: Fix databinding when one or other of Name and
707 Value aren't supplied (thanks to Peter for the patch); Make
708 <option> indenting match ms output.
710 2005-07-30 Ben Maurer <bmaurer@ximian.com>
712 * HtmlForm.cs: Make sure we actually put the "?" in the url
714 2005-07-29 Dick Porter <dick@ximian.com>
716 * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
717 instead of building the query string by hand
719 2005-07-27 Dick Porter <dick@ximian.com>
721 * HtmlInputCheckBox.cs: New implementation
723 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
725 * HtmlSelect.cs: Added missing attributes
727 2005-07-26 Dick Porter <dick@ximian.com>
729 * HtmlSelect.cs: New implementation
731 2005-07-26 Miguel de Icaza <miguel@novell.com>
733 * HtmlForm.cs: It is possible to have keys with no values in the
734 query string, do not try to process those on the foreach loop.
736 The question is: what should happen if I only get the key?
738 Example: file_with_a_form.aspx?a
740 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
742 * HtmlForml.cs: Implemented UniqueID (new in sp1)
743 * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
745 2005-07-24 Dick Porter <dick@ximian.com>
747 * HtmlForm.cs: Add the trailing query string to the form action;
748 fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
750 2005-07-22 Dick Porter <dick@ximian.com>
752 * HtmlInputFile.cs: Add assembly attributes
754 2005-07-21 Dick Porter <dick@ximian.com>
756 * HtmlImage.cs: The src attribute needs to be a relative URL;
757 close the HTML element when rendering attributes, to match the MS
760 * HtmlForm.cs: Added assembly attributes; don't render ID twice;
761 don't render enctype and target if they are empty strings;
762 implement a Render overload to keep corcompare quiet.
764 2005-07-20 Chris Toshok <toshok@ximian.com>
766 * HtmlForm.cs (RenderAttributes): if there are submit statements,
767 we need to render those.
769 * HtmlInputImage.cs: same.
771 * HtmlInputButton.cs: hook up the client validation stuff.
773 * HtmlButton.cs: same, except a lot more complicated due to
776 2005-07-19 Dick Porter <dick@ximian.com>
778 * HtmlImage.cs: Added attributes; use Int32.Parse instead of
781 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
783 * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
784 ControlID for Name (and not ID). Added ControlBuilder attribute.
785 * HtmlTable.cs: Simplify check when adding controls.
786 * HtmlTableRow.cs: Simplify check when adding controls.
788 2005-07-18 Jackson Harper <jackson@ximian.com>
790 * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
793 2005-07-15 Jackson Harper <jackson@ximian.com>
795 * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
796 constant. Update fetching from viewstate code to use new
799 2005-07-15 Jackson Harper <jackson@ximian.com>
801 * HtmlInputButton.cs: Add DefaultEventAttribute.
803 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
805 * HtmlInputControl.cs: Removed internal property (no more required to
807 * HtmlInputRadioButton.cs: Optimized events.
808 * HtmlInputText.cs: Optimized events.
809 * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
811 * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
813 * HtmlTextArea.cs: Optimized events.
815 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
817 * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
818 result) and fixed compatibility for a weird behaviour of the HRef
819 attribute handling. Optimized events.
821 2005-07-14 Jackson Harper <jackson@ximian.com>
823 * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
824 string constant. Use new method for accessing ViewState
825 data. Don't remove value from the view state if it is the default.
827 2005-07-14 Jackson Harper <jackson@ximian.com>
829 * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
830 string constant. Use new method for accessing ViewState
831 data. Don't remove value from the view state if it is the default.
833 2005-07-14 Dick Porter <dick@ximian.com>
835 * HtmlInputFile.cs: New implementation
837 2005-07-14 Jackson Harper <jackson@ximian.com>
839 * HtmlInputControl.cs: Use ClientID for input controls name.
841 2005-07-14 Dick Porter <dick@ximian.com>
843 * HtmlForm.cs: New Implementation
845 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
847 * HtmlTable.cs: Added missing attributes.
848 * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
849 as the builder's type isn't public.
850 * HtmlInputControl.cs: Added missing attributes.
851 * HtmlInputText.cs: Added missing attributes.
852 * HtmlInputRadioButton.cs: Added missing attributes.
853 * HtmlAnchor.cs: Added missing attributes.
854 * HtmlTextArea.cs: Added missing attributes.
855 * HtmlTableRow.cs: Added missing attributes.
857 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
859 * HtmlAnchor.cs: Added DefaultValue attributes.
860 * HtmlInputControl.cs: Added DefaultValue attributes.
861 * HtmlInputRadioButton.cs: Added DefaultValue attributes.
862 * HtmlInputText.cs: Added DefaultValue attributes. Added method
863 RenderAttributes in 1.1 profile.
864 * HtmlTable.cs: Fix DefaultValue to "".
865 * HtmlTextArea.cs: Added DefaultValue attributes.
867 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
869 * HtmlTableCell.cs: Added DefaultValue attributes.
870 * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
871 * HtmlTableRowCollection.cs: Reworked collection to share data with
873 * HtmlTableCellCollection.cs: Reworked collection to share data with
874 HtmlTableRow.Controls.
875 * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
877 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
879 * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
881 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
883 * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
885 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
887 * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
889 * HtmlTextArea.cs: New implementation.
891 2005-07-07 Jackson Harper <jackson@ximian.com>
893 * HtmlInputImage.cs: New implementation.
895 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
897 * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
898 * HtmlInputControl.cs: New implementation.
899 * HtmlInputRadioButton.cs: New implementation.
900 * HtmlInputText.cs: New implementation.
902 2005-07-07 Jackson Harper <jackson@ximian.com>
904 * HtmlInputHidden.cs: New implementation.
906 2005-07-07 Jackson Harper <jackson@ximian.com>
908 * HtmlAnchor.cs: Call base OnPreRender from override.
910 2005-07-07 Jackson Harper <jackson@ximian.com>
912 * HtmlInputButton.cs: New implementation.
914 2005-07-07 Dick Porter <dick@ximian.com>
916 * HtmlImage.cs: New implementation
918 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
920 * HtmlAnchor.cs: Fixed to remove attributes properly.
921 * HtmlTable.cs: New implementation.
922 * HtmlTableCell.cs: New implementation.
923 * HtmlTableCellCollection.cs: New implementation.
924 * HtmlTableRow.cs: New implementation.
925 * HtmlTableRowCollection.cs: New implementation.
927 2005-07-06 Jackson Harper <jackson@ximian.com>
929 * HtmlButton.cs: New implementation.
931 2005-07-06 Sebastien Pouliot <sebastien@ximian.com>
933 * HtmlAnchor.cs: New implementation.
935 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
938 * HtmlControl.cs: updates for 1.1 SP1.
940 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
942 * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
945 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
947 * HtmlHead.cs: Fix warning.
949 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
951 * HtmlForm.cs: Use the new WriteSubmitStatements method from
954 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
956 * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
957 Page.GetPostBackClientEvent since it is deprecated in 2.0.
959 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
961 * HtmlForm.cs: Register the form in the page, so the page knows
962 which is the main form.
964 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
966 * HtmlHead.cs: Method name fix.
968 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
970 * HtmlForm.cs: submitStatements holds Hashtables.
972 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
974 * HtmlHead.cs: Implemented.
975 * HtmlHeadBuilder.cs: Implemented.
976 * HtmlTitle.cs: Implemented.
978 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
980 * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
982 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
984 * HtmlForm.cs: fixed the Action property when running a different
985 page than the one requested (Transfer). Closes bug #69318.
987 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
989 * HtmlForm.cs: Add submit statements from the new Page.ClientScript
992 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
994 * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
995 it and failed when the browser was IE.
997 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
999 * HtmlForm.cs: default value for Enctype is "".
1000 * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
1001 we set it to "multipart/form-data". Fixes bug #58359.
1003 2004-01-15 Alon Gazit <along@mainsoft.com>
1004 * HtmlForm.cs: The property name always return the value of the
1007 2003-12-28 Alon Gazit <along@mainsoft.com>
1008 * HtmlSelect.cs: fix typo in LoadPostData().
1010 2003-12-29 Alon Gazit <along@mainsoft.com>
1011 * HtmlInputButton.cs: update the implementation of RenderAttributes().
1012 Change the if statement that determines if the onclick script is
1015 2003-12-28 Alon Gazit <along@mainsoft.com>
1016 * HtmlSelect.cs: add parentheses to if statement.
1017 Currently the else statement refers to the inner if statement.
1019 2003-12-28 Alon Gazit <along@mainsoft.com>
1020 * HtmlSelect.cs: fix upper bound of for statement.
1022 2003-12-19 Jackson Harper <jackson@ximian.com>
1024 * HtmlInputFile.cs: Do not set value when loading post data.
1026 2003-12-14 Alon Gazit <along@mainsoft.com>
1027 * HtmlInputButton.cs: The problem was in RenderAttributes().
1028 Before adding the script to the HTML, the number of Validators should
1029 be checked. fixes bug #52158.
1031 2003-12-07 Alon Gazit <along@mainsoft.com>
1032 * HtmlTableCell.cs: fixing a typo in NoWrap property.
1034 2003-12-04 Jackson Harper <jackson@ximian.com>
1036 * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
1037 value. This is because radio button groups are created by setting
1038 the name to the same value with each button, then on postback the
1039 value of the name is the id of the selected radio button.
1041 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1043 * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
1045 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1047 * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
1048 remove the code used to workaround that.
1050 2003-12-01 Jackson Harper <jackson@ximian.com>
1052 * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
1053 <along@mainsoft.com>.
1055 2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1057 * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
1058 <along@mainsoft.com>. Fixes bug #51377.
1060 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1062 * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
1063 <along@mainsoft.com>.
1065 2003-10-29 Jackson Harper <jackson@ximian.com>
1067 * HtmlControl.cs: Make disabled an attribute of the control so it
1068 is rendered. This is a slightly modifed version of a patch
1069 by Yaron Shkop. Fixes bug #50160.
1071 2003-10-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1073 * HtmlTextArea.cs: fixed infinite recursion.
1075 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1077 * HtmlForm.cs: render the onsubmit attribute.
1079 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1081 * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
1082 need to pass true here. Fixes bug #47918.
1084 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1086 * HtmlContainerControl.cs: Added attributes
1087 * HtmlControl.cs: Added attributes
1088 * HtmlInputControl.cs: Fixed public signature
1089 * HtmlInputRadioButton.cs: Fixed public signature
1090 * HtmlSelect.cs: Added missing attribute
1091 * HtmlTable.cs: Added missing attribute
1093 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1095 * HtmlSelect.cs: fixed bug #44894.
1097 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1100 * HtmlInputControl.cs:
1101 * HtmlSelect.cs: added control builder attribute.
1103 * HtmlSelectBuilder.cs: builder for HtmlSelect.
1105 * HtmlControlBuilder.cs: common builder for all HtmlControls.
1107 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1109 * HtmlControl.cs: _tagName is now internal.
1110 * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
1113 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1115 * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
1117 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1119 * HtmlInputButton.cs: fixed bug #35677.
1121 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1123 * HtmlInputControl.cs: fixed bug #35673.
1125 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1127 * HtmlInputText.cs: fixed bug #35670.
1129 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1131 * HtmlSelect.cs: fixed LoadViewstate.
1133 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1135 * HtmlButton.cs: make it do a POST if the button has any ServerClick
1138 2002-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1142 * HtmlContainerControl.cs:
1145 * HtmlGenericControl.cs:
1147 * HtmlInputButton.cs:
1148 * HtmlInputCheckBox.cs:
1149 * HtmlInputControl.cs:
1151 * HtmlInputHidden.cs:
1152 * HtmlInputImage.cs:
1153 * HtmlInputRadioButton.cs:
1159 * HtmlTextArea.cs: added almost all missing attributes.
1161 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1163 * HtmlControl.cs: the attributes must use ViewState as its StateBag,
1164 if not style values are lost between postbacks.
1166 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1170 * HtmlInputButton.cs:
1171 * HtmlInputCheckBox.cs:
1172 * HtmlInputHidden.cs:
1173 * HtmlInputImage.cs:
1175 * HtmlTextArea.cs: Initialize EventHandlerList indexer.
1177 * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
1178 instead of maintaining some flags and strings. Implemented
1181 * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
1183 * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
1186 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1188 * HtmlGenericControl.cs: fixed TagName signature and get/set.
1189 * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
1190 * HtmlInputText.cs: added attribute.
1192 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1194 * HtmlForm.cs: don't render action attribute.
1196 2002-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1198 * HtmlContainerControl.cs:
1199 (CreateControlCollection): added. All containers must have a non-empty
1202 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1204 * System.Web.UI.HtmlControls/HtmlAnchor.cs:
1205 * System.Web.UI.HtmlControls/HtmlButton.cs:
1206 * System.Web.UI.HtmlControls/HtmlControl.cs:
1207 * System.Web.UI.HtmlControls/HtmlForm.cs:
1208 * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
1209 * System.Web.UI.HtmlControls/HtmlInputButton.cs:
1210 * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
1211 * System.Web.UI.HtmlControls/HtmlInputControl.cs:
1212 * System.Web.UI.HtmlControls/HtmlInputFile.cs:
1213 * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
1214 * System.Web.UI.HtmlControls/HtmlInputImage.cs:
1215 * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
1216 * System.Web.UI.HtmlControls/HtmlInputText.cs:
1217 * System.Web.UI.HtmlControls/HtmlSelect.cs:
1218 * System.Web.UI.HtmlControls/HtmlTable.cs:
1219 * System.Web.UI.HtmlControls/HtmlTableCell.cs:
1220 * System.Web.UI.HtmlControls/HtmlTableRow.cs:
1221 * System.Web.UI.HtmlControls/HtmlTextArea.cs:
1223 Fixes based on class status page:
1225 - Add attributes (DefaultEvent, ParseChildren).
1227 - Explicitly implement some interfaces (IPostBackDataHandler
1228 and IPostBackEventHandler).
1229 - Implemented some missing methods.
1231 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1234 (RenderChildren): use OnFormRender and OnFormPostRender.
1236 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1239 (RenderAttributes): new -> override and fixes stack overflow.
1240 (RenderChildren): only 1 option can be selected at any given time
1241 except when Multiple property is true.
1242 (Multiple): the attribute value is either "true" or "false", not
1247 (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
1250 (RenderEndTag): new -> override.
1253 (RenderChildren): fixed another stack overflow.
1254 (RenderEndTag): new -> override.
1257 (RenderAttributes): new -> override.
1260 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1262 * HtmlInputHidden.cs: fixed constructor.
1264 * HtmlInputRadioButton.cs:
1265 (RenderAttributes): fixed stack overflow.
1268 (RenderedName): new -> override.
1270 (Value): new property.
1273 (RenderAttributes): fixed the same kind of stack overflow and make
1274 string comparison case insensitive.
1276 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1278 * HtmlForm.cs: fixed name of Enctype property and render enctype
1281 * HtmlInputControl.cs: tag type is "input", not "type".
1283 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1285 * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
1288 * HtmlForm.cs: Render output when no IE browser.
1290 * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
1291 though now it always use the other .ctor.
1293 * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
1295 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1297 * HtmlButton.cs: RenderAttributes is an override, not new.
1299 * HtmlContainerControl.cs: use the new Render method in HtmlControl.
1301 * HtmlControl.cs: added Render method to render the tag and its
1302 attributes. Works for container and non-containers.
1304 * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
1307 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1309 * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
1310 instead of Page.Server to encode InnerText.
1312 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1315 (RenderAttributes): new -> override and fixed little bug that made
1316 it cause an stack overflow.
1318 * HtmlContainerControl.cs: reformatted and added tag and attributes
1321 * HtmlGenericControl.cs: removed TagName, which is already in
1325 (RenderEndTag): new -> override.
1327 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1329 * System.Web.UI.HtmlControls/HtmlForm.cs:
1330 (RenderAttributes): changed new by override.
1331 (Name): allow setting the property.
1333 2002-05-10 Duncan Mak <duncan@ximian.com>
1335 * HtmlTableCellCollection.cs (this): Updated the indexer to return
1336 the right type, HtmlTableCell instead of HtmlTableRow.
1338 * HtmlInputImage.cs (OnServerClick): Commented out parts that
1341 * HtmlForm.cs (RenderAttributes):
1342 (RenderChildren): Commented out code that doesn't compile.
1344 2002-05-07 Duncan Mak <duncan@ximian.com>
1346 * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
1347 clashing with the method defined in the parent class.
1348 (OnDataBinding): Added missing casts.
1350 * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
1351 'this' to IAttributeAccessor before calling interface method.
1352 Also renamed some calls to reflect changes in the API.
1354 * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
1357 2001-09-03 Leen Toelen <toelen@hotmail.com>
1359 * HtmlAnchor.cs: Initial implementation.
1360 * HtmlTextArea.cs: Initial implementation.
1362 2001-08-22 Bob Smith <bob@thestuff.net>
1364 * HtmlContainerControl.cs: Initial implementation.
1365 * HtmlControl.cs: Initial implementation.
1366 * HtmlGenericControl.cs: Initial implementation.