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