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