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