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