C# 3.0 updates
[mono.git] / mcs / class / System.Web / System.Web.UI.HtmlControls / ChangeLog
1 2007-01-07 Igor Zelmanovich  <igorz@mainsoft.com>
2
3         * HtmlForm.cs: refactoring.
4
5 2007-12-13  Marek Habersack  <mhabersack@novell.com>
6
7         * HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
8         instead of String.Format in some cases.
9
10 2007-11-07  Juraj Skripsky  <js@hotfeet.ch>
11
12         * HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
13         Fixes bug #339426 for master pages.
14
15 2007-11-06  Marek Habersack  <mhabersack@novell.com>
16
17         * HtmlForm.cs: a small DetermineRenderUplevel optimization - the
18         result is now cached in a nullable boolean variable.
19         Render the 'onkeypress' attribute if DefaultButton is used. Fixes
20         bug #339426.
21
22 2007-08-27  Marek Habersack  <mhabersack@novell.com>
23
24         * HtmlForm.cs: make sure the ID is set before HtmlControls renders
25         the attributes. Fixes bug #82596
26
27 2007-08-05  Vladimir Krasnov  <vladimirk@mainsoft.com>
28
29         * HtmlHead.cs: refactoring, used AddAttribute overload without encoding
30         on known attribute values
31
32 2007-07-31  Vladimir Krasnov  <vladimirk@mainsoft.com>
33
34         * HtmlControl.cs: fixed PreProcessRelativeReference, should be used
35         ResolveClientUrl
36
37 2007-07-16  Marek Habersack  <mhabersack@novell.com>
38
39         * HtmlHeadBuilder.cs: the <meta> tag should be supported as well.
40
41         * HtmlTitle.cs: if the tag has any children, or the render method
42         delegate has been defined, render the children. Output the
43         contents of Text otherwise. Fixes bug #82102
44
45 2007-05-08  Marek Habersack  <mhabersack@novell.com>
46
47         * HtmlInputButton.cs: button of type 'reset' does not invoke
48         OnServerClick event.
49         'reset' buttons clear all the controls in the form to their
50         default values.
51
52 2007-05-04  Marek Habersack  <mhabersack@novell.com>
53
54         * HtmlAnchor.cs: use ResolveClientUrl when generating
55         attributes. Necessary if the control is in a master page which is
56         in a different directory than the current page.
57
58 2007-05-01  Marek Habersack  <mhabersack@novell.com>
59
60         * HtmlForm.cs: do not use User-Agent directly, we must take
61         ClientTarget into account.
62
63 2007-04-27  Marek Habersack  <mhabersack@novell.com>
64
65         * HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
66         paths that might happen in them.
67
68 2007-04-18  Igor Zelmanovich  <igorz@mainsoft.com>
69
70         * HtmlForm.cs: for TARGET_J2EE: 
71         used Page.Request.Browser to determine RenderUplevel
72
73 2007-04-17  Marek Habersack  <mhabersack@novell.com>
74
75         * HtmlForm.cs: use the new uplevel browser detection code.
76
77 2007-04-11  Marek Habersack  <mhabersack@novell.com>
78
79         * HtmlInputHidden.cs:
80         * HtmlSelect.cs:
81         * HtmlInputText.cs:
82         * HtmlSelect.cs:
83         * HtmlInputText.cs:
84         * HtmlInputImage.cs:
85         * HtmlInputFile.cs:
86         * HtmlInputCheckBox.cs:
87         * HtmlInputRadioButton.cs:
88         * HtmlInputImage.cs: do not register the control for post back
89         processing or if it's disabled.
90
91 2007-04-06  Marek Habersack  <mhabersack@novell.com>
92
93         * HtmlForm.cs: render the 'name' attribute only when in non-xhtml
94         compliant mode.
95
96 2007-02-19  Igor Zelmanovich  <igorz@mainsoft.com>
97
98         * HtmlInputCheckBox.cs:
99         * HtmlInputControl.cs:
100         * HtmlInputHidden.cs:
101         * HtmlInputRadioButton.cs:
102         * HtmlInputText.cs:
103         * HtmlSelect.cs:
104         * HtmlTextArea.cs:
105         fixed: Form.SubmitDisabledControls feature:     
106         not all HtmlInputControl need to be reenabled on client.                  
107
108 2007-02-18  Eyal Alaluf <eyala@mainsoft.com>
109
110         * HtmlForm.cs: Under TARGET_J2EE use Page.RenderResponse instead of
111           GetRenderResponse.
112
113 2007-01-20  Miguel de Icaza  <miguel@novell.com>
114
115         * HtmlHead.cs: comment out unused code, in particular metadata is
116         commented out because nothing could have triggered its creation.
117
118         * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
119
120 2007-01-16  Vladimir Krasnov  <vladimirk@mainsoft.com>
121
122         * HtmlLink.cs: fixed RenderAttributes, href should be resolved
123
124 2007-01-14  Eyal Alaluf  <eyala@mainsoft.com>
125
126         * HtmlForm.cs, HtmlAnchor.cs: Added J2EE Portal support for TARGET_J2EE.
127
128 2007-01-14  Eyal Alaluf  <eyala@mainsoft.com>
129
130         * HtmlInputImage.cs: to handle correctly relative URLs to the image.
131
132 2007-01-07  Igor Zelmanovich  <igorz@mainsoft.com>
133
134         * HtmlInputRadioButton.cs: fixed: LoadPostData.           
135
136 2007-01-07  Igor Zelmanovich  <igorz@mainsoft.com>
137
138         * HtmlImputImage.cs: fixed: OnServerClick.                
139
140 2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
141
142         * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
143         bug #76974.
144
145 2006-11-27  Igor Zelmanovich  <igorz@mainsoft.com>
146
147         * HtmlForm.cs: refactoring: Registering of client scripts
148         moved to Page.            
149
150 2006-11-17  Marek Habersack  <grendello@gmail.com>
151
152         * HtmlInputHidden.cs: Added support for event validation.
153
154         * HtmlInputCheckBox.cs: Added support for event validation.
155
156         * HtmlInputImage.cs: Added support for event validation.
157
158         * HtmlInputButton.cs: Added support for event validation.
159
160         * HtmlSelect.cs: Added support for event validation.
161
162         * HtmlTextArea.cs: Added support for event validation.
163
164         * HtmlButton.cs: Added support for event validation.
165
166         * HtmlInputRadioButton.cs: Added support for event validation.
167
168         * HtmlInputText.cs: Added support for event validation.
169
170 2006-11-13  Igor Zelmanovich  <igorz@mainsoft.com>
171
172         * HtmlContainerControl.cs: fixed: InnerHtml property  
173
174 2006-09-18  Igor Zelmanovich  <igorz@mainsoft.com>
175
176         * HtmlHead.cs: 
177         HtmlTitle control is created if it was not declared in .aspx    
178
179 2006-09-17  Igor Zelmanovich  <igorz@mainsoft.com>
180
181         * HtmlButton.cs: 
182         make rendering of the onclick attribute to consider ValidationGroup property    
183
184 2006-09-17  Igor Zelmanovich  <igorz@mainsoft.com>
185
186         * HtmlInputImage.cs: 
187         make rendering of the onclick attribute to consider ValidationGroup property    
188
189 2006-09-17  Igor Zelmanovich  <igorz@mainsoft.com>
190
191         * HtmlInputButton.cs: 
192         make rendering of the onclick attribute to consider ValidationGroup property    
193
194 2006-09-17  Igor Zelmanovich  <igorz@mainsoft.com>
195
196         * HtmlAnchor.cs: 
197         implemented CausesValidation and ValidationGroup properties     
198
199 2006-09-10  Vladimir Krasnov  <vladimirk@mainsoft.com>
200
201         * HtmlInputFile.cs: fixed Value property
202
203 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
204
205         * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.
206
207 2006-08-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
208
209         * HtmlTable.cs:
210         * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant
211         to .net
212
213 2006-07-12 Andrew Skiba <andrews@mainsoft.com>
214
215         * HtmlInputControl.cs: remove obsolete #if NET_2_0
216
217 2006-06-06 Juraj Skripsky <js@hotfeet.ch>
218
219         * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
220         Fixes bug #78591.
221
222 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
223
224         * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
225         bug #78074.
226
227 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
228
229         * HtmlInputRadioButton.cs: Value returns the ID only when there's no
230         "value" set. Fixes bug #78101.
231
232 2006-03-19  Vladimir Krasnov  <vladimirk@mainsoft.com>
233
234         * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty 
235         it shouldn't be rendered
236         * HtmlForm.cs: fixed Method, default method "post" should be added if 
237         its value null or empty string
238         * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null 
239         value, the fix is to remove attributes with empty string value too
240
241 2006-02-23  Chris Toshok  <toshok@ximian.com>
242
243         * HtmlButton.cs: fix corcompare output.
244
245         * HtmlInputButton.cs: same.
246
247         * HtmlInputImage.cs: same.
248
249         * HtmlInputReset.cs: same.
250
251 2006-01-22  Chris Toshok  <toshok@ximian.com>
252
253         * HtmlInputButton.cs:
254         s/GetPostBackClientEvent/GetPostBackEventReference.
255
256 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
257
258         * HtmlTableRow.cs: Cells is virtual in latest 1.1.
259
260 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
261
262         * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
263         for cells.
264         * HtmlTable.cs: moved WriteLine around.
265
266 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
267
268         * HtmlForm.cs: more class-status fixes.
269
270 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
271
272         * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
273
274 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
275
276         * HtmlTable.cs: use the base class RenderChildren, as '_rows'
277         might not be the actual collection being used. Fixes bug #76815.
278
279 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
280
281         * HtmlInputFile.cs: if no one else set the encoding type for the
282         containing form and there's a HtmlInputFile, set Enctype to
283         'multipart/form-data'. Fixes bug #76837.
284
285 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
286
287         * HtmlInputButton.cs: render the onclick attribute only when the
288         button is a 'submit' and no validators or when the button is a
289         'button' and there's a registered ServerClick event. Fixes bug #76781.
290
291 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
292
293         * HtmlForm.cs: register the form and require viewstate hidden field to
294         be rendered in Render() even if OnInit is not called.
295
296 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
297
298         * HtmlHead.cs: fix the 2.0 build.
299
300 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
301
302         * HtmlForm.cs: when transfering from one page to another and using
303         cookieless session, we were doing pretty bad. Now, if the current path
304         and the original are the same, we just use the filename. Otherwise
305         we make the action location be relative to the original URL.
306
307 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
308
309         * HtmlInputButton.cs: render the onclick for doing a postback even when
310         there are no validators.
311
312 2005-09-19  Sebastien Pouliot  <sebastien@ximian.com> 
313
314         * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
315         
316 2005-09-19  Sebastien Pouliot  <sebastien@ximian.com>
317
318         * HtmlAnchor.cs: Added [SupportsEventValidation] on class and 
319         [UrlProperty] on HRef property for 2.0.
320         * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
321         * HtmlHead.cs: Remove IPageHeader interface.
322         * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
323         * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
324         * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
325         * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
326         * HtmlInputImage.cs: Added [SupportsEventValidation] on class and 
327         [UrlProperty] on Src property for 2.0.
328         * HtmlInputPassword.cs: Added [SupportsEventValidation].
329         * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
330         * HtmlInputReset.cs: Added [SupportsEventValidation].
331         * HtmlInputSubmit.cs: Added [SupportsEventValidation].
332         * HtmlInputText.cs: Added [SupportsEventValidation] on class and 
333         re-enabled RenderAttribute for 2.0.
334         * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
335         * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
336         * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
337
338 2005-09-18  Chris Toshok  <toshok@ximian.com>
339
340         * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
341         instead of AddAttribute when dealing with "onclick."
342
343 2005-09-14  Sebastien Pouliot  <sebastien@ximian.com>
344
345         * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
346
347 2005-09-11  Chris Toshok  <toshok@ximian.com>
348
349         * HtmlInputFile.cs (set_Value): add a message to the
350         NotSupportedException.
351
352         * HtmlInputControl.cs (RenderAttributes): add Page != null to the
353         checks before we register our control with the
354         __enabledControlArray JS array.
355
356 2005-09-09  Chris Toshok  <toshok@ximian.com>
357
358         * HtmlInputButton.cs (CausesValidation): this is stored in
359         Attributes, not ViewState.
360         (ValidationGroup): same.
361         (RenderAttributes): remove CausesValidation from the list of
362         Attributes before calling base.RenderAttributes.  Don't, however,
363         remove ValidationGroup, to replicate an MS bug.
364
365 2005-09-07  Chris Toshok  <toshok@ximian.com>
366
367         * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
368         (Name): not sure about this property.. the getter apparently just
369         returns UniqueID, and the setter does nothing that I can figure
370         out.
371         (RenderAttributes): don't bother to remove "name", since it's not
372         in the attributes anyway.
373
374 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
375
376         * HtmlInputControl.cs: use the Name property instead of the ClientID.
377         The 'name' attribute rendered contains colons if inside a
378         NamingContainer.
379
380 2005-09-07  Chris Toshok  <toshok@ximian.com>
381
382         * HtmlInputCheckBox.cs (Checked): uncomment the
383         MinimizableAttributeTypeConverter attribute.
384
385         * HtmlControl.cs (Disabled): uncomment the
386         MinimizableAttributeTypeConverter attribute.
387
388         * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
389
390         * HtmlTableCell.cs (NoWrap): uncomment the
391         MinimizableAttributeTypeConverter attribute.
392
393         * HtmlLink.cs (Href): remove the MonoTODO.
394
395         * HtmlMeta.cs (Name): remove the MonoTODO.
396         (Scheme): same.
397         (Render): add (pretty bogus, really..) implementation.  not sure
398         why we need this one.
399
400 2005-09-06  Chris Toshok  <toshok@ximian.com>
401
402         * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
403         null.
404
405 2005-09-06  Chris Toshok  <toshok@ximian.com>
406
407         * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
408         ID.
409
410 2005-09-06  Chris Toshok  <toshok@ximian.com>
411
412         * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
413         (AddedControl): move the HtmlTitle logic here.
414         (RemovedControl): clear out the title if that was the control that
415         was removed.
416
417         * HtmlLink.cs: new implementation.
418
419         * HtmlMeta.cs: new implementation.
420
421 2005-09-06  Chris Toshok  <toshok@ximian.com>
422
423         * HtmlInputControl.cs (RenderAttributes): add ourselves to the
424         __enabledControlArray JS array if we're currently enabled and the
425         form is set to SubmitDisabledControls.
426
427         * HtmlForm.cs (OnInit): call Page.RegisterForm here.
428         (DetermineRenderUplevel): split this out of OnPreRender and make
429         it internal so HtmlInputControl can call it.
430         (OnPreRender): add handling for SubmitDisabledControls.
431
432 2005-09-05  Chris Toshok  <toshok@ximian.com>
433
434         * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
435         or in the ViewState.  where then?
436         (DefaultFocus): this one is stored in the ViewState, not as an
437         Attribute.
438         (SubmitDisabledControls): implement just as a boolean flag, not in
439         the viewstate or attributes.
440         (RenderAttributes): defaultfocus and defaultbutton are no longer
441         in Attributes.
442
443 2005-09-04  Chris Toshok  <toshok@ximian.com>
444
445         * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
446         
447         * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
448         
449         * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
450
451         * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
452         way, and in OnPreRender, call Page.RegisterRequiresPostback.
453
454         * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
455         and in OnPreRender, call Page.RegisterRequiresPostback.
456
457         * HtmlInputRadioButton.cs (OnPreRender): call
458         Page.RegisterRequiresPostback.
459         
460         * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
461         Also, in OnPreRender, call Page.RegisterRequiresPostback.
462
463         * HtmlTextArea.cs (OnPreRender): call
464         Page.RegisterRequiresPostback.
465
466 2005-09-02  Chris Toshok  <toshok@ximian.com>
467
468         * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
469
470 2005-09-02  Chris Toshok  <toshok@ximian.com>
471
472         * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
473
474         * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
475         raisepostdatachangedevent, and raisepostbackevent.
476         (validationgroup): implement.
477
478         * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
479         and raisepostdatachangedevent.
480
481         * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
482         and RaisePostDataChangedEvent.
483
484         * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
485         body of both RaisePostBackEvent impl's here, and fix it up so we
486         use the property Page.Validate call in 2.0.
487         (RaisePostBackEvent): call RaisePostBackEventInternal.
488         (IPostBackEventHandler.RaisePostBackEvent): same.
489
490         * HtmlImage.cs (Align): the test case shows that we don't need to
491         validate input.
492
493 2005-09-01  Sebastien Pouliot  <sebastien@ximian.com>
494
495         * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
496         HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
497         HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
498         HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs, 
499         HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
500         HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
501         HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
502         HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs, 
503         HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
504         attributes AspNetHostingPermission for Minimal level on all classes
505         (LinkDemand) and for non-sealed classes (InheritanceDemand).
506
507 2005-08-29  Chris Toshok  <toshok@ximian.com>
508
509         * System.Web.UI.HtmlControls/HtmlTableCell.cs,
510         System.Web.UI.HtmlControls/HtmlInputFile.cs,
511         System.Web.UI.HtmlControls/HtmlForm.cs,
512         System.Web.UI.HtmlControls/HtmlInputText.cs,
513         System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
514         System.Web.UI.HtmlControls/HtmlAnchor.cs,
515         System.Web.UI.HtmlControls/HtmlButton.cs,
516         System.Web.UI.HtmlControls/HtmlTextArea.cs,
517         System.Web.UI.HtmlControls/HtmlGenericControl.cs,
518         System.Web.UI.HtmlControls/HtmlSelect.cs,
519         System.Web.UI.HtmlControls/HtmlTableRow.cs,
520         System.Web.UI.HtmlControls/HtmlControl.cs,
521         System.Web.UI.HtmlControls/HtmlImage.cs,
522         System.Web.UI.HtmlControls/HtmlTable.cs,
523         System.Web.UI.HtmlControls/HtmlInputButton.cs,
524         System.Web.UI.HtmlControls/HtmlInputControl.cs,
525         System.Web.UI.HtmlControls/HtmlInputImage.cs,
526         System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
527         System.Web.UI.HtmlControls/HtmlInputHidden.cs,
528         System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
529         attributes.
530
531 2005-08-29  Chris Toshok  <toshok@ximian.com>
532
533         * HtmlInputSubmit.cs: new implementation.
534         
535         * HtmlInputReset.cs (ValidationGroup): implement
536
537         * HtmlInputButton.cs (ValidationGroup): implement.
538
539 2005-08-29  Chris Toshok  <toshok@ximian.com>
540
541         * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
542
543         * HtmlForm.cs: same.
544
545 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
546
547         * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
548         but not used.  Call ResolveUrl when rendering the attributes instead.
549
550 2005-08-28  Chris Toshok  <toshok@ximian.com>
551
552         * HtmlHeadBuilder.cs: this is public.
553
554         * HtmlSelectBuilder.cs: in 2.0 this is public.
555
556         * HtmlInputButton.cs: fix boilerplate.
557
558         * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
559         (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
560         Page.Validation(ValidationGroup).
561
562 2005-08-28  Chris Toshok  <toshok@ximian.com>
563
564         * HtmlInputReset.cs: mostly complete implementation.
565
566 2005-08-28  Chris Toshok  <toshok@ximian.com>
567
568         * HtmlInputPassword.cs: doh, make this NET_2_0 only.
569
570 2005-08-28  Chris Toshok  <toshok@ximian.com>
571
572         * HtmlInputPassword.cs: implement.
573
574 2005-08-28  Chris Toshok  <toshok@ximian.com>
575
576         * HtmlImage.cs: corcompare fixes.
577
578         * HtmlInputCheckBox.cs: same.
579
580 2005-08-27  Chris Toshok  <toshok@ximian.com>
581
582         * HtmlControl.cs (GetAttribute, SetAttribute): implement.
583
584 2005-08-27  Chris Toshok  <toshok@ximian.com>
585
586         * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
587         (OnPreRender): figure out (hackishly) if we're uplevel rendering.
588         If we have a default button/focus control set, register webform.js
589         as a client script block, and emit some JS to focus the control.
590         (RenderAttributes): verify that the DefaultButton attribute points
591         to a valid IButtonControl implementing control.  Also remove the
592         defaultfocus/defaultbutton attributes before calling
593         base.RenderAttributes.
594
595 2005-08-27  Kornél Pál  <kornelpal@hotmail.com>
596
597         * HtmlTableCell.cs: Fixed to use Consts.
598
599 2005-08-26  Chris Toshok  <toshok@ximian.com>
600
601         * HtmlButton.cs (ValidationGroup): implement.
602         (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
603         one body of the actual RaisePostBackEvent code.  Also, call
604         Page.Validate(ValidationGroup) in the 2.0 case.
605
606 2005-08-25  Miguel de Icaza  <miguel@novell.com>
607
608         * HtmlHead.cs: Implement constructor, pass the tag.
609
610 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>
611
612         * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
613
614 2005-08-25  Chris Toshok  <toshok@ximian.com>
615
616         * HtmlForm.cs (CreateControlCollection, OnPreRender,
617         RenderControl): implement naively, just calling base.Method.
618
619 2005-08-25  Chris Toshok  <toshok@ximian.com>
620
621         * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
622         the last '/' when rendering the action.  Fixes comments in
623         nGallery.
624
625 2005-08-24  Chris Toshok  <toshok@ximian.com>
626
627         * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
628         HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
629         HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
630         Add MonoTODO's for all NotImplementedException's.
631
632 2005-08-18  Dick Porter  <dick@ximian.com>
633
634         * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
635         HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
636         HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
637         HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
638         HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
639         HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
640
641 2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>
642
643         * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed 
644         Load method (bad choice) to DefaultLoadPostData.
645
646 2005-08-15  Sebastien Pouliot  <sebastien@ximian.com> 
647  
648         * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
649         * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData 
650         method. Fixed support for protected LoadPostData and 
651         RaisePostDataChangedEvent in 2.0 (recursion).
652         * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
653         LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
654         * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
655         LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
656
657 2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>
658
659         * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap 
660         for 2.0 profile. The class seems to be internal and not (yet?) 
661         implemented.
662
663 2005-08-13  Sebastien Pouliot  <sebastien@ximian.com>
664
665         * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
666         * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
667         (at least) HtmlInputControl in 2.0 profile.
668         * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
669         * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
670
671 2005-08-09  Dick Porter  <dick@ximian.com>
672
673         * HtmlSelect.cs: Clear databindings when adding a new one; cope
674         with assorted combinations of empty text and value fields; write
675         <option> tags manually to match ms HTML output.  All fix nunit
676         tests.
677
678 2005-08-08  Sebastien Pouliot  <sebastien@ximian.com>
679
680         * HtmlInputControl.cs: Remove code to handle password (wrong place) 
681         and fixed type handling for 2.0.
682         * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
683         the type == password. Tests indicates that the value is present for 
684         2.0.
685
686 2005-08-05  Dick Porter  <dick@ximian.com>
687
688         * HtmlSelect.cs: Fix databinding when one or other of Name and
689         Value aren't supplied (thanks to Peter for the patch); Make
690         <option> indenting match ms output.
691
692 2005-07-30  Ben Maurer  <bmaurer@ximian.com>
693
694         * HtmlForm.cs: Make sure we actually put the "?" in the url
695
696 2005-07-29  Dick Porter  <dick@ximian.com>
697
698         * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
699         instead of building the query string by hand
700
701 2005-07-27  Dick Porter  <dick@ximian.com>
702
703         * HtmlInputCheckBox.cs: New implementation
704
705 2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>
706
707         * HtmlSelect.cs: Added missing attributes
708
709 2005-07-26  Dick Porter  <dick@ximian.com>
710
711         * HtmlSelect.cs: New implementation
712
713 2005-07-26  Miguel de Icaza  <miguel@novell.com>
714
715         * HtmlForm.cs: It is possible to have keys with no values in the
716         query string, do not try to process those on the foreach loop.
717         
718         The question is: what should happen if I only get the key?
719
720         Example: file_with_a_form.aspx?a
721
722 2005-07-25  Peter Dennis Bartok  <pbartok@novell.com>
723
724         * HtmlForml.cs: Implemented UniqueID (new in sp1)
725         * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
726
727 2005-07-24  Dick Porter  <dick@ximian.com>
728
729         * HtmlForm.cs: Add the trailing query string to the form action;
730         fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
731
732 2005-07-22  Dick Porter  <dick@ximian.com>
733
734         * HtmlInputFile.cs: Add assembly attributes
735
736 2005-07-21  Dick Porter  <dick@ximian.com>
737
738         * HtmlImage.cs: The src attribute needs to be a relative URL;
739         close the HTML element when rendering attributes, to match the MS
740         impl.
741
742         * HtmlForm.cs: Added assembly attributes; don't render ID twice;
743         don't render enctype and target if they are empty strings;
744         implement a Render overload to keep corcompare quiet.
745
746 2005-07-20  Chris Toshok  <toshok@ximian.com>
747
748         * HtmlForm.cs (RenderAttributes): if there are submit statements,
749         we need to render those.
750
751         * HtmlInputImage.cs: same.
752
753         * HtmlInputButton.cs: hook up the client validation stuff.
754
755         * HtmlButton.cs: same, except a lot more complicated due to
756         postback handling.
757
758 2005-07-19  Dick Porter  <dick@ximian.com>
759
760         * HtmlImage.cs: Added attributes; use Int32.Parse instead of
761         Convert.ToInt32
762
763 2005-07-18  Sebastien Pouliot  <sebastien@ximian.com> 
764  
765         * HtmlInputControl.cs: Fix Type when using ctor(null). Now use 
766         ControlID for Name (and not ID). Added ControlBuilder attribute.
767         * HtmlTable.cs: Simplify check when adding controls.
768         * HtmlTableRow.cs: Simplify check when adding controls.
769
770 2005-07-18  Jackson Harper  <jackson@ximian.com>
771
772         * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
773         attribute.
774
775 2005-07-15  Jackson Harper  <jackson@ximian.com>
776
777         * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
778         constant. Update fetching from viewstate code to use new
779         convenience method.
780
781 2005-07-15  Jackson Harper  <jackson@ximian.com>
782
783         * HtmlInputButton.cs: Add DefaultEventAttribute.
784
785 2005-07-15  Sebastien Pouliot  <sebastien@ximian.com>
786  
787         * HtmlInputControl.cs: Removed internal property (no more required to 
788         compile).
789         * HtmlInputRadioButton.cs: Optimized events.
790         * HtmlInputText.cs: Optimized events.
791         * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing 
792         strings to integers.
793         * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing 
794         strings to integers.
795         * HtmlTextArea.cs: Optimized events.
796
797 2005-07-15  Sebastien Pouliot  <sebastien@ximian.com> 
798
799         * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected 
800         result) and fixed compatibility for a weird behaviour of the HRef 
801         attribute handling. Optimized events.
802
803 2005-07-14  Jackson Harper  <jackson@ximian.com>
804
805         * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
806         string constant. Use new method for accessing ViewState
807         data. Don't remove value from the view state if it is the default.
808
809 2005-07-14  Jackson Harper  <jackson@ximian.com>
810
811         * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
812         string constant. Use new method for accessing ViewState
813         data. Don't remove value from the view state if it is the default.
814         
815 2005-07-14  Dick Porter  <dick@ximian.com>
816
817         * HtmlInputFile.cs: New implementation
818
819 2005-07-14  Jackson Harper  <jackson@ximian.com>
820
821         * HtmlInputControl.cs: Use ClientID for input controls name.
822
823 2005-07-14  Dick Porter  <dick@ximian.com>
824
825         * HtmlForm.cs: New Implementation
826
827 2005-07-13  Sebastien Pouliot  <sebastien@ximian.com> 
828
829         * HtmlTable.cs: Added missing attributes.
830         * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
831         as the builder's type isn't public.
832         * HtmlInputControl.cs: Added missing attributes.
833         * HtmlInputText.cs: Added missing attributes.
834         * HtmlInputRadioButton.cs: Added missing attributes.
835         * HtmlAnchor.cs: Added missing attributes.
836         * HtmlTextArea.cs: Added missing attributes.
837         * HtmlTableRow.cs: Added missing attributes.
838
839 2005-07-12  Sebastien Pouliot  <sebastien@ximian.com> 
840
841         * HtmlAnchor.cs: Added DefaultValue attributes.
842         * HtmlInputControl.cs: Added DefaultValue attributes.
843         * HtmlInputRadioButton.cs: Added DefaultValue attributes.
844         * HtmlInputText.cs: Added DefaultValue attributes. Added method 
845         RenderAttributes in 1.1 profile.
846         * HtmlTable.cs: Fix DefaultValue to "".
847         * HtmlTextArea.cs: Added DefaultValue attributes.
848
849 2005-07-12  Sebastien Pouliot  <sebastien@ximian.com> 
850
851         * HtmlTableCell.cs: Added DefaultValue attributes.
852         * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
853         * HtmlTableRowCollection.cs: Reworked collection to share data with
854         HtmlTable.Controls.
855         * HtmlTableCellCollection.cs: Reworked collection to share data with
856         HtmlTableRow.Controls.
857         * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
858
859 2005-07-09  Sebastien Pouliot  <sebastien@ximian.com> 
860
861         * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
862
863 2005-07-08  Sebastien Pouliot  <sebastien@ximian.com> 
864  
865         * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
866
867 2005-07-08  Sebastien Pouliot  <sebastien@ximian.com>
868
869         * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
870         "innerhtml".
871         * HtmlTextArea.cs: New implementation.
872
873 2005-07-07  Jackson Harper  <jackson@ximian.com>
874
875         * HtmlInputImage.cs: New implementation.
876
877 2005-07-07  Sebastien Pouliot  <sebastien@ximian.com>
878
879         * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
880         * HtmlInputControl.cs: New implementation.
881         * HtmlInputRadioButton.cs: New implementation.
882         * HtmlInputText.cs: New implementation.
883
884 2005-07-07  Jackson Harper  <jackson@ximian.com>
885
886         * HtmlInputHidden.cs: New implementation.
887
888 2005-07-07  Jackson Harper  <jackson@ximian.com>
889
890         * HtmlAnchor.cs: Call base OnPreRender from override.
891
892 2005-07-07  Jackson Harper  <jackson@ximian.com>
893
894         * HtmlInputButton.cs: New implementation.
895
896 2005-07-07  Dick Porter  <dick@ximian.com>
897
898         * HtmlImage.cs: New implementation
899
900 2005-07-07  Sebastien Pouliot  <sebastien@ximian.com>
901
902         * HtmlAnchor.cs: Fixed to remove attributes properly.
903         * HtmlTable.cs: New implementation.
904         * HtmlTableCell.cs: New implementation.
905         * HtmlTableCellCollection.cs: New implementation.
906         * HtmlTableRow.cs: New implementation.
907         * HtmlTableRowCollection.cs: New implementation.
908
909 2005-07-06  Jackson Harper  <jackson@ximian.com>
910
911         * HtmlButton.cs: New implementation.
912
913 2005-07-06  Sebastien Pouliot  <sebastien@ximian.com>
914
915         * HtmlAnchor.cs: New implementation.
916
917 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
918
919         * HtmlTableCell.cs:
920         * HtmlControl.cs: updates for 1.1 SP1.
921
922 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
923
924         * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
925         number 74989.
926
927 2005-05-06  Lluis Sanchez Gual <lluis@novell.com>
928
929         * HtmlHead.cs: Fix warning.
930
931 2005-04-22  Lluis Sanchez Gual <lluis@novell.com>
932
933         * HtmlForm.cs: Use the new WriteSubmitStatements method from
934         Page.ClientScript.
935
936 2005-03-11  Lluis Sanchez Gual <lluis@novell.com>
937
938         * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
939         Page.GetPostBackClientEvent since it is deprecated in 2.0.
940
941 2005-02-25  Lluis Sanchez Gual <lluis@novell.com>
942
943         * HtmlForm.cs: Register the form in the page, so the page knows
944         which is the main form.
945
946 2005-02-18  Lluis Sanchez Gual <lluis@novell.com>
947
948         * HtmlHead.cs: Method name fix.
949
950 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
951
952         * HtmlForm.cs: submitStatements holds Hashtables.
953
954 2004-12-20  Lluis Sanchez Gual <lluis@novell.com>
955
956         * HtmlHead.cs: Implemented.
957         * HtmlHeadBuilder.cs: Implemented.
958         * HtmlTitle.cs: Implemented.
959
960 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
961
962         * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
963
964 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
965
966         * HtmlForm.cs: fixed the Action property when running a different
967         page than the one requested (Transfer). Closes bug #69318.
968
969 2004-11-26  Lluis Sanchez Gual <lluis@novell.com>
970
971         * HtmlForm.cs: Add submit statements from the new Page.ClientScript
972         property.
973
974 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
975
976         * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
977         it and failed when the browser was IE.
978
979 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
980
981         * HtmlForm.cs: default value for Enctype is "".
982         * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
983         we set it to "multipart/form-data". Fixes bug #58359.
984
985 2004-01-15  Alon Gazit <along@mainsoft.com>
986         * HtmlForm.cs: The property name always return the value of the
987         property UniqueID.
988
989 2003-12-28  Alon Gazit <along@mainsoft.com>
990         * HtmlSelect.cs: fix typo in LoadPostData().
991
992 2003-12-29  Alon Gazit <along@mainsoft.com>
993         * HtmlInputButton.cs: update the implementation of RenderAttributes().
994         Change the if statement that determines if the onclick script is
995         rendered.  
996
997 2003-12-28  Alon Gazit <along@mainsoft.com>
998         * HtmlSelect.cs: add parentheses to if statement. 
999         Currently the else statement refers to the inner if statement. 
1000
1001 2003-12-28  Alon Gazit <along@mainsoft.com>
1002         * HtmlSelect.cs: fix upper bound of for statement.
1003
1004 2003-12-19  Jackson Harper <jackson@ximian.com>
1005
1006         * HtmlInputFile.cs: Do not set value when loading post data.
1007         
1008 2003-12-14  Alon Gazit <along@mainsoft.com>
1009         * HtmlInputButton.cs: The problem was in RenderAttributes().
1010         Before adding the script to the HTML, the number of Validators should 
1011         be checked. fixes bug #52158.
1012
1013 2003-12-07  Alon Gazit <along@mainsoft.com>
1014         * HtmlTableCell.cs: fixing a typo in NoWrap property. 
1015
1016 2003-12-04  Jackson Harper <jackson@ximian.com>
1017
1018         * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
1019         value. This is because radio button groups are created by setting
1020         the name to the same value with each button, then on postback the
1021         value of the name is the id of the selected radio button. 
1022         
1023 2003-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1024
1025         * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
1026
1027 2003-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1028
1029         * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
1030         remove the code used to workaround that.
1031
1032 2003-12-01  Jackson Harper <jackson@ximian.com>
1033
1034         * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
1035         <along@mainsoft.com>.
1036         
1037 2003-11-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1038
1039         * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
1040         <along@mainsoft.com>. Fixes bug #51377.
1041
1042 2003-11-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1043
1044         * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
1045         <along@mainsoft.com>.
1046
1047 2003-10-29 Jackson Harper <jackson@ximian.com>
1048
1049         * HtmlControl.cs: Make disabled an attribute of the control so it
1050         is rendered. This is a slightly modifed version of a patch
1051         by Yaron Shkop. Fixes bug #50160.
1052         
1053 2003-10-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1054
1055         * HtmlTextArea.cs: fixed infinite recursion.
1056
1057 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1058
1059         * HtmlForm.cs: render the onsubmit attribute.
1060
1061 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1062
1063         * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
1064         need to pass true here. Fixes bug #47918.
1065
1066 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1067
1068         * HtmlContainerControl.cs: Added attributes
1069         * HtmlControl.cs: Added attributes
1070         * HtmlInputControl.cs: Fixed public signature
1071         * HtmlInputRadioButton.cs: Fixed public signature
1072         * HtmlSelect.cs: Added missing attribute
1073         * HtmlTable.cs: Added missing attribute
1074
1075 2003-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1076
1077         * HtmlSelect.cs: fixed bug #44894.
1078
1079 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1080
1081         * HtmlImage.cs:
1082         * HtmlInputControl.cs:
1083         * HtmlSelect.cs: added control builder attribute.
1084
1085         * HtmlSelectBuilder.cs: builder for HtmlSelect.
1086
1087         * HtmlControlBuilder.cs: common builder for all HtmlControls.
1088
1089 2003-01-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1090
1091         * HtmlControl.cs: _tagName is now internal.
1092         * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
1093         name.
1094
1095 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1096
1097         * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
1098
1099 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1100
1101         * HtmlInputButton.cs: fixed bug #35677.
1102
1103 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1104
1105         * HtmlInputControl.cs: fixed bug #35673.
1106
1107 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1108
1109         * HtmlInputText.cs: fixed bug #35670.
1110
1111 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1112
1113         * HtmlSelect.cs: fixed LoadViewstate.
1114
1115 2002-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1116
1117         * HtmlButton.cs: make it do a POST if the button has any ServerClick
1118         events.
1119
1120 2002-09-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1121
1122         * HtmlAnchor.cs:
1123         * HtmlButton.cs:
1124         * HtmlContainerControl.cs:
1125         * HtmlControl.cs:
1126         * HtmlForm.cs:
1127         * HtmlGenericControl.cs:
1128         * HtmlImage.cs:
1129         * HtmlInputButton.cs:
1130         * HtmlInputCheckBox.cs:
1131         * HtmlInputControl.cs:
1132         * HtmlInputFile.cs:
1133         * HtmlInputHidden.cs:
1134         * HtmlInputImage.cs:
1135         * HtmlInputRadioButton.cs:
1136         * HtmlInputText.cs:
1137         * HtmlSelect.cs:
1138         * HtmlTable.cs:
1139         * HtmlTableCell.cs:
1140         * HtmlTableRow.cs:
1141         * HtmlTextArea.cs: added almost all missing attributes.
1142
1143 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1144
1145         * HtmlControl.cs: the attributes must use ViewState as its StateBag,
1146         if not style values are lost between postbacks.
1147
1148 2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1149
1150         * HtmlAnchor.cs:
1151         * HtmlButton.cs:
1152         * HtmlInputButton.cs:
1153         * HtmlInputCheckBox.cs:
1154         * HtmlInputHidden.cs:
1155         * HtmlInputImage.cs:
1156         * HtmlInputText.cs:
1157         * HtmlTextArea.cs: Initialize EventHandlerList indexer.
1158
1159         * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
1160         instead of maintaining some flags and strings. Implemented
1161         LoadViewState.
1162
1163         * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
1164
1165         * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
1166         and Value.
1167
1168 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1169
1170         * HtmlGenericControl.cs: fixed TagName signature and get/set.
1171         * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
1172         * HtmlInputText.cs: added attribute.
1173
1174 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1175
1176         * HtmlForm.cs: don't render action attribute.
1177
1178 2002-07-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1179
1180         * HtmlContainerControl.cs: 
1181         (CreateControlCollection): added. All containers must have a non-empty
1182         control collection.
1183
1184 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1185
1186         * System.Web.UI.HtmlControls/HtmlAnchor.cs: 
1187         * System.Web.UI.HtmlControls/HtmlButton.cs: 
1188         * System.Web.UI.HtmlControls/HtmlControl.cs: 
1189         * System.Web.UI.HtmlControls/HtmlForm.cs: 
1190         * System.Web.UI.HtmlControls/HtmlGenericControl.cs: 
1191         * System.Web.UI.HtmlControls/HtmlInputButton.cs: 
1192         * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs: 
1193         * System.Web.UI.HtmlControls/HtmlInputControl.cs: 
1194         * System.Web.UI.HtmlControls/HtmlInputFile.cs: 
1195         * System.Web.UI.HtmlControls/HtmlInputHidden.cs: 
1196         * System.Web.UI.HtmlControls/HtmlInputImage.cs: 
1197         * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs: 
1198         * System.Web.UI.HtmlControls/HtmlInputText.cs: 
1199         * System.Web.UI.HtmlControls/HtmlSelect.cs: 
1200         * System.Web.UI.HtmlControls/HtmlTable.cs: 
1201         * System.Web.UI.HtmlControls/HtmlTableCell.cs: 
1202         * System.Web.UI.HtmlControls/HtmlTableRow.cs: 
1203         * System.Web.UI.HtmlControls/HtmlTextArea.cs: 
1204
1205         Fixes based on class status page:
1206         
1207                 - Add attributes (DefaultEvent, ParseChildren).
1208                 - Fix declarations.
1209                 - Explicitly implement some interfaces (IPostBackDataHandler
1210                 and IPostBackEventHandler).
1211                 - Implemented some missing methods.
1212
1213 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1214
1215         * HtmlForm.cs:
1216         (RenderChildren): use OnFormRender and OnFormPostRender.
1217
1218 2002-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1219
1220         * HtmlSelect.cs:
1221         (RenderAttributes): new -> override and fixes stack overflow.
1222         (RenderChildren): only 1 option can be selected at any given time
1223         except when Multiple property is true.
1224         (Multiple): the attribute value is either "true" or "false", not 
1225         "multiple".
1226
1227         * HtmlTable.cs:
1228         (Add):
1229         (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
1230
1231         * HtmlTableCell.cs:
1232         (RenderEndTag): new -> override.
1233
1234         * HtmlTableRow.cs:
1235         (RenderChildren): fixed another stack overflow.
1236         (RenderEndTag): new -> override.
1237
1238         * HtmlTextArea.cs:
1239         (RenderAttributes): new -> override.
1240
1241
1242 2002-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1243
1244         * HtmlInputHidden.cs: fixed constructor.
1245
1246         * HtmlInputRadioButton.cs:
1247         (RenderAttributes): fixed stack overflow.
1248
1249         (Name):
1250         (RenderedName): new -> override.
1251
1252         (Value): new property. 
1253
1254         * HtmlInputText.cs:
1255         (RenderAttributes): fixed the same kind of stack overflow and make
1256         string comparison case insensitive.
1257
1258 2002-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1259
1260         * HtmlForm.cs: fixed name of Enctype property and render enctype
1261         enctype attribute.
1262
1263         * HtmlInputControl.cs: tag type is "input", not "type".
1264
1265 2002-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1266
1267         * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
1268         defined in MS docs. 
1269         
1270         * HtmlForm.cs: Render output when no IE browser.
1271
1272         * HtmlInputButton.cs: added constructor without arguments. Xsp used it, 
1273         though now it always use the other .ctor.
1274         
1275         * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
1276
1277 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1278
1279         * HtmlButton.cs: RenderAttributes is an override, not new.
1280
1281         * HtmlContainerControl.cs: use the new Render method in HtmlControl.
1282
1283         * HtmlControl.cs: added Render method to render the tag and its
1284         attributes. Works for container and non-containers.
1285
1286         * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
1287         Height property.
1288         
1289 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1290
1291         * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
1292         instead of Page.Server to encode InnerText.
1293
1294 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1295
1296         * HtmlAnchor.cs:
1297         (RenderAttributes): new -> override and fixed little bug that made
1298         it cause an stack overflow.
1299
1300         * HtmlContainerControl.cs: reformatted and added tag and attributes 
1301         rendering.
1302
1303         * HtmlGenericControl.cs: removed TagName, which is already in 
1304         HtmlControl.
1305
1306         * HtmlTable.cs:
1307         (RenderEndTag): new -> override.
1308
1309 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1310
1311         * System.Web.UI.HtmlControls/HtmlForm.cs:
1312         (RenderAttributes): changed new by override.
1313         (Name): allow setting the property.
1314
1315 2002-05-10  Duncan Mak  <duncan@ximian.com>
1316
1317         * HtmlTableCellCollection.cs (this): Updated the indexer to return
1318         the right type, HtmlTableCell instead of HtmlTableRow. 
1319
1320         * HtmlInputImage.cs (OnServerClick): Commented out parts that
1321         won't compile.
1322
1323         * HtmlForm.cs (RenderAttributes): 
1324         (RenderChildren): Commented out code that doesn't compile. 
1325
1326 2002-05-07  Duncan Mak  <duncan@ximian.com>
1327
1328         * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
1329         clashing with the method defined in the parent class.
1330         (OnDataBinding): Added missing casts.
1331
1332         * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
1333         'this' to IAttributeAccessor before calling interface method.
1334         Also renamed some calls to reflect changes in the API.
1335
1336         * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
1337         fixed a typo.
1338
1339 2001-09-03  Leen Toelen  <toelen@hotmail.com>
1340
1341         * HtmlAnchor.cs: Initial implementation.
1342         * HtmlTextArea.cs: Initial implementation.
1343
1344 2001-08-22  Bob Smith  <bob@thestuff.net>
1345
1346          * HtmlContainerControl.cs: Initial implementation.
1347          * HtmlControl.cs: Initial implementation.
1348          * HtmlGenericControl.cs: Initial implementation.