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