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