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