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