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