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