1 2007-01-20 Miguel de Icaza <miguel@novell.com>
3 * HtmlHead.cs: comment out unused code, in particular metadata is
4 commented out because nothing could have triggered its creation.
6 * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
8 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
10 * HtmlLink.cs: fixed RenderAttributes, href should be resolved
12 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
14 * HtmlForm.cs, HtmlAnchor.cs: Added H2EE Portal support for TARGET_J2EE.
16 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
18 * HtmlInputImage.cs: to handle correctly relative URLs to the image.
20 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
22 * HtmlInputRadioButton.cs: fixed: LoadPostData.
24 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
26 * HtmlImputImage.cs: fixed: OnServerClick.
28 2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
30 * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
33 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
35 * HtmlForm.cs: refactoring: Registering of client scripts
38 2006-11-17 Marek Habersack <grendello@gmail.com>
40 * HtmlInputHidden.cs: Added support for event validation.
42 * HtmlInputCheckBox.cs: Added support for event validation.
44 * HtmlInputImage.cs: Added support for event validation.
46 * HtmlInputButton.cs: Added support for event validation.
48 * HtmlSelect.cs: Added support for event validation.
50 * HtmlTextArea.cs: Added support for event validation.
52 * HtmlButton.cs: Added support for event validation.
54 * HtmlInputRadioButton.cs: Added support for event validation.
56 * HtmlInputText.cs: Added support for event validation.
58 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
60 * HtmlContainerControl.cs: fixed: InnerHtml property
62 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
65 HtmlTitle control is created if it was not declared in .aspx
67 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
70 make rendering of the onclick attribute to consider ValidationGroup property
72 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
75 make rendering of the onclick attribute to consider ValidationGroup property
77 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
80 make rendering of the onclick attribute to consider ValidationGroup property
82 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
85 implemented CausesValidation and ValidationGroup properties
87 2006-09-10 Vladimir Krasnov <vladimirk@mainsoft.com>
89 * HtmlInputFile.cs: fixed Value property
91 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
93 * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.
95 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
98 * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant
101 2006-07-12 Andrew Skiba <andrews@mainsoft.com>
103 * HtmlInputControl.cs: remove obsolete #if NET_2_0
105 2006-06-06 Juraj Skripsky <js@hotfeet.ch>
107 * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
110 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
112 * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
115 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
117 * HtmlInputRadioButton.cs: Value returns the ID only when there's no
118 "value" set. Fixes bug #78101.
120 2006-03-19 Vladimir Krasnov <vladimirk@mainsoft.com>
122 * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty
123 it shouldn't be rendered
124 * HtmlForm.cs: fixed Method, default method "post" should be added if
125 its value null or empty string
126 * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null
127 value, the fix is to remove attributes with empty string value too
129 2006-02-23 Chris Toshok <toshok@ximian.com>
131 * HtmlButton.cs: fix corcompare output.
133 * HtmlInputButton.cs: same.
135 * HtmlInputImage.cs: same.
137 * HtmlInputReset.cs: same.
139 2006-01-22 Chris Toshok <toshok@ximian.com>
141 * HtmlInputButton.cs:
142 s/GetPostBackClientEvent/GetPostBackEventReference.
144 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
146 * HtmlTableRow.cs: Cells is virtual in latest 1.1.
148 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
150 * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
152 * HtmlTable.cs: moved WriteLine around.
154 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
156 * HtmlForm.cs: more class-status fixes.
158 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
160 * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
162 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
164 * HtmlTable.cs: use the base class RenderChildren, as '_rows'
165 might not be the actual collection being used. Fixes bug #76815.
167 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
169 * HtmlInputFile.cs: if no one else set the encoding type for the
170 containing form and there's a HtmlInputFile, set Enctype to
171 'multipart/form-data'. Fixes bug #76837.
173 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
175 * HtmlInputButton.cs: render the onclick attribute only when the
176 button is a 'submit' and no validators or when the button is a
177 'button' and there's a registered ServerClick event. Fixes bug #76781.
179 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
181 * HtmlForm.cs: register the form and require viewstate hidden field to
182 be rendered in Render() even if OnInit is not called.
184 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
186 * HtmlHead.cs: fix the 2.0 build.
188 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
190 * HtmlForm.cs: when transfering from one page to another and using
191 cookieless session, we were doing pretty bad. Now, if the current path
192 and the original are the same, we just use the filename. Otherwise
193 we make the action location be relative to the original URL.
195 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
197 * HtmlInputButton.cs: render the onclick for doing a postback even when
198 there are no validators.
200 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
202 * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
204 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
206 * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
207 [UrlProperty] on HRef property for 2.0.
208 * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
209 * HtmlHead.cs: Remove IPageHeader interface.
210 * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
211 * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
212 * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
213 * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
214 * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
215 [UrlProperty] on Src property for 2.0.
216 * HtmlInputPassword.cs: Added [SupportsEventValidation].
217 * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
218 * HtmlInputReset.cs: Added [SupportsEventValidation].
219 * HtmlInputSubmit.cs: Added [SupportsEventValidation].
220 * HtmlInputText.cs: Added [SupportsEventValidation] on class and
221 re-enabled RenderAttribute for 2.0.
222 * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
223 * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
224 * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
226 2005-09-18 Chris Toshok <toshok@ximian.com>
228 * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
229 instead of AddAttribute when dealing with "onclick."
231 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
233 * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
235 2005-09-11 Chris Toshok <toshok@ximian.com>
237 * HtmlInputFile.cs (set_Value): add a message to the
238 NotSupportedException.
240 * HtmlInputControl.cs (RenderAttributes): add Page != null to the
241 checks before we register our control with the
242 __enabledControlArray JS array.
244 2005-09-09 Chris Toshok <toshok@ximian.com>
246 * HtmlInputButton.cs (CausesValidation): this is stored in
247 Attributes, not ViewState.
248 (ValidationGroup): same.
249 (RenderAttributes): remove CausesValidation from the list of
250 Attributes before calling base.RenderAttributes. Don't, however,
251 remove ValidationGroup, to replicate an MS bug.
253 2005-09-07 Chris Toshok <toshok@ximian.com>
255 * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
256 (Name): not sure about this property.. the getter apparently just
257 returns UniqueID, and the setter does nothing that I can figure
259 (RenderAttributes): don't bother to remove "name", since it's not
260 in the attributes anyway.
262 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
264 * HtmlInputControl.cs: use the Name property instead of the ClientID.
265 The 'name' attribute rendered contains colons if inside a
268 2005-09-07 Chris Toshok <toshok@ximian.com>
270 * HtmlInputCheckBox.cs (Checked): uncomment the
271 MinimizableAttributeTypeConverter attribute.
273 * HtmlControl.cs (Disabled): uncomment the
274 MinimizableAttributeTypeConverter attribute.
276 * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
278 * HtmlTableCell.cs (NoWrap): uncomment the
279 MinimizableAttributeTypeConverter attribute.
281 * HtmlLink.cs (Href): remove the MonoTODO.
283 * HtmlMeta.cs (Name): remove the MonoTODO.
285 (Render): add (pretty bogus, really..) implementation. not sure
286 why we need this one.
288 2005-09-06 Chris Toshok <toshok@ximian.com>
290 * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
293 2005-09-06 Chris Toshok <toshok@ximian.com>
295 * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
298 2005-09-06 Chris Toshok <toshok@ximian.com>
300 * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
301 (AddedControl): move the HtmlTitle logic here.
302 (RemovedControl): clear out the title if that was the control that
305 * HtmlLink.cs: new implementation.
307 * HtmlMeta.cs: new implementation.
309 2005-09-06 Chris Toshok <toshok@ximian.com>
311 * HtmlInputControl.cs (RenderAttributes): add ourselves to the
312 __enabledControlArray JS array if we're currently enabled and the
313 form is set to SubmitDisabledControls.
315 * HtmlForm.cs (OnInit): call Page.RegisterForm here.
316 (DetermineRenderUplevel): split this out of OnPreRender and make
317 it internal so HtmlInputControl can call it.
318 (OnPreRender): add handling for SubmitDisabledControls.
320 2005-09-05 Chris Toshok <toshok@ximian.com>
322 * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
323 or in the ViewState. where then?
324 (DefaultFocus): this one is stored in the ViewState, not as an
326 (SubmitDisabledControls): implement just as a boolean flag, not in
327 the viewstate or attributes.
328 (RenderAttributes): defaultfocus and defaultbutton are no longer
331 2005-09-04 Chris Toshok <toshok@ximian.com>
333 * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
335 * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
337 * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
339 * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
340 way, and in OnPreRender, call Page.RegisterRequiresPostback.
342 * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
343 and in OnPreRender, call Page.RegisterRequiresPostback.
345 * HtmlInputRadioButton.cs (OnPreRender): call
346 Page.RegisterRequiresPostback.
348 * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
349 Also, in OnPreRender, call Page.RegisterRequiresPostback.
351 * HtmlTextArea.cs (OnPreRender): call
352 Page.RegisterRequiresPostback.
354 2005-09-02 Chris Toshok <toshok@ximian.com>
356 * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
358 2005-09-02 Chris Toshok <toshok@ximian.com>
360 * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
362 * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
363 raisepostdatachangedevent, and raisepostbackevent.
364 (validationgroup): implement.
366 * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
367 and raisepostdatachangedevent.
369 * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
370 and RaisePostDataChangedEvent.
372 * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
373 body of both RaisePostBackEvent impl's here, and fix it up so we
374 use the property Page.Validate call in 2.0.
375 (RaisePostBackEvent): call RaisePostBackEventInternal.
376 (IPostBackEventHandler.RaisePostBackEvent): same.
378 * HtmlImage.cs (Align): the test case shows that we don't need to
381 2005-09-01 Sebastien Pouliot <sebastien@ximian.com>
383 * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
384 HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
385 HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
386 HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
387 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
388 HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
389 HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
390 HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
391 HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
392 attributes AspNetHostingPermission for Minimal level on all classes
393 (LinkDemand) and for non-sealed classes (InheritanceDemand).
395 2005-08-29 Chris Toshok <toshok@ximian.com>
397 * System.Web.UI.HtmlControls/HtmlTableCell.cs,
398 System.Web.UI.HtmlControls/HtmlInputFile.cs,
399 System.Web.UI.HtmlControls/HtmlForm.cs,
400 System.Web.UI.HtmlControls/HtmlInputText.cs,
401 System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
402 System.Web.UI.HtmlControls/HtmlAnchor.cs,
403 System.Web.UI.HtmlControls/HtmlButton.cs,
404 System.Web.UI.HtmlControls/HtmlTextArea.cs,
405 System.Web.UI.HtmlControls/HtmlGenericControl.cs,
406 System.Web.UI.HtmlControls/HtmlSelect.cs,
407 System.Web.UI.HtmlControls/HtmlTableRow.cs,
408 System.Web.UI.HtmlControls/HtmlControl.cs,
409 System.Web.UI.HtmlControls/HtmlImage.cs,
410 System.Web.UI.HtmlControls/HtmlTable.cs,
411 System.Web.UI.HtmlControls/HtmlInputButton.cs,
412 System.Web.UI.HtmlControls/HtmlInputControl.cs,
413 System.Web.UI.HtmlControls/HtmlInputImage.cs,
414 System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
415 System.Web.UI.HtmlControls/HtmlInputHidden.cs,
416 System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
419 2005-08-29 Chris Toshok <toshok@ximian.com>
421 * HtmlInputSubmit.cs: new implementation.
423 * HtmlInputReset.cs (ValidationGroup): implement
425 * HtmlInputButton.cs (ValidationGroup): implement.
427 2005-08-29 Chris Toshok <toshok@ximian.com>
429 * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
433 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
435 * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
436 but not used. Call ResolveUrl when rendering the attributes instead.
438 2005-08-28 Chris Toshok <toshok@ximian.com>
440 * HtmlHeadBuilder.cs: this is public.
442 * HtmlSelectBuilder.cs: in 2.0 this is public.
444 * HtmlInputButton.cs: fix boilerplate.
446 * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
447 (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
448 Page.Validation(ValidationGroup).
450 2005-08-28 Chris Toshok <toshok@ximian.com>
452 * HtmlInputReset.cs: mostly complete implementation.
454 2005-08-28 Chris Toshok <toshok@ximian.com>
456 * HtmlInputPassword.cs: doh, make this NET_2_0 only.
458 2005-08-28 Chris Toshok <toshok@ximian.com>
460 * HtmlInputPassword.cs: implement.
462 2005-08-28 Chris Toshok <toshok@ximian.com>
464 * HtmlImage.cs: corcompare fixes.
466 * HtmlInputCheckBox.cs: same.
468 2005-08-27 Chris Toshok <toshok@ximian.com>
470 * HtmlControl.cs (GetAttribute, SetAttribute): implement.
472 2005-08-27 Chris Toshok <toshok@ximian.com>
474 * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
475 (OnPreRender): figure out (hackishly) if we're uplevel rendering.
476 If we have a default button/focus control set, register webform.js
477 as a client script block, and emit some JS to focus the control.
478 (RenderAttributes): verify that the DefaultButton attribute points
479 to a valid IButtonControl implementing control. Also remove the
480 defaultfocus/defaultbutton attributes before calling
481 base.RenderAttributes.
483 2005-08-27 Kornél Pál <kornelpal@hotmail.com>
485 * HtmlTableCell.cs: Fixed to use Consts.
487 2005-08-26 Chris Toshok <toshok@ximian.com>
489 * HtmlButton.cs (ValidationGroup): implement.
490 (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
491 one body of the actual RaisePostBackEvent code. Also, call
492 Page.Validate(ValidationGroup) in the 2.0 case.
494 2005-08-25 Miguel de Icaza <miguel@novell.com>
496 * HtmlHead.cs: Implement constructor, pass the tag.
498 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
500 * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
502 2005-08-25 Chris Toshok <toshok@ximian.com>
504 * HtmlForm.cs (CreateControlCollection, OnPreRender,
505 RenderControl): implement naively, just calling base.Method.
507 2005-08-25 Chris Toshok <toshok@ximian.com>
509 * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
510 the last '/' when rendering the action. Fixes comments in
513 2005-08-24 Chris Toshok <toshok@ximian.com>
515 * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
516 HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
517 HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
518 Add MonoTODO's for all NotImplementedException's.
520 2005-08-18 Dick Porter <dick@ximian.com>
522 * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
523 HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
524 HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
525 HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
526 HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
527 HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
529 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
531 * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
532 Load method (bad choice) to DefaultLoadPostData.
534 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
536 * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
537 * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
538 method. Fixed support for protected LoadPostData and
539 RaisePostDataChangedEvent in 2.0 (recursion).
540 * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
541 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
542 * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
543 LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
545 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
547 * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
548 for 2.0 profile. The class seems to be internal and not (yet?)
551 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
553 * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
554 * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
555 (at least) HtmlInputControl in 2.0 profile.
556 * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
557 * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
559 2005-08-09 Dick Porter <dick@ximian.com>
561 * HtmlSelect.cs: Clear databindings when adding a new one; cope
562 with assorted combinations of empty text and value fields; write
563 <option> tags manually to match ms HTML output. All fix nunit
566 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
568 * HtmlInputControl.cs: Remove code to handle password (wrong place)
569 and fixed type handling for 2.0.
570 * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
571 the type == password. Tests indicates that the value is present for
574 2005-08-05 Dick Porter <dick@ximian.com>
576 * HtmlSelect.cs: Fix databinding when one or other of Name and
577 Value aren't supplied (thanks to Peter for the patch); Make
578 <option> indenting match ms output.
580 2005-07-30 Ben Maurer <bmaurer@ximian.com>
582 * HtmlForm.cs: Make sure we actually put the "?" in the url
584 2005-07-29 Dick Porter <dick@ximian.com>
586 * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
587 instead of building the query string by hand
589 2005-07-27 Dick Porter <dick@ximian.com>
591 * HtmlInputCheckBox.cs: New implementation
593 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
595 * HtmlSelect.cs: Added missing attributes
597 2005-07-26 Dick Porter <dick@ximian.com>
599 * HtmlSelect.cs: New implementation
601 2005-07-26 Miguel de Icaza <miguel@novell.com>
603 * HtmlForm.cs: It is possible to have keys with no values in the
604 query string, do not try to process those on the foreach loop.
606 The question is: what should happen if I only get the key?
608 Example: file_with_a_form.aspx?a
610 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
612 * HtmlForml.cs: Implemented UniqueID (new in sp1)
613 * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
615 2005-07-24 Dick Porter <dick@ximian.com>
617 * HtmlForm.cs: Add the trailing query string to the form action;
618 fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
620 2005-07-22 Dick Porter <dick@ximian.com>
622 * HtmlInputFile.cs: Add assembly attributes
624 2005-07-21 Dick Porter <dick@ximian.com>
626 * HtmlImage.cs: The src attribute needs to be a relative URL;
627 close the HTML element when rendering attributes, to match the MS
630 * HtmlForm.cs: Added assembly attributes; don't render ID twice;
631 don't render enctype and target if they are empty strings;
632 implement a Render overload to keep corcompare quiet.
634 2005-07-20 Chris Toshok <toshok@ximian.com>
636 * HtmlForm.cs (RenderAttributes): if there are submit statements,
637 we need to render those.
639 * HtmlInputImage.cs: same.
641 * HtmlInputButton.cs: hook up the client validation stuff.
643 * HtmlButton.cs: same, except a lot more complicated due to
646 2005-07-19 Dick Porter <dick@ximian.com>
648 * HtmlImage.cs: Added attributes; use Int32.Parse instead of
651 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
653 * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
654 ControlID for Name (and not ID). Added ControlBuilder attribute.
655 * HtmlTable.cs: Simplify check when adding controls.
656 * HtmlTableRow.cs: Simplify check when adding controls.
658 2005-07-18 Jackson Harper <jackson@ximian.com>
660 * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
663 2005-07-15 Jackson Harper <jackson@ximian.com>
665 * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
666 constant. Update fetching from viewstate code to use new
669 2005-07-15 Jackson Harper <jackson@ximian.com>
671 * HtmlInputButton.cs: Add DefaultEventAttribute.
673 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
675 * HtmlInputControl.cs: Removed internal property (no more required to
677 * HtmlInputRadioButton.cs: Optimized events.
678 * HtmlInputText.cs: Optimized events.
679 * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
681 * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
683 * HtmlTextArea.cs: Optimized events.
685 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
687 * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
688 result) and fixed compatibility for a weird behaviour of the HRef
689 attribute handling. Optimized events.
691 2005-07-14 Jackson Harper <jackson@ximian.com>
693 * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
694 string constant. Use new method for accessing ViewState
695 data. Don't remove value from the view state if it is the default.
697 2005-07-14 Jackson Harper <jackson@ximian.com>
699 * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
700 string constant. Use new method for accessing ViewState
701 data. Don't remove value from the view state if it is the default.
703 2005-07-14 Dick Porter <dick@ximian.com>
705 * HtmlInputFile.cs: New implementation
707 2005-07-14 Jackson Harper <jackson@ximian.com>
709 * HtmlInputControl.cs: Use ClientID for input controls name.
711 2005-07-14 Dick Porter <dick@ximian.com>
713 * HtmlForm.cs: New Implementation
715 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
717 * HtmlTable.cs: Added missing attributes.
718 * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
719 as the builder's type isn't public.
720 * HtmlInputControl.cs: Added missing attributes.
721 * HtmlInputText.cs: Added missing attributes.
722 * HtmlInputRadioButton.cs: Added missing attributes.
723 * HtmlAnchor.cs: Added missing attributes.
724 * HtmlTextArea.cs: Added missing attributes.
725 * HtmlTableRow.cs: Added missing attributes.
727 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
729 * HtmlAnchor.cs: Added DefaultValue attributes.
730 * HtmlInputControl.cs: Added DefaultValue attributes.
731 * HtmlInputRadioButton.cs: Added DefaultValue attributes.
732 * HtmlInputText.cs: Added DefaultValue attributes. Added method
733 RenderAttributes in 1.1 profile.
734 * HtmlTable.cs: Fix DefaultValue to "".
735 * HtmlTextArea.cs: Added DefaultValue attributes.
737 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
739 * HtmlTableCell.cs: Added DefaultValue attributes.
740 * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
741 * HtmlTableRowCollection.cs: Reworked collection to share data with
743 * HtmlTableCellCollection.cs: Reworked collection to share data with
744 HtmlTableRow.Controls.
745 * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
747 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
749 * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
751 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
753 * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
755 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
757 * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
759 * HtmlTextArea.cs: New implementation.
761 2005-07-07 Jackson Harper <jackson@ximian.com>
763 * HtmlInputImage.cs: New implementation.
765 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
767 * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
768 * HtmlInputControl.cs: New implementation.
769 * HtmlInputRadioButton.cs: New implementation.
770 * HtmlInputText.cs: New implementation.
772 2005-07-07 Jackson Harper <jackson@ximian.com>
774 * HtmlInputHidden.cs: New implementation.
776 2005-07-07 Jackson Harper <jackson@ximian.com>
778 * HtmlAnchor.cs: Call base OnPreRender from override.
780 2005-07-07 Jackson Harper <jackson@ximian.com>
782 * HtmlInputButton.cs: New implementation.
784 2005-07-07 Dick Porter <dick@ximian.com>
786 * HtmlImage.cs: New implementation
788 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
790 * HtmlAnchor.cs: Fixed to remove attributes properly.
791 * HtmlTable.cs: New implementation.
792 * HtmlTableCell.cs: New implementation.
793 * HtmlTableCellCollection.cs: New implementation.
794 * HtmlTableRow.cs: New implementation.
795 * HtmlTableRowCollection.cs: New implementation.
797 2005-07-06 Jackson Harper <jackson@ximian.com>
799 * HtmlButton.cs: New implementation.
801 2005-07-06 Sebastien Pouliot <sebastien@ximian.com>
803 * HtmlAnchor.cs: New implementation.
805 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
808 * HtmlControl.cs: updates for 1.1 SP1.
810 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
812 * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
815 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
817 * HtmlHead.cs: Fix warning.
819 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
821 * HtmlForm.cs: Use the new WriteSubmitStatements method from
824 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
826 * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
827 Page.GetPostBackClientEvent since it is deprecated in 2.0.
829 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
831 * HtmlForm.cs: Register the form in the page, so the page knows
832 which is the main form.
834 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
836 * HtmlHead.cs: Method name fix.
838 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
840 * HtmlForm.cs: submitStatements holds Hashtables.
842 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
844 * HtmlHead.cs: Implemented.
845 * HtmlHeadBuilder.cs: Implemented.
846 * HtmlTitle.cs: Implemented.
848 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
850 * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
852 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
854 * HtmlForm.cs: fixed the Action property when running a different
855 page than the one requested (Transfer). Closes bug #69318.
857 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
859 * HtmlForm.cs: Add submit statements from the new Page.ClientScript
862 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
864 * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
865 it and failed when the browser was IE.
867 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
869 * HtmlForm.cs: default value for Enctype is "".
870 * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
871 we set it to "multipart/form-data". Fixes bug #58359.
873 2004-01-15 Alon Gazit <along@mainsoft.com>
874 * HtmlForm.cs: The property name always return the value of the
877 2003-12-28 Alon Gazit <along@mainsoft.com>
878 * HtmlSelect.cs: fix typo in LoadPostData().
880 2003-12-29 Alon Gazit <along@mainsoft.com>
881 * HtmlInputButton.cs: update the implementation of RenderAttributes().
882 Change the if statement that determines if the onclick script is
885 2003-12-28 Alon Gazit <along@mainsoft.com>
886 * HtmlSelect.cs: add parentheses to if statement.
887 Currently the else statement refers to the inner if statement.
889 2003-12-28 Alon Gazit <along@mainsoft.com>
890 * HtmlSelect.cs: fix upper bound of for statement.
892 2003-12-19 Jackson Harper <jackson@ximian.com>
894 * HtmlInputFile.cs: Do not set value when loading post data.
896 2003-12-14 Alon Gazit <along@mainsoft.com>
897 * HtmlInputButton.cs: The problem was in RenderAttributes().
898 Before adding the script to the HTML, the number of Validators should
899 be checked. fixes bug #52158.
901 2003-12-07 Alon Gazit <along@mainsoft.com>
902 * HtmlTableCell.cs: fixing a typo in NoWrap property.
904 2003-12-04 Jackson Harper <jackson@ximian.com>
906 * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
907 value. This is because radio button groups are created by setting
908 the name to the same value with each button, then on postback the
909 value of the name is the id of the selected radio button.
911 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
913 * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
915 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
917 * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
918 remove the code used to workaround that.
920 2003-12-01 Jackson Harper <jackson@ximian.com>
922 * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
923 <along@mainsoft.com>.
925 2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
927 * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
928 <along@mainsoft.com>. Fixes bug #51377.
930 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
932 * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
933 <along@mainsoft.com>.
935 2003-10-29 Jackson Harper <jackson@ximian.com>
937 * HtmlControl.cs: Make disabled an attribute of the control so it
938 is rendered. This is a slightly modifed version of a patch
939 by Yaron Shkop. Fixes bug #50160.
941 2003-10-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
943 * HtmlTextArea.cs: fixed infinite recursion.
945 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
947 * HtmlForm.cs: render the onsubmit attribute.
949 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
951 * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
952 need to pass true here. Fixes bug #47918.
954 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
956 * HtmlContainerControl.cs: Added attributes
957 * HtmlControl.cs: Added attributes
958 * HtmlInputControl.cs: Fixed public signature
959 * HtmlInputRadioButton.cs: Fixed public signature
960 * HtmlSelect.cs: Added missing attribute
961 * HtmlTable.cs: Added missing attribute
963 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
965 * HtmlSelect.cs: fixed bug #44894.
967 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
970 * HtmlInputControl.cs:
971 * HtmlSelect.cs: added control builder attribute.
973 * HtmlSelectBuilder.cs: builder for HtmlSelect.
975 * HtmlControlBuilder.cs: common builder for all HtmlControls.
977 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
979 * HtmlControl.cs: _tagName is now internal.
980 * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
983 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
985 * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
987 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
989 * HtmlInputButton.cs: fixed bug #35677.
991 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
993 * HtmlInputControl.cs: fixed bug #35673.
995 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
997 * HtmlInputText.cs: fixed bug #35670.
999 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1001 * HtmlSelect.cs: fixed LoadViewstate.
1003 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1005 * HtmlButton.cs: make it do a POST if the button has any ServerClick
1008 2002-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1012 * HtmlContainerControl.cs:
1015 * HtmlGenericControl.cs:
1017 * HtmlInputButton.cs:
1018 * HtmlInputCheckBox.cs:
1019 * HtmlInputControl.cs:
1021 * HtmlInputHidden.cs:
1022 * HtmlInputImage.cs:
1023 * HtmlInputRadioButton.cs:
1029 * HtmlTextArea.cs: added almost all missing attributes.
1031 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1033 * HtmlControl.cs: the attributes must use ViewState as its StateBag,
1034 if not style values are lost between postbacks.
1036 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1040 * HtmlInputButton.cs:
1041 * HtmlInputCheckBox.cs:
1042 * HtmlInputHidden.cs:
1043 * HtmlInputImage.cs:
1045 * HtmlTextArea.cs: Initialize EventHandlerList indexer.
1047 * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
1048 instead of maintaining some flags and strings. Implemented
1051 * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
1053 * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
1056 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1058 * HtmlGenericControl.cs: fixed TagName signature and get/set.
1059 * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
1060 * HtmlInputText.cs: added attribute.
1062 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1064 * HtmlForm.cs: don't render action attribute.
1066 2002-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1068 * HtmlContainerControl.cs:
1069 (CreateControlCollection): added. All containers must have a non-empty
1072 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1074 * System.Web.UI.HtmlControls/HtmlAnchor.cs:
1075 * System.Web.UI.HtmlControls/HtmlButton.cs:
1076 * System.Web.UI.HtmlControls/HtmlControl.cs:
1077 * System.Web.UI.HtmlControls/HtmlForm.cs:
1078 * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
1079 * System.Web.UI.HtmlControls/HtmlInputButton.cs:
1080 * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
1081 * System.Web.UI.HtmlControls/HtmlInputControl.cs:
1082 * System.Web.UI.HtmlControls/HtmlInputFile.cs:
1083 * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
1084 * System.Web.UI.HtmlControls/HtmlInputImage.cs:
1085 * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
1086 * System.Web.UI.HtmlControls/HtmlInputText.cs:
1087 * System.Web.UI.HtmlControls/HtmlSelect.cs:
1088 * System.Web.UI.HtmlControls/HtmlTable.cs:
1089 * System.Web.UI.HtmlControls/HtmlTableCell.cs:
1090 * System.Web.UI.HtmlControls/HtmlTableRow.cs:
1091 * System.Web.UI.HtmlControls/HtmlTextArea.cs:
1093 Fixes based on class status page:
1095 - Add attributes (DefaultEvent, ParseChildren).
1097 - Explicitly implement some interfaces (IPostBackDataHandler
1098 and IPostBackEventHandler).
1099 - Implemented some missing methods.
1101 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1104 (RenderChildren): use OnFormRender and OnFormPostRender.
1106 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1109 (RenderAttributes): new -> override and fixes stack overflow.
1110 (RenderChildren): only 1 option can be selected at any given time
1111 except when Multiple property is true.
1112 (Multiple): the attribute value is either "true" or "false", not
1117 (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
1120 (RenderEndTag): new -> override.
1123 (RenderChildren): fixed another stack overflow.
1124 (RenderEndTag): new -> override.
1127 (RenderAttributes): new -> override.
1130 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1132 * HtmlInputHidden.cs: fixed constructor.
1134 * HtmlInputRadioButton.cs:
1135 (RenderAttributes): fixed stack overflow.
1138 (RenderedName): new -> override.
1140 (Value): new property.
1143 (RenderAttributes): fixed the same kind of stack overflow and make
1144 string comparison case insensitive.
1146 2002-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1148 * HtmlForm.cs: fixed name of Enctype property and render enctype
1151 * HtmlInputControl.cs: tag type is "input", not "type".
1153 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1155 * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
1158 * HtmlForm.cs: Render output when no IE browser.
1160 * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
1161 though now it always use the other .ctor.
1163 * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
1165 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1167 * HtmlButton.cs: RenderAttributes is an override, not new.
1169 * HtmlContainerControl.cs: use the new Render method in HtmlControl.
1171 * HtmlControl.cs: added Render method to render the tag and its
1172 attributes. Works for container and non-containers.
1174 * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
1177 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1179 * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
1180 instead of Page.Server to encode InnerText.
1182 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1185 (RenderAttributes): new -> override and fixed little bug that made
1186 it cause an stack overflow.
1188 * HtmlContainerControl.cs: reformatted and added tag and attributes
1191 * HtmlGenericControl.cs: removed TagName, which is already in
1195 (RenderEndTag): new -> override.
1197 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1199 * System.Web.UI.HtmlControls/HtmlForm.cs:
1200 (RenderAttributes): changed new by override.
1201 (Name): allow setting the property.
1203 2002-05-10 Duncan Mak <duncan@ximian.com>
1205 * HtmlTableCellCollection.cs (this): Updated the indexer to return
1206 the right type, HtmlTableCell instead of HtmlTableRow.
1208 * HtmlInputImage.cs (OnServerClick): Commented out parts that
1211 * HtmlForm.cs (RenderAttributes):
1212 (RenderChildren): Commented out code that doesn't compile.
1214 2002-05-07 Duncan Mak <duncan@ximian.com>
1216 * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
1217 clashing with the method defined in the parent class.
1218 (OnDataBinding): Added missing casts.
1220 * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
1221 'this' to IAttributeAccessor before calling interface method.
1222 Also renamed some calls to reflect changes in the API.
1224 * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
1227 2001-09-03 Leen Toelen <toelen@hotmail.com>
1229 * HtmlAnchor.cs: Initial implementation.
1230 * HtmlTextArea.cs: Initial implementation.
1232 2001-08-22 Bob Smith <bob@thestuff.net>
1234 * HtmlContainerControl.cs: Initial implementation.
1235 * HtmlControl.cs: Initial implementation.
1236 * HtmlGenericControl.cs: Initial implementation.