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