2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / ChangeLog
1 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * Xml.cs: mono-stylized and removed warnings.
4
5 2004-1-1 Alon Gazit <along@mainsoft.com>
6         * RadioButtonList.cs: update RenderItem() so that each RadioButton
7         is enabled or disabled like the RadioButtonList.
8         * CheckBoxList.cs: update RenderItem() so that each CheckBox
9         is enabled or disabled like the CheckBoxList.   
10
11 2004-1-1 Alon Gazit <along@mainsoft.com>
12         * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
13         The Header or Footer Style shouldn't merge with the cells Style.                 
14         
15 2004-1-1 Alon Gazit <along@mainsoft.com>
16         * DataGridColumn.cs: Headers and Footers are initialized  
17         with the relevant Style object.  
18
19 2003-12-30 Alon Gazit <along@mainsoft.com>
20         * RepeatInfo.cs: Fixed DoVerticalRendering () and 
21         DoHorizontalRendering().
22         Current implementation produces few extra html tags.
23            
24 2003-12-29  Alon Gazit <along@mainsoft.com>
25
26         * CheckBox.cs: change the implementation of LoadPostData. 
27         Currently, while the AutoPostBack property equals true ,
28         it isn't possible to perform uncheck.
29
30 2003-12-19  Jackson Harper <jackson@ximian.com>
31
32         * TableCell.cs: Setting a cells text should clear its control
33         collection as per la specification. This fixes bug #51825.
34         
35 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
36
37         * DataGridColumn.cs: stylized LoadViewState.
38         * DataGridColumnCollection.cs: when TrackViewState is called, also
39         call it on all the existing columns. Fixes bug #52334.
40
41 2003-12-18  Alon Gazit <along@mainsoft.com>
42
43         * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style 
44         is empty.
45
46 2003-12-18  Alon Gazit <along@mainsoft.com>
47
48         * TableStyle.cs: merge TableStyle properties when Style is empty.
49
50 2003-12-16  Alon Gazit <along@mainsoft.com>
51
52         * HyperLink.cs: Change Text property implementation. in MS when the Text
53         property is set, all the controls in the HyperLink are being deleted. 
54         This fixes bug #52239.   
55
56 2003-12-15  Alon Gazit <along@mainsoft.com>
57         * RepeatInfo.cs: Fixed DoVerticalRendering () and 
58         DoHorizontalRendering().
59         Both methods add additional empty table row in the head of each item
60         table when the variable named isTable equals true (happenes with the
61         default instantiation of RepeatInfo). These additional rows should be
62         added when isTable equals false.
63         This fixes bug #52225.   
64
65 2003-12-15  Alon Gazit <along@mainsoft.com>
66
67         * RepeatInfo.cs: Fixed DoVerticalRendering() and
68         DoHorizontalRendering().
69         Both methods add to rendered Header a colspan attribute according to the
70         rows count. after the change the colspan is added according to the
71         columns count.   
72
73 2003-12-15  Alon Gazit <along@mainsoft.com>
74         * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
75         In .NET if the checkbox is disabled ,its text appears disabled too.
76         In Mono the text appears enabled. the fix is in Render().
77         This fixes bug #52180.
78
79 2003-12-15  Alon Gazit <along@mainsoft.com>
80         * Repeater.cs: Change the implementation of CreateControlHierarchy().
81         The current implementation renders extra Header and footer 
82         without Repeater.DataSource assign. 
83         This fixes bug #52179.
84
85 2003-12-15  Alon Gazit <along@mainsoft.com>
86         * DataGrid.cs: Change the implementation of the property 
87         BackImageUrl. The current implementation has no influence 
88         on the rendered Html.
89
90 2003-12-15  Alon Gazit <along@mainsoft.com>
91         * WebControl.cs: Change the implementation of the property 
92         Enabled. Before the change the WebControl also looked at 
93         parent.Enabled . fixed bug #52171.
94
95 2003-12-11  Jackson Harper <jackson@ximian.com>
96
97         * RepeatInfo.cs: When rendering vertically figure out how many
98         colmns are not going to be filled in in the last row, and adjust
99         things accordingly. This fixes bug #51863.
100         
101 2003-12-10  Alon Gazit <along@mainsoft.com>
102         * TableRow.cs: Change the implementation of the properties 
103         HorizontalAlign and  VerticalAlign. The current implementation      
104         has no influence on the rendered Html.
105
106 2003-12-10  Alon Gazit <along@mainsoft.com>
107         * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
108         property's set method.
109         
110 2003-12-09  Jackson Harper <jackson@ximian.com>
111
112         * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
113         Increment counter when moving to start. Fixes bug #51926.
114         
115 2003-12-08  Jackson Harper <jackson@ximian.com>
116
117         * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
118         Benjamin Jemlich. Fixes bug #51823.
119         
120 2003-12-07  Alon Gazit <along@mainsoft.com>
121         * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
122         property is set to false. Fixes bug #58120.
123         
124 2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
125
126         * TableItemStyle.cs: merge TableItemStyle properties when Style is
127         empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
128
129 2003-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
130
131         * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
132         #51648.
133
134 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
135
136         * WebControl.cs: don't create the attributes when GetAttribute is
137         called.
138
139 2003-12-01  Jackson Harper <jackson@ximian.com>
140
141         * WebControl.cs: Only allow access keys to be null or a single
142         char. Patch by Alon Gazit <along@mainsoft.com>.
143         
144 2003-11-30  Jackson Harper <jackson@ximian.com>
145
146         * CheckBoxList.cs: A checkbox will have null post data if it is
147         unselected. This fixes bug #51516.
148         
149 2003-11-29  Jackson Harper <jackson@ximian.com>
150
151         * DataGrid.cs: Display paging controls even when there is no
152         data. Path by Mohammad DAMT. Fixes bug #51487.
153         
154 2003-11-29  Jackson Harper <jackson@ximian.com>
155
156         * DataGrid.cs: Call TrackViewState when loading bound columns view
157         state. So that their state is saved. This fixes bug #51424. Also
158         set ReadOnly.
159         
160 2003-11-26  Jackson Harper <jackson@ximian.com>
161
162         * BaseDataList.cs: Change && to || We will call that a typo so no
163         one gets embarrased.
164         
165 2003-11-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
166
167         * BaseDataList.cs: allow setting null as Datasource.
168
169         * DataGrid.cs: keep autogenerated columns in the ViewState.
170
171         Patches by Alon Gazit <along@mainsoft.com>.
172
173 2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
174
175         * SqlDataSource*: Implement almost everything. Data access is
176         still missing.
177
178 2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
179
180         * Calendar.cs (SaveViewState):
181             - We were allocating a 11 item array, we only used 10 items,
182               so only allocate 10.
183             - We only need to save the selected dates if there are any.
184         * DataGrid.cs (SaveViewState):
185         * DataGridColumn.cs (SaveViewState):
186         * DataGridColumnCollection.cs (SaveViewState):
187             - Only return the array if there is anything in it
188         * Style.cs (SaveViewState):
189             - Only save the bits if there were changes.
190         * WebControl.cs (SaveViewState), (LoadViewState):
191             - Don't save Enabled into the viewstate here, we already
192               do it in the property. This just caused *EVERY* control
193               to have a non-null state, taking up lots of extra room
194               in the ViewState.
195             - The style will always be created with this control's
196               viewstate, so the style will always return null for the
197               viewstate. As such, we do not need to store it. We can
198               also reduce the triplet to a pair because of this.
199
200 2003-11-22  Jackson Harper <jackson@ximian.com>
201
202         * ValidationSummary.cs: Fix number of messages and message array computation.
203
204 2003-11-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
205
206         * Xml.cs: Corrected attribute
207         * XmlBuilder.cs: Added
208
209 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
210
211         * Xml.cs: class status based fixes.
212
213 2003-11-19  Jackson Harper  <jackson@ximian.com>
214
215         * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
216         
217 2003-11-19  Jackson Harper  <jackson@ximian.com>
218
219         * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
220         teh applications base directory. This fixes bug #51092.
221         
222 2003-11-18  Todd Berman  <tberman@gentoo.org>
223
224         * ControlParameter.cs:
225         * CookieParameter.cs:
226         * FormParameter.cs:
227         * QueryStringParameter.cs:
228         * SessionParameter.cs: added public .ctor ()
229         * Parameter.cs: added public .ctor (), internal SetOwnerCollection
230         and handling, as well as internal ParameterValue for easy access.
231         NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
232         * ParameterCollection.cs: implementation redux.
233
234 2003-11-18  Todd Berman  <tberman@gentoo.org>
235
236         * ParameterCollection.cs: Implemented
237         * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
238         ToString () now matches asp.net
239
240 2003-11-17 Ben Maurer  <bmaurer@users.sourceforge.net>
241
242         * ControlParameter.cs:
243         * CookieParameter.cs:
244         * FormParameter.cs:
245         * Parameter.cs:
246         * QueryStringParameter.cs: New v2 files. Mostly
247         implemented, still need a few methods.
248
249 2003-11-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
250
251         * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
252         Gazit <along@mainsoft.com>.
253
254 2003-11-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
255
256         * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
257         Patch by Alon Gazit <along@mainsoft.com>.
258
259 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
260
261         * DataBoundControl.cs: Implement 
262         * ListControl.cs: inherit from the above.
263         * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
264
265 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
266
267         * BaseDataList.cs:
268         * DataGrid.cs:
269         * DataList.cs:
270         * Repeater.cs: add v2 databinding stuff
271         * XmlDataSource.cs: make it load the xml.
272
273 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
274
275         * XmlDataSource.cs:
276         * XmlDataSourceView.cs:
277         * XmlHierarchicalDataSourceView.cs:
278         * XmlHierarchicalEnumerable.cs:
279         * XmlHierarchyData.cs: Implement
280
281 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
282
283         * SiteMapDataSourceView.cs: Implement.
284
285 2003-11-07 Jackson Harper <jackson@ximian.com>
286
287         * ImageButton.cs: This is a workaround for bug #49819. It appears
288         that the .x and .y values are not being posted, and only the x
289         value is being posted with the ctrl's id as the key.
290         
291 2003-11-07 Jackson Harper <jackson@ximian.com>
292
293         * DataGrid.cs (CreateControlHierarchy): Current page index is
294         alolowed to equal page count. This prevents an exception being
295         thrown when both are zero.
296         
297 2003-11-06 Jackson Harper <jackson@ximian.com>
298
299         * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
300         * BaseValidator.cs: Disable base control so the isValid flag is
301         not reset.
302         
303 2003-11-03 Jackson Harper <jackson@ximian.com>
304
305         * TemplateColumn.cs: Use the same renderer for selected items as
306         normal items. This fixes bug #49744.
307         
308 2003-11-03 Jackson Harper <jackson@ximian.com>
309
310         * DataList.cs:
311         * WebControl.cs: Fix argument out of range exceptions on
312         properties. Patch by Yaron Shkop.
313         
314 2003-11-03 Jackson Harper <jackson@ximian.com>
315
316         * TemplateColumn.cs: If the item is selected but there is no
317         editItemTemplate use the itemTemplate. This matches MS behvoir.
318         
319 2003-11-03 Jackson Harper <jackson@ximian.com>
320
321         * Repeater.cs: Always set alternating items to the AlternatingItem
322         type, when instantiating alternating items use the itemTemplate if
323         the alternatingItem template is null. This matches MS behavoir and
324         fixes bug #50157.
325         
326 2003-11-03 Jackson Harper <jackson@ximian.com>
327
328         * DataGridPagerStyle.cs: Name of view state attribute is
329         PagerVisible not Visible. Call owner.OnPagerChanged when the pager
330         visibility is changed. Patch by Yaron Shkop.
331         
332 2003-11-03 Jackson Harper <jackson@ximian.com>
333
334         * RepeatInfo.cs: When doing horizontal rendering use the repeat
335         columns as the number of columns in a row. This fixes bug #49016.
336         
337 2003-11-03 Jackson Harper <jackson@ximian.com>
338
339         * PagedDataSource.cs (PageCount): Return page count of 1 if there
340         paging is disabled. Patch by Yaron Shkop.
341         * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
342         * TableStyle.cs (AddAttributesToRender): Render border style
343         collapse. Patch by Yaron Shkop.
344         * TableStyle.cs:
345         * TableItemStyle.cs:
346         * DataGridPagerStyle.cs: Call base copy and merge even if style is of
347         the wrong type. Patch by Yaron Shkop.   
348         
349 2003-11-03 Jackson Harper <jackson@ximian.com>
350
351         * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
352         
353 2003-11-02 Ben Maurer  <bmaurer@users.sourceforge.net>
354
355         * BulletStyle.cs:
356         * BulletedListDisplayMode.cs:
357         * BulletedListEventHandler.cs:
358         * BulletedList.cs:
359         * BulletedListEventArgs.cs: V2 controls (yay!)
360
361 2003-10-30 Jackson Harper <jackson@ximian.com>
362
363         * Repeater.cs: Throw an exception if the datasource is set to
364         something that does not implement either IListSource or
365         IEnumerable. This fixes bug #50155.
366         
367 2003-10-30 Jackson Harper <jackson@ximian.com>
368
369         * DataGridPagerStyle.cs: Do not allow page button counts to be set
370         to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
371         
372 2003-10-29 Jackson Harper <jackson@ximian.com>
373
374         * ButtonColumn.cs: Format string and text to format were
375         inversed. This fixes bug #50171.
376         
377 2003-10-29 Jackson Harper <jackson@ximian.com>
378
379         * DataGridColumn.cs: If an item style is set apply it to the
380         cell. This fixes bug #50173.
381         
382 2003-10-29 Ben Maurer  <bmaurer@users.sourceforge.net>
383
384         * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
385         old debugging value.
386
387 2003-10-29 Jackson Harper <jackson@ximian.com>
388
389         * PagedDataSource.cs:
390         * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
391         end of the last page. Fixes bug #5085.
392         
393 2003-10-29 Jackson Harper <jackson@ximian.com>
394
395         * CheckBox.cs: Do not change the status of a checkbox when there
396         is no post data. This fixes bug #49091.
397         * CheckBoxList.cs: Do not change the status of the checkboxes when
398         there is no post data. This fixes bug #49093.
399         
400 2003-10-26 Ben Maurer  <bmaurer@users.sourceforge.net>
401
402         * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
403         RadioButton. Fixes #50132
404
405 2003-10-25 Ben Maurer  <bmaurer@users.sourceforge.net>
406
407         * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
408         paging from working. Fixes #48814.
409
410 2003-10-25 Ben Maurer  <bmaurer@users.sourceforge.net>
411
412         * DataGrid.cs: A few typos kept us from viewing datagrids
413         that were based on customized collections.
414
415 2003-10-24 Ben Maurer  <bmaurer@users.sourceforge.net>
416
417         * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
418
419 2003-10-23 Ben Maurer  <bmaurer@users.sourceforge.net>
420
421         * Calendar.cs: render the next month button so that aligns to the
422         right.
423
424 2003-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
425
426         * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
427         was just changing && by || after the first Match.
428
429 2003-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
430
431         * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
432         Patch by Yaron Shkop.
433
434 2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
435
436         * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
437         that fixes bug #49744. Now the selection doesn't lose its data.
438
439 2003-10-21 Ben Maurer  <bmaurer@users.sourceforge.net>
440
441         * EditCommandColumn.cs: Implement; fix #49736
442
443 2003-10-21 Ben Maurer  <bmaurer@users.sourceforge.net>
444
445         * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
446         the forground color. bug #49738
447
448 2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
449
450         * Calendar.cs: fixed bug #49727.
451
452 2003-10-18 Ben Maurer  <bmaurer@users.sourceforge.net>
453
454         * TableStyle.cs: fix #49740.
455
456 2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
457
458         * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
459         * ValidationSummary.cs: fixes bug #49669.
460
461 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
462
463         * Calendar.cs: apply the calendar style to the new Table, not to itself.
464         Fixes #49406.
465
466         * CheckBox.cs: render the hidden fields if AutoPostBack.
467
468         * Style.cs: don't render empty width/height. Small improvement in
469         CopyFrom.
470
471         * Table.cs: fixed condition for border width.
472
473         * TableStyle.cs:
474         (CopyFrom): always call the base class to copy other attributes. Fixes
475         bug #49408. Don't render empty 'rules' attribute.
476
477         * WebControl.cs: track viewstate when enabled. Don't overwrite source
478         control attributes in CopyBaseAttributes.
479
480         * ChangeLog: fixed dates.
481
482
483 2003-10-08  Gaurav Vaish <gvaish_mono AT lycos.com>
484
485         * WebControl.cs         : Attributes { get; }       - Is Complete.
486         * ValidationSummary.cs  : AddAttributesToRender(HtmlTextWriter)
487                                                             - Completed.
488
489 2003-10-08  Gaurav Vaish <gvaish_mono AT lycos.com>
490
491         * BaseValidator.cs      : DetermineRenderUplevel()  - Completed.
492                                 : RegisterValidatorCommonScript()
493                                                - More code, I need HELP!
494                                 : RegisterValidatorDeclaration()
495                                                - More code, I need HELP!
496
497 2003-09-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
498
499         * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
500         #48802.
501
502 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
503
504         * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and 
505         ClearViewState only called when no items.
506
507 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
508
509         * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
510
511 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
512
513         * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
514
515 2003-09-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
516
517         * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
518         Shkop).
519
520 2003-09-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
521
522         * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
523         Shkop).
524
525 2003-09-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
526
527         * CheckBox.cs: render the 'disabled' attribute in the correct tag.
528         * WebControl.cs: fixed Enabled property and save it in ViewState.
529
530         Fixes bug #48802.
531
532 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
533
534         * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
535
536 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
537
538         * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
539         bug #48671.
540
541 2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
542                                                                                 
543         * FontInfo.cs: fixed Name property as suggested by Rich Alimi
544         <rich@velvetsea.net>.
545
546 2003-09-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
547
548         * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
549         Skripsky <juraj@hotfeet.ch>
550
551 2003-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
552
553         * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
554         fixes rendering of the end tag.
555
556 2003-08-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
557
558         * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
559         (Yaron Shkop). Closes bug #48060.
560
561 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
562
563         * CheckBox.cs: in LoadPostData, only return
564         true when the new data is different from the one we had. Fixed
565         conditions to save Checked state. Thanks to yaronshkop@hotmail.com
566         (Yaron Shkop).
567
568 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
569
570         * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
571
572 2003-08-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
573
574         * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
575         of Enable in ViewState. Fixes bug #47865.
576
577 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
578
579         * Style.cs: the MARKED bit is not send set in ViewState unless something
580         is changed. Fixed TrackViewState condition.
581         
582         * WebControl.cs: save the base ViewState *after* ControlStyle is done,
583         because it uses the same ViewState as the control. Fixes bug #47725.
584
585 2003-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
586
587         * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
588         that fixes databinding when only DataTextField or DataNavigateUrlField
589         is set.
590
591 2003-08-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
592
593         * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
594         behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
595         values before assigning a data source and other issues.
596
597 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
598
599         * CheckBox.cs: save viewstate when needed and correctly handle post
600         data. Fixes bug #47462.
601
602 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
603
604         * ButtonColumn.cs: Removed additional attributes
605         * CheckBox.cs: Added attribute
606         * DataGrid.cs: Added attributes
607         * HyperLinkColumn.cs: Changed attributes, added lamespec
608         * Style.cs: Removed attributes
609         * TextBox.cs: Added/ removed attributes
610
611 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
612
613         * AdRotator.cs: Added all attributes
614         * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
615         * BaseValidator.cs: Added all attributes
616         * BoundColumn.cs: Added all attributes
617         * Button.cs: Added all attributes
618         * ButtonColumn.cs: Added all attributes, added lamespec
619         * Calendar.cs: Added all attributes, added error checks, throws more exceptions
620         * CheckBox.cs: Added all attributes
621         * CheckBoxList.cs: Added all attributes
622         * CompareValidator.cs: Added all attributes
623         * CustomValidator.cs: Added all attributes
624         * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
625         * DataGridColumn.cs: Added all attributes
626         * DataGridColumnCollection.cs: Added all attributes
627         * DataGridPagerStyle.cs: Added all attributes
628         * DataGridTableInternal.cs: Made DataGridTableInternal internal
629         * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
630         * DropDownList.cs: Added all attributes
631         * FontInfo.cs: Added all attributes
632         * HyperLink.cs: Added all attributes
633         * HyperLinkColumn.cs: Added all attributes
634         * Image.cs: Added all attributes
635         * ImageButton.cs: Added all attributes
636         * Label.cs: Added all attributes
637         * LinkButton.cs: Added all attributes
638         * ListBox.cs: Added all attributes, added error checks, throws more exceptions
639         * ListControl.cs: Added all attributes
640         * ListItem.cs: Added all attributes
641         * ListItemCollection.cs: Added attribute
642         * Literal.cs: Added all attributes
643         * Panel.cs: Added all attributes
644         * RadioButton.cs: Added all attributes
645         * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
646         * RangeValidator.cs: Added all attributes
647         * RegularExpressionValidator.cs: Added all attributes
648         * Repeater.cs: Added all attributes
649
650 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
651
652         * RequiredFieldValidator.cs: Added all attributes
653         * Style.cs: Added all attributes
654         * Table.cs: Added all attributes
655         * TableCell.cs: Added all attributes, added error checks, throws more exceptions
656         * TableCellCollection.cs: Added attribute
657         * TableRow.cs: Added all attributes
658         * TableRowCollection: Added attribute
659         * TableStyle.cs: Added all attributes, improved error messages
660         * TemplateColumn.cs: Added all attributes
661         * TextBox.cs: Added all attributes, added error checks, throws more exceptions
662         * ValidationSummary.cs: Added all attributes
663         * WebControl.cs: Added all attributes
664         * Xml.cs: Added all attributes
665
666 2003-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
667
668         * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
669         * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
670
671 2003-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
672
673         * CheckBoxList.cs: fixes bug reported on the list about the state of
674         the CheckButtons not being preserved across posts.
675
676 2003-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
677
678         * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
679
680 2003-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
681
682         * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
683
684 2003-06-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
685
686         * ListControl.cs: save viewstate data when any of the 3 values is not
687         null. Fixed condition to save selection indices. Closes bug #45493.
688
689 2003-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
690
691         * DataGrid.cs: fixed bug #43823.
692
693 2003-05-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
694
695         * DataGrid.cs: fixed delegate type for SortCommand.
696
697 2003-05-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
698
699         * DataGridColumnCollection.cs: added missing return in RemoveAt.
700
701 2003-05-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
702
703         * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
704         Don't save ViewState is the number of columns is 0.
705
706 2003-05-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
707
708         * DataGrid.cs: get the right item Type for the property we're reading
709         fromt the data source.
710
711 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
712
713         * Label.cs:
714         * TextBox.cs: added control builder attribute.
715
716 2003-03-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
717
718         * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
719
720 2003-03-17  George Kodinov <gkodinov@openlinksw.co.uk>
721         
722         * Unit.cs: Called the correct method to get the Numeric locale for the
723         double conversion
724
725 2003-02-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
726
727         * ButtonColumn.cs: fixed a couple of infinite loop problems and render
728         correctly the header of the column.
729
730         * DataGridTableInternal.cs: don't assign a default ID to this control.
731
732         * LinkButton.cs: raise bubble event in OnCommand.
733
734         * TableCellCollection.cs: fixed the index returned by Add.
735
736         * TableRowCollection.cs: ditto.
737
738 2003-02-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
739
740         * Xml.cs: don't call MapPathSecure when setting DocumentSource.
741
742 2003-02-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
743
744         * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
745         for reporting the bug and providing the fix.
746
747 2003-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
748
749         * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
750         CreateColumnSet. Set the owner of the column when auto generated.
751         In PrepareControlHierarchyForItem, fixed for loop bound.
752
753         * LinkButtonInternal.cs: fixed infinite recursion bug.
754
755         Fixes bug #37124.
756
757 2003-01-22  Zdravko Tashev <ztashev@openlinksw.co.uk>
758
759         * Xml.cs: a few fixes.
760
761 2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
762
763         * DataList.cs: handle the exception when adding new keys to
764         DataKeysArray.
765
766 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
767
768         * BaseDataList.cs: what can I say for this one? I spent so many time
769         until I finally found this that I'm gonna miss this f....g bug... ;-).
770         Farewell. Now we can get events from image buttons inside Data*.
771
772         * DataList.cs: now the value stored in ViewState for item count is
773         correct.
774
775 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
776
777         * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
778         Header and Footer.
779         * DataGridColumn.cs: added SetOwner method.
780         * DataGridColumnCollection.cs: set the owner of the column when added.
781
782 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
783
784         * BoundColumn.cs: typo.
785         * DataGrid.cs: use 'as' instead of casting. Typo.
786         * HyperLinkColumn.cs: call OnColumnChanged when any property change.
787         Mono-stylized.
788
789 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
790
791         * HyperLink.cs: fixes bug #36336.
792
793 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
794
795         * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
796
797 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
798
799         * BaseValidator.cs: return an empty string in GetControlValidationValue
800         when GetValue returned null.
801
802         * CompareValidator.cs: fixed EvaluateIsValid.
803
804         * RegularExpressionValidator.cs: fixed EvaluateIsValid.
805
806 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
807
808         * Xml.cs: use MapPathSecure to get the path of the document.
809
810 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
811
812         * DataList.cs: fixed header & footer.
813
814 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
815
816         * DataList.cs: for header and footer don't use data source.
817         Instantiate in the DataListItem, not in the DataList.
818         databind-template.aspx works now.
819
820 2002-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
821
822         * BaseDataList.cs:
823         (Render): call RenderContents (), not base.RenderContents ().
824
825         * DataList.cs: style.
826
827         But I still haven't found what i'm looking for....
828
829 2002-11-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
830
831         * Calendar.cs: fixed loading/saving selected dates.
832         * SelectedDatesCollection.cs: added internal function to get the
833         underlying ArrayList.
834
835         Calendar navigation works again. Selecting dates too.
836
837 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
838
839         * DataList.cs: added a few attributes and fixed infinite recursion.
840
841 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
842
843         * ListItemCollection.cs: fixed LoadViewState.
844
845 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
846
847         * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
848         Commented out some code until it works.
849
850 2002-10-29      Gaurav Vaish <gvaish_mono@lycos.com>
851
852         * BaseCompareValidator.cs - Fixed operator bug in 
853                                     Compare(string, string, ...)
854         * CompareValidator.cs     - EvaluateIsValid()            : Implemented.
855
856 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
857
858         * BoundColumn.cs        - InitializeCell(TableCell, int, ListItemType)
859                                                       : Implemented.
860                                 - All Properties      : Now make use of ViewState.
861
862 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
863
864         * BaseValidator.cs      - Uncomment NotImplementedException.
865
866 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
867
868         * BaseValidator.cs      - Minor changes in TODO comments.
869
870 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
871
872         * BaseValidator.cs      - DetermineRenderUpLevel()       : Uncomment
873                                   the NotImplementedException being thrown.
874         * DataGridPagerStyle.cs - Mode { set; }                  : Implemented.
875         * DataGridLinkButton.cs - Added new class (private)      : Implemented.
876         * DataGrid.cs           - InitializePager(DataGridItem, int,
877                                   PagedDataSource)               : Implemented.
878
879 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
880
881         * DataList.cs          - PrepareControlHierarchy()       : Implemented.
882
883 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
884
885         * DataList.cs          - RenderContents(HtmlTextWriter)  : Implemented.
886                                - GetItem(ListItemType, int)      : Removed TODO.
887                                - CreateControlHierarchy(bool)    : Implemented.
888                                - CreateItem(int, ListItemType)   : Implemented.
889                                - CreateItem(int, ListItemType,
890                                        bool, object)             : Implemented.
891                                - InitializeItem(DataItem)        : Implemented.
892         * DataGrid.cs          - CreateControlHierarchy(bool)    : Bug fix.
893                             The ViewState["_!ItemCount"],
894                                 ViewState["_!DataSource_ItemCount"]
895                                   are shared by DataList and DataGrid, and hence
896                                   should share the same name.
897                                - ResolveDataSource(object, string)
898                                      : Removed. Use System.Web.UI.Utils.DataSourceHelper
899                                        ::GetResolvedDataSource(object, string).
900
901
902 2002-09-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
903
904         * DataGrid.cs: fixed compilation
905
906 2002-09-12      Gaurav Vaish <gvaish_mono@lycos.com>
907
908         * PagedDataSource.cs   - FirstIndexInPage : Fixed bug.
909         * DataGrid.cs          - CreateControlHierarchy(bool)
910                                     : working towards completion.
911                                - ResolveDataSource(object, string)
912                                     : stubbed new method
913                                - CreateItem(....)
914                                     : stubbed new method
915                         Well. It's almost done.
916         * DataGridTableInternal.cs
917                                - Added new internal class.
918
919 2002-08-28      Gaurav Vaish <gvaish_mono@lycos.com>
920
921         * DataSourceInternal.cs       - Added new class (internal).
922
923 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
924
925         * FontUnit.cs:
926         * HorizontalAlign.cs:
927         * Unit.cs:
928         * VerticalAlign.cs: fixes based on class status page.
929         
930         * HorizontalAlignConverter.cs: implemented.
931         * VerticalAlignConverter.cs: implemented.
932
933         * FontUnitConverter.cs: implemented GetStandardValues ().
934
935         * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
936
937 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
938
939         * DataGrid.cs                 - AutoCreateColumns: Bug fixes.
940
941 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
942
943         * DataGrid.cs                 - AutoCreateColumns: completed, hopefully!
944
945 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
946
947         * DataGrid.cs                 - Working on the undocumented protected
948                               method CreateColumnSet. AutoCreateColumns method
949                               stubbed. Left CreateControlHierarchy for the time
950                               being, looks like I'm going insane. ;-)
951
952 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
953
954         * Button.cs                   - Steffen's OnCommand bug fix.
955
956 2002-08-12      Gaurav Vaish <gvaish_mono@lycos.com>
957
958         * DataGrid.cs                 - Added protected method (skeleton)
959                                         CreateColumnSet(PagedDataSource, bool)
960                                       Still trying to know how will it be used
961                                       and what for...
962
963 2002-08-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
964
965         * PagedDataSource.cs: fixed compilation.
966
967 2002-08-08      Gaurav Vaish <gvaish_mono@lycos.com>
968
969         * DataGrid.cs                 - Added private method
970                                         CreatePagedDataSource
971                                       - Started work on
972                                         CreateControlHierarchy(bool)
973         * PagedDataSource.cs          - Bug fixed.
974                                         CurrentPageIndex is writable.
975
976 2002-08-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
977
978         * DataGrid.cs: fixed typo.
979         * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
980
981 2002-08-06      Gaurav Vaish <gvaish_mono@lycos.com>
982
983         * DataGridColumn.cs           - Added internal methods to get the
984                                         various styles (needed in DataGrid.cs)
985         * DataGrid.cs                 - Completed the method
986                                         PrepareControlHierarchy()
987
988 2002-08-06      Gaurav Vaish <gvaish_mono@lycos.com>
989
990         * DataGrid.cs                 - Wokring on PrepareControlHierarchy()
991                                       - Added private method
992                              PrepareControlHierarchyForItem()
993
994 2002-08-05      Gaurav Vaish <gvaish_mono@lycos.com>
995
996         * DataGrid.cs                 - Completed method
997                              OnBubbleEvent(object, EventArgs)
998
999 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1000
1001         * Xml.cs: implemented document/transform load.
1002
1003 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1004
1005         * Calendar.cs: added myself to the list of authors.
1006         * DropDownList.cs: fixed a few properties.
1007         * ListControl.cs: fixed SelectedIndex.
1008
1009 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1010
1011         * Calendar.cs: lots of fixes. Render days.  Still left to persist
1012         selected days when changing month.
1013
1014         * Unit.cs: fixed Percentage and Pixel.
1015
1016         * WebControl.cs: a few properties are now using ControlStyle instead
1017         of ViewState to persist.
1018
1019 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1020
1021         * BaseValidator.cs: it works now.
1022         * DataGridColumn.cs: added attribute and made it abstract.
1023         * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
1024
1025 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1026
1027         * TextBox.cs: default for Wrap is true.
1028         (OnPreRender): don't save Text if there are no listeners on TextChanged.
1029
1030 2002-07-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1031
1032         * DropDownList.cs:
1033         (ToolTip): fixed.
1034
1035         * ListItem.cs:
1036         (LoadViewState): fixed.
1037
1038         * ListItemCollection.cs:
1039         (TrackViewState): use items instead of 'this' in foreach.
1040
1041         * Style.cs:
1042         (LoadViewState): more checking of parameters.
1043
1044         * WebControl.cs: implemented LoadViewState and SaveViewState.
1045         
1046
1047 2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1048
1049         * ListItem.cs: there was no code to unset the flags!!!
1050
1051 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1052
1053         * FontUnit.cs: use a hashtable for mapping size name to value.
1054         * HyperLink.cs: fixed a bug and a typo.
1055         * Unit.cs: some fixes to internal constructor.
1056
1057 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1058
1059         * ListControl.cs: fixed a couple of range checks.
1060         * WebControl.cs: MS lies! Not all WebControls must be rendered inside
1061         an HtmlForm (p.e., Label).
1062
1063 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1064
1065         * AdRotator.cs:
1066         * Button.cs:
1067         * Calendar.cs:
1068         * CheckBox.cs:
1069         * CheckBoxList.cs:
1070         * DataList.cs:
1071         * DropDownList.cs:
1072         * HyperLink.cs:
1073         * HyperLinkColumn.cs:
1074         * Image.cs:
1075         * ImageButton.cs:
1076         * Label.cs:
1077         * LinkButton.cs:
1078         * ListBox.cs:
1079         * Panel.cs:
1080         * PlaceHolder.cs:
1081         * RadioButton.cs:
1082         * RadioButtonList.cs:
1083         * Table.cs:
1084         * TableRow.cs:
1085         * TextBox.cs:
1086         * WebControl.cs: removed attributes added by mistake (i used
1087         GetCustomAttributes (true), d'oh!).
1088
1089         * DataListItem.cs: implemented RenderItem.
1090
1091         * Repeater.cs: implemented CreateItem and InitializeItem.
1092
1093 2002-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1094
1095         * BaseDataList.cs: a couple of fiex and added attributes.
1096         * DataGrid.cs: little fixes.
1097
1098 2002-07-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1099
1100         * CheckBoxList.cs:
1101         * DataGrid.cs:
1102         * DataList.cs:
1103         * DropDownList.cs:
1104         * ListBox.cs:
1105         * PlaceHolder.cs:
1106         * RadioButton.cs:
1107         * RadioButtonList.cs:
1108         * TableRow.cs:
1109         * WebControl.cs:
1110         * Xml.cs: forgot to add using System.ComponentModel.
1111
1112         * BaseValidator.cs: use explicitly 
1113         System.ComponentModel.AttributeCollection as there is another class
1114         with the same name under System.Web.UI.
1115
1116 2002-07-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1117
1118         * AdRotator.cs:
1119         * Button.cs:
1120         * Calendar.cs:
1121         * CheckBox.cs:
1122         * CheckBoxList.cs:
1123         * DataGrid.cs:
1124         * DataList.cs:
1125         * DropDownList.cs:
1126         * HyperLink.cs:
1127         * Image.cs:
1128         * ImageButton.cs:
1129         * Label.cs:
1130         * LinkButton.cs:
1131         * ListBox.cs:
1132         * Panel.cs:
1133         * PlaceHolder.cs:
1134         * RadioButton.cs:
1135         * RadioButtonList.cs:
1136         * Table.cs:
1137         * TableRow.cs:
1138         * TextBox.cs:
1139         * WebControl.cs:
1140         * Xml.cs: added/fixed all attributes used by xsp.
1141
1142         * BaseValidator.cs: some fixes.
1143
1144 2002-07-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1145
1146         * Table.cs:
1147         (AddAttributesToRender): correctly default to border=1.
1148
1149 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1150
1151         * AdRotator.cs:
1152         (LoadAdFile): make the dictionary null after every iteration.
1153
1154         * LinkButton.cs:
1155         * ListControl.cs:
1156         * ListItem.cs: fixed warnings.
1157
1158 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
1159
1160         * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
1161
1162 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1163
1164         * DataGridColumn.cs:
1165         * DataGridPagerStyle.cs:
1166         * DataList.cs:
1167         * DataListItem.cs:
1168         * Image.cs:
1169         * LinkButton.cs:
1170         * ListControl.cs:
1171         * ListItem.cs:
1172         * ListItemCollection.cs:
1173         * Repeater.cs:
1174         * ServerValidateEventArgs.cs:
1175         * Style.cs:
1176         * TableRow.cs:
1177         * WebControl.cs:
1178         * Xml.cs: more class status page based changes.
1179
1180 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1181
1182         * Button.cs:
1183         (.ctor): fixed to render the correct tag.
1184         (IPostBAckEventHandler.RaisePostBackEvent): fixed.
1185
1186 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1187
1188         * WebControl.cs:
1189         (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
1190         WebControl derived classes should be rendered inside a HtmlForm.
1191
1192 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1193
1194         * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
1195         processing methods.
1196
1197 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1198
1199         * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
1200         * RepeatInfo.cs: implemented DoHorizontalRendering.
1201
1202 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1203
1204         * System.Web.UI.WebControls/Repeater.cs:
1205         (Controls):
1206         (OnDataBinding): fixed stack overflow.
1207
1208 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1209
1210         * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
1211         * RepeatInfo.cs: implemented DoHorizontalRendering.
1212
1213 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1214
1215         * WebControl.cs:
1216         (CopyBaseAttributes): copy Attributes and don't throw exception.
1217
1218 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1219
1220         * ListBox.cs: mono-stylized.
1221         (AddAttributesToRender): call parent class method.
1222
1223 2002-06-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1224
1225         * Style.cs: fixed IsEmpty and Width.
1226
1227         * Table.cs: mono-stylized.
1228         (TableRowControlCollection.AddAt): fixed.
1229         (AddAttributesToRender): fixed.
1230         
1231         * TableCell.cs: mono-stylized.
1232         (.ctor): use PreventAutoID.
1233         (AddAttributesToRender): fixed.
1234         (AddParsedSubObject): fixed.
1235
1236         * TableRow.cs: mono-stylized. Added
1237         ParseChildren attribute.
1238
1239         * TableStyle.cs:
1240         (get_GridLine): fixed.
1241
1242 2002-06-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1243
1244         * Panel.cs: fixed stack overflow.
1245         * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
1246         and SingleConverter.
1247
1248 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1249
1250         * RadioButton.cs: mono-stylized and some little fixes.
1251
1252         * TextBox.cs: mono-stylized.
1253         (MaxLength): fixed typo.
1254
1255         (AddAttributesToRender): don't render the text between the tags for
1256         SingleLine, use value attribute for it. Don't render the text for
1257         Password.
1258
1259         (OnPreRender): don't throw exception and call base.OnPreRender.
1260
1261         (Render): for MultiLine, render the text between the opening and
1262         closing tags encoded as HTML.
1263
1264 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1265
1266         * ImageButton.cs:
1267         (AddAttributesToRender): fixer another stack overflow.
1268
1269         * WebControl.cs:
1270         (TagName): modified to use TagKey instead of tagKey as the property
1271         can be overriden.
1272
1273 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1274
1275         * LinkButton.cs: mono-stylized.
1276         (AddParsedSubObject):
1277         (RenderControls): little fixes.
1278
1279         * WebControl.cs:
1280         (AddAttributesToRender): fixed usage of IEnumerator.
1281
1282 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1283
1284         * Literal.cs: beautified.
1285
1286 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1287
1288         * Label.cs: beautified and fixed a couple of 'classic' bugs.
1289
1290         * WebControl.cs: use Span as default tag when no other provided in 
1291         constructor. That is what MS renders.
1292
1293 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1294
1295         * Button.cs:
1296         (AddAttributesToRender): fixed (classic) stack overflow.
1297
1298         * CheckBox.cs: mono-stylized.
1299         (AutoPostBack): fixed stack overflow.
1300         (Render): fixed alignment issues. Also set the For attribute always
1301         for the label.
1302
1303 2002-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1304
1305         * AdRotator.cs: GetData does not work as it should, but now it returns
1306         useful data (only the first ad in the file).  Set the NavigateUrl
1307         property in the hyperlink if available.
1308
1309         * HyperLink.cs: fixed constructor and a couple of stack overflows.
1310
1311         * Image.cs: added an attribute and fixed stack overflow.
1312
1313         * WebControl.cs:
1314         (RenderBeginTag): fixed.
1315         (TagName): don't call Enum.IsDefined twice.
1316
1317 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1318
1319         * WebControl.cs: added attributes PersistChildrenAttribute and 
1320         ParseChildrenAttribute.
1321
1322 2002-05-24  Duncan Mak  <duncan@ximian.com>
1323
1324         * DataGridItem.cs (SetItemType): Changed function signature to
1325         match 1.0 spec.
1326
1327         * ListItemCollection.cs (this): Changes the visibility level of
1328         the indexer.
1329
1330         * Repeater.cs (OnItemCommand):
1331         (OnItemCreated):
1332         (OnItemDataBound): Added necessary casts.
1333
1334 2002-05-07  Duncan Mak  <duncan@ximian.com>
1335
1336         * Button.cs (AddAttributesToRender): 
1337         * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
1338         GetClientValidatedEvent method.
1339
1340 2002-03-27      Gaurav Vaish <gvaish@iitk.ac.in>
1341
1342         * Removed extra methods, corrected access modifiers to several
1343           methods.
1344
1345 2002-03-26      Gaurav Vaish <gvaish@iitk.ac.in>
1346
1347         * <SeveralFiles>.cs        - Added some attributes
1348         * FontUnitConverter.cs     - Added stubs for GetStandardValues*(..)
1349             methods. Will complete them later. Right now, busy with
1350             the attributes part.
1351         * RepeaterItem.cs          - Completed.
1352         
1353          Oh God! Mercy! I will die applying attributes. I look at the missing
1354           part in the class-status - daemon! Kyrie eleison!
1355
1356 2002-03-19      Gaurav Vaish <gvaish@iitk.ac.in>
1357
1358            Some bug fixes
1359
1360         * AdRotator.cs             - Added definition for Font.
1361         * BaseCompareValidator.cs  - Added definition for Controls.
1362         * Calendar.cs              - SelectMonthText definition corrected.
1363         * DataList.cs              - Added definition for SeparatorTemplate.
1364         * BorderStyle.cs           - Namespace correction. It belongs not to UI,
1365                                      but to UI.WebControls.
1366
1367 2002-03-17      Gaurav Vaish <gvaish@iitk.ac.in>
1368
1369         Finally, I have made it. Today I did a second build for the
1370          System.Web assembly. It compiled 195 classes today.
1371         I am waiting eagerly for the runtime to come up so that the objects
1372          may be tested to their last levels. Several of the methods are still
1373          under the tag of "TODO" throwing NotImplementedException. Well, I
1374          hope to remove them soon, but how far is this soon - even I don't
1375          know, though I am happy to make the build a success even before
1376          the vacations to come.
1377
1378 2002-03-07      Gaurav Vaish <gvaish@iitk.ac.in>
1379
1380         Yesterday and today I tried to do some building of the aseembly,
1381          but was dumped with uncoutably infinite errors. ;-)
1382         I have put the copies of the recent errors on my home page, want
1383          to have a look at them? See:
1384           http://mastergaurav.virtualave.net/mono/
1385         I don't know what to do with these errors. Oh! The buggy me! How
1386          will I overcome myself. Hopefully, by when my vacations over, I
1387          should have made a repository where the build will not fail.
1388
1389 2002-03-05      Gaurav Vaish <gvaish@iitk.ac.in>
1390
1391         I am now going to do a build that will include the
1392          System.Web.UI.WebControls namespace. Hoping that I will make it
1393          soon. My exams are coming near and I have to pack up soon.
1394
1395
1396 2002-03-04      Gaurav Vaish <gvaish@iitk.ac.in>
1397
1398 Comments:
1399         And with this, ie, today's work, all the objects mentioned in the
1400         namespace appear in the implementation. But it may not be worth
1401         trying to go for a build because of dependence of several of the
1402         internal methods that may clash with already available assembly
1403         System.Web.
1404         
1405         Also, the classes lack possible attributes, like those informing
1406         about child-controls etc. But I have to first create the attribute
1407         classes before I attach the attributes to the classes.
1408
1409         * CustomValidator.cs          - Completed. In process realized that
1410                      I have to complete / rejuvinate BaseValidator class.
1411         * BaseValidator.cs            - Complete rejuvination. Completed 80%
1412                     of the job. All that is left is Render(HtmlTextWriter),
1413                     DetermineRenderUplevel(), RegisterValidatorCommonScript()
1414                     RegisterValidatorDeclaration()
1415         * DataGridPagerStyle.cs       - Completed. That adds one more missle
1416                     in my artillery.
1417         * DataKeyCollection.cs        - Completed. Petty small.
1418         * Repeater.cs                 - Work started off. This is a quite
1419                     heavy class. Hooh!
1420         * DataGridItemEventArgs.cs,
1421         * DataGridShortCommandEventArgs.cs,
1422         * DataListItemEventArgs.cs,
1423         * MonthChangedEventArgs.cs,
1424         * RepeaterItemEventArgs.cs,
1425         * ServerValidateEventArgs.cs,
1426         * DataGridPageChangedEventArgs.cs
1427                                       - Damn, I marked them "*", while they
1428                     did not exist.
1429         * Repeater.cs                 - Done all except for an undocumented
1430                     method CreateControlHierarchy(bool). Though the method
1431                     is quite clear by its name, but it will take some time
1432                     for me to come with some material to flush in.
1433
1434 2002-03-03      Gaurav Vaish <gvaish@iitk.ac.in>
1435
1436         * SelectedDatesCollection.cs  - Completed.
1437         * PagedDataSource.cs          - Completed. Pathetically nice class.
1438         * RegularExpressionValidator.cs
1439                                       - Completed. Ridiculously small and
1440                     annoyinglyc crazy-driving class, basically the method
1441                     EvaluateIsValid().
1442         * RangeValidator.cs           - Completed.
1443         * DataGridColumn.cs           - Completed.
1444         * EditCommandColumn.cs        - All is complete except for the
1445                     InitializeCell(TableCell, int, ListItemType) method.
1446         * DataListItem.cs             - All done except for a longish method
1447                     RenderItem(HtmlTextWriter, bool, bool)
1448
1449 2002-03-02      Gaurav Vaish <gvaish@iitk.ac.in>
1450
1451         * RepeaterItemCollection.cs   - Completed.
1452                     I love *Collection classes. I am planning to make a
1453                     program that will generate a *Collection class. It's so
1454                     simple and the same. ;-)
1455         * DataGridColumnCollection.cs - Completed.
1456                     ... except probably for *ColumnCollection classes, where
1457                     you have to put in some more effort. Still, these class
1458                     generation can be automated.
1459         * DataListItemCollection.cs   - Completed.
1460                     See, how easily, in less than a quarter of a minute, I
1461                     completed this class - manually. Copy-Paste/Cut-Replace.
1462
1463 2002-02-21      Gaurav Vaish <gvaish@iitk.ac.in>
1464
1465         * DataGrid.cs                 - Following methods implemented:
1466                     TrackViewState(), LoadViewState(object), SaveViewState(),
1467                     On* -- The event raisers.
1468                     OnBubbleEvent(object, EventArgs) is still incomplete.
1469         * DataGridItem.cs             - Initial Implementation
1470         * DataGridItemCollection.cs   - Completed.
1471
1472 2002-02-08      Gaurav Vaish <gvaish@iitk.ac.in>
1473
1474         * DataGrid.cs                 - Initial Implementation. Worked
1475                     primarily with some properties.
1476
1477 2002-02-07      Gaurav Vaish <gvaish@iitk.ac.in>
1478
1479         * ListBox.cs                  - Completed. Implemented
1480                    LoadPostData(string, NameValueCollection)
1481         * RequiredFieldValidator.cs   - Completed. Pretty simple class.
1482
1483 2002-02-06      Gaurav Vaish <gvaish@iitk.ac.in>
1484
1485         * ListBox.cs                  - Implemented the following:
1486                    RaisePostDataChangedEvent()
1487
1488 2002-02-02      Gaurav Vaish <gvaish@iitk.ac.in>
1489
1490         * ListBox.cs                  - Supports the following properties:
1491                    BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
1492                    ToolTip.
1493                   Methods:
1494                    AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
1495                    RenderContents(HtmlTextWriter)
1496
1497
1498 2002-02-01      Gaurav Vaish <gvaish@iitk.ac.in>
1499
1500         * TargetConverter.cs          - Completed
1501         * TemplateColumn.cs           - Completed
1502         * DataList.cs                 - Corrected the get-er methods for the
1503                  *Style objects. Corrected the get/set-er methods for ViewState
1504                    related objects.
1505                  Addded support for properties:
1506                    GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
1507                    RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
1508                    SelectedItem, SelectedItemStyle, SelectedItemTemplate,
1509                    SeparatorStyle, SeparatorItemTemplate.
1510                  Events:
1511                    CancelCommand, DeleteCommand, EditCommand, ItemCommand,
1512                    ItemCreated, ItemDataBound, UpdateCommand.
1513                  Methods:
1514                    CreateControlStyle(), LoadViewState(object),
1515                    SaveViewState(), TrackViewState
1516                  Event handlers:
1517                    OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
1518                    OnEditCommand, OnItemCommand, OnItemCreated,
1519                    OnItemDataBound, OnUpdateCommand
1520                  Added dummy methods for some undocumented methods:
1521                    CreateControlHierarchy(bool), CreateItem(int, ListItemType),
1522                    CreateItem(int, ListItemType, bool, object),
1523                    PrepareControlHierarchy(), InitializeItem(DataListItem)
1524         * ListBox.cs                  - Started working.
1525
1526
1527
1528 2002-01-31      Gaurav Vaish <gvaish@iitk.ac.in>
1529
1530         * RepeaterInfo.cs             - Initial Implementation. Done all
1531                                         except for RepeatDirection.Vertical
1532         * TableStyle.cs               - Completed
1533
1534 2002-01-30      Gaurav Vaish <gvaish@iitk.ac.in>
1535
1536         * DropDownList.cs             - Completed
1537         * ListItemCollection.cs       - Added method FindByValueInternal to
1538                                         assist in the derived classes.
1539                                         Discovered bug in FindByValue. Removed
1540         * UnitConverter.cs            - Completed
1541         * PlaceHolder.cs              - What can be simpler than this?
1542         * PlaceHolderControlBuilder.cs
1543                                       - Uh! Damn cool one.
1544         * RadioButtonList.cs          - Initial Implementation. All is done
1545                                         except for the implementation of
1546                                         method IRepeatInfoUser.RenderItem(...)
1547         * ValidatedControlConverter.cs
1548           ^^^^^^^^^^^^^^^^^^^^^^^^^   - Looks complete. Doubtful though !!
1549         * ValidationSummary.cs        - Initial Implementation.
1550         * WebColorConverter.cs        - Initial Implementation
1551
1552 2002-01-27      Gaurav Vaish <gvaish@iitk.ac.in>
1553
1554         * FontNamesConverter.cs       - Completed
1555         * FontUnitConverter.cs        - Partial Implementation
1556         * ListItemControlBuilder.cs   - Completed
1557
1558 2002-01-27      Gaurav Vaish <gvaish@iitk.ac.in>
1559
1560         * TextBox.cs                  - All done except *Render* methods
1561         * TextBoxControlBuilder.cs    - Completed
1562         * Xml.cs                      - Partial Implementation
1563
1564 2002-01-26      Gaurav Vaish <gvaish@iitk.ac.in>
1565
1566         * RadioButton.cs              - Completed
1567         * TextBox.cs                  - Partial Implementation
1568
1569 2002-01-25      Gaurav Vaish <gvaish@iitk.ac.in>
1570
1571         * Panel.cs                    - Completed
1572         * TableItemStyle.cs           - Completed
1573
1574 2002-01-18      Gaurav Vaish <gvaish@iitk.ac.in>
1575
1576         * TableCellCollection.cs      - Completed
1577         * TableRowCollection.cs       - Completed
1578         * TableHeaderCell.cs          - Completed
1579         * TableRow.cs                 - Completed
1580
1581 2002-01-09      Gaurav Vaish <gvaish@iitk.ac.in>
1582
1583         * TableCellControlBuilder.cs  - Completed
1584         * Table.cs                    - Completed
1585         * TableCell.cs                - Completed
1586
1587 2002-01-07      Gaurav Vaish <gvaish@iitk.ac.in>
1588
1589         * CheckBoxList.cs             - Completed
1590         * ButtonColumn.cs             - Completed
1591         * Button.cs                   - Completed
1592
1593 2001-12-28      Gaurav Vaish <gvaish@iitk.ac.in>
1594
1595         * HyperLink.cs                - Completed
1596         * Image.cs                    - Completed
1597         * ImageButton.cs              - Completed
1598         * Label.cs                    - Completed
1599         * LabelControlBuilder.cs      - Completed
1600         * LinkButton.cs               - Completed
1601         * LinkButtonControlBuilder.cs - Completed
1602         * Literal.cs                  - Completed
1603         * LieteralControlBuilder.cs   - Completed
1604         * FontUnit.cs                 - Completed
1605
1606
1607 2001-12-27      Gaurav Vaish <gvaish@iitk.ac.in>
1608
1609         * Calendar.cs                 - Completed the functions of Render*,
1610                                         ViewStates (Track/View/Save),
1611                                         RaisePostBackEvent.
1612                                         Left: RenderAllDays (partially)
1613
1614 2001-12-21      Gaurav Vaish <gvaish@iitk.ac.in>
1615
1616         * Calendar.cs                 - Added some more functions
1617         * Style.cs                    - Completed
1618         * ListItem.cs                 - Completed
1619         * ListItemCollection.cs       - Completed
1620
1621   Made the first successful build of System.Web.dll that included
1622   System.Web.UI.WebControls!
1623
1624 2001-12-20      Gaurav Vaish <gvaish@iitk.ac.in>
1625
1626         FontInfo.cs                 - Complete revamp. Completed
1627
1628 2001-12-19      Gaurav Vaish <gvaish@iitk.ac.in>
1629
1630         ListItemCollection.cs       - Completed
1631         ListItem.cs                 - Initial Implementation
1632         Style.cs                    - Initial Implementation
1633
1634   Right now I am in a total mood to do a successful build. Creating so many
1635   classes, completing classes in System.Web System.Web.UI namespaces.
1636
1637 2001-12-18      Gaurav Vaish <gvaish@iitk.ac.in>
1638
1639         TODO                        - Properly added
1640         CheckBox.cs                 - Completed
1641         BaseDataList.cs             - Completed
1642         DayRenderEventArgs.cs       - Completed
1643         RepeaterItem.cs             - Initial implementation
1644
1645 2001-12-17      Gaurav Vaish <gvaish@iitk.ac.in>
1646
1647         BaseCompareValidator.cs     - Completed
1648         AdRotator.cs                - Completed
1649
1650 2001-12-15      Gaurav Vaish <gvaish@iitk.ac.in>
1651
1652         CommandEventArgs.cs         - Completed
1653         DataGridCommandEventArgs.cs - Completed
1654         RepeaterCommandEventArgs.cs - Completed
1655         DataListCommandEventArgs.cs - Completed
1656         CompareValidator.cs         - Partial Implementation
1657
1658 2001-12-02      Gaurav Vaish <gvaish@iitk.ac.in>
1659
1660         CheckBoxList.cs            - Partial Implementation.
1661                                      All except "Render"
1662
1663 2001-12-01      Gaurav Vaish <gvaish@iitk.ac.in>
1664
1665         ListControl.cs             - Completed
1666
1667 2001-11-30      Gaurav Vaish <gvaish@iitk.ac.in>
1668
1669         CheckBox.cs                - Completed
1670         ListControl.cs             - Initial Implementation
1671         CheckBoxList.cs            - Started with it, but first needed
1672                                      ListControl. Left it.
1673
1674 2001-11-29      Gaurav Vaish <gvaish@iitk.ac.in>
1675
1676         CalendarDay.cs             - Making a note that this
1677                                      has been implemented
1678         Calendar.cs                - Making a note that have made some changes.
1679                                      Unimplmented functions throw
1680                                      NotImplementedException
1681         CheckBox.cs                - Can now "Render" and "LoadPostData"
1682
1683
1684 2001-11-08      Gaurav Vaish <gvaish@iitk.ac.in>
1685         WebControl.cs              - Total Revamp, Partial Implementation
1686         AdRotator.cs               - Able to load files
1687         AdCreatedEventArgs.cs      - Implemented
1688
1689 2001-11-05      Gaurav Vaish <gvaish@iitk.ac.in>
1690         Calendar.cs                - Initial Implementation
1691         ButtonColumn.cs            - Initial Implementation
1692         Button.cs                  - Initial Implementation
1693         BoundColumn.cs             - Initial Implementation
1694         BaseCompareValidator.cs    - Minor Changes
1695         DataList.cs, BaseValidator.cs, BaseDataList.cs
1696                                    - Added more functions, other changes
1697         
1698 2001-10-28      Gaurav Vaish <gvaish@iitk.ac.in>
1699         WebControl.cs              - Initial Implementation
1700         DataList.cs                - Initial Implementation
1701         BaseValidator.cs           - Initial Implementation
1702         BaseDataList.cs            - Initial Implementation
1703
1704 2001-10-27      Gaurav Vaish <gvaish@iitk.ac.in>
1705
1706         AdCreatedEventArgs.cs      - Initial Implementation
1707         AdCratedEventHandler.cs    - Implemented
1708         AdRotator.cs               - Initial Implementation
1709         BorderStyle.cs             - Implemented
1710         ButtonColumnStyle.cs       - Implemented
1711         CalendarSelectionMode.cs   - Implemented
1712         DayNameFormat.cs           - Implemented
1713         FirstDayOfWeek             - Implemented
1714         FontInfo.cs                - Partial Implementation
1715         FontSize.cs                - Implemented
1716         GridLines.cs               - Implemented
1717         HorizontalAlign.cs         - Implemented
1718         HyperLink.cs               - Initial Implementation
1719         ImageAlign.cs              - Implemented
1720         IRepeatInfoUser.cs         - Implemented
1721         ListItemType.cs            - Implemented
1722         ListSelectionMode.cs       - Implemented
1723         NextPrevFormat.cs          - Implemented
1724         PagerMode.cs               - Implemented
1725         PagerPosition.cs           - Implemented
1726         RepeatDirection.cs         - Implemented
1727         RepeatLayout.cs            - Implemented
1728         TextAlign.cs               - Implemented
1729         TextBoxMode.cs             - Implemented
1730         TitleFormat.cs             - Implemented
1731         UnitType.cs                - Implemented
1732         ValidationCompareOperator.cs
1733                                    - Implemented
1734         ValidationDataType.cs      - Implemented
1735         ValidationSummaryDisplayMode.cs
1736                                    - Implemented
1737         ValidatorDisplay.cs        - Implemented
1738         VerticalAlign.cs           - Implemented
1739
1740
1741
1742 // File Created 2001-11-13