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