2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / ChangeLog
1 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * Calendar.cs: TrackViewState should be called upon creation, not on
4         every get_XXX call. Cleanup.
5
6 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7
8         * DataGrid.cs: fix another test. The ID of the table generated by the
9         datagrid is set to the one on the datagrid if no one set the ID for the
10         table.
11
12 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
13
14         * ListControl.cs: this fixes TestValueFieldAndTextFormat from
15         DropDownListTest.
16
17 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
18
19         * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
20         converted to string as X{1,2}-.*. All FontUnitTests pass now.
21         * Unit.cs: throw a format exception when there's not number or minus
22         sign in the first non-whitespace character.
23
24 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
25
26         * ListControl.cs: SelectedIndex/SelectedValue can be set before
27         DataBinding () is called on the control, so we have to keep this values
28         around and use them after the data is read. If both properties are
29         used, they must refer to the same item.
30
31 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
32
33         * DataList.cs: fill in the data keys from BaseDataList so that the
34         events can see them. Only assign DataItem when using data binding and
35         nullify it after all events are raised.
36
37 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
38
39         * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
40         called.
41
42 2005-09-23  Sebastien Pouliot  <sebastien@ximian.com> 
43  
44         * Button.cs: For 2.0 don't add the "name" attribute unless there's an 
45         id.
46         * DataGrid.cs: Fix TagKey (table) for 2.0.
47         * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
48         * DropDownList.cs: For 2.0 don't add the "name" attribute unless 
49         there's an id.
50         * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
51         id.
52         * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
53         * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty 
54         (i.e. not null).
55         * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
56         id.
57         * TreeView.cs: Added declarative security (Link and Inheritance 
58         demands) for Minimal.
59         * XmlDataSource.cs: Added declarative security (Link and Inheritance
60         demands) for Minimal.
61
62 2005-09-23  Sebastien Pouliot  <sebastien@ximian.com>
63
64         * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
65         Inheritance demands) for Minimal.
66         * Label.cs: Added declarative security (Link and Inheritance demands) 
67         for Minimal.
68         * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
69         * ListItemCollection.cs: Added declarative security (LinkDemands) for 
70         Minimal.
71         * MonthChangedEventArgs.cs: Added declarative security (Link and, for 
72         2.0, Inheritance demands) for Minimal.
73         * PagedDataSource.cs: Added declarative security (LinkDemands) for 
74         Minimal.
75         * Panel.cs: Added declarative security (Link and Inheritance demands) 
76         for Minimal.
77         * Repeater.cs: Added declarative security (Link and Inheritance 
78         demands) for Minimal.
79         * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
80         * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
81         for Minimal.
82         * TargetConverter.cs: Added declarative security (Link and Inheritance
83         demands) for Minimal.
84         * Unit.cs: Added, but only for 1.x, declarative security (Link and 
85         Inheritance demands) for Minimal.
86         * ValidatedControlConverter.cs: Added declarative security (Link and 
87         Inheritance demands) for Minimal.
88         * WebColorConverter.cs: Added declarative security (Link and 
89         Inheritance demands) for Minimal.
90         * Xml.cs: Added declarative security (Link and Inheritance demands) 
91         for Minimal.
92         * ValidationSummary.cs: Added declarative security (Link and 
93         Inheritance demands) for Minimal.
94
95 2005-09-23  Sebastien Pouliot  <sebastien@ximian.com> 
96
97         * UnitConverter.cs: Remove conversion from Unit (see unit tests).
98
99 2005-09-22  Ben Maurer  <bmaurer@ximian.com>
100
101         * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
102         it took O(height) time, not O(1).
103
104 2005-09-21  Sebastien Pouliot  <sebastien@ximian.com> 
105  
106         * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
107
108 2005-09-21  Sebastien Pouliot  <sebastien@ximian.com>
109
110         * AdCreatedEventArgs.cs: Added declarative security (Link and, for 
111         2.0, Inheritance demands) for Minimal.
112         * BaseCompareValidator.cs: Added declarative security (Link and 
113         Inheritance demands) for Minimal.
114         * BaseDataBoundControl.cs: Added declarative security (Link and 
115         Inheritance demands) for Minimal.
116         * BaseValidator.cs: Added declarative security (Link and Inheritance 
117         demands) for Minimal.
118         * BoundColumn.cs: Added declarative security (Link and Inheritance 
119         demands) for Minimal.
120         * ButtonColumn.cs: Added declarative security (Link and Inheritance 
121         demands) for Minimal.
122         * CalendarDay.cs: Added declarative security (Link and Inheritance 
123         demands) for Minimal.
124         * CheckBoxList.cs: Added declarative security (Link and Inheritance 
125         demands) for Minimal.
126         * CompareValidator.cs: Added declarative security (Link and 
127         Inheritance demands) for Minimal.
128         * CustomValidator.cs: Added declarative security (Link and Inheritance
129         demands) for Minimal.
130         * DataBoundControl.cs: Added declarative security (Link and 
131         Inheritance demands) for Minimal.
132         * DataGridItemCollection.cs: Added declarative security (Link and 
133         Inheritance demands) for Minimal.
134         * DataKeyCollection.cs: Added declarative security (LinkDemands) for 
135         Minimal.
136         * DataListItemCollection.cs: Added declarative security (LinkDemands) 
137         for Minimal.
138         * DataListItem.cs: Added declarative security (Link and Inheritance 
139         demands) for Minimal.
140         * FontNamesConverter.cs: Added declarative security (Link and 
141         Inheritance demands) for Minimal.
142         * HyperLink.cs: Added declarative security (Link and Inheritance 
143         demands) for Minimal.
144         * HyperLinkColumn.cs: Added declarative security (Link and Inheritance 
145         demands) for Minimal.
146         * Image.cs: Added declarative security (Link and Inheritance demands) 
147         for Minimal.
148
149 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
150
151         * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
152         not the DataKeys.
153         * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
154         a data source, first try reflection, then componentmodel. If we get
155         an enumerator, keep it around, as MS only calls GetEnumerator once.
156         Throw an exception if no columns can be created from the given data
157         source. Tested with DbDataRecord, DataTable, ArrayList and
158         ICustomTypeDescriptor.
159
160 2005-09-20  Sebastien Pouliot  <sebastien@ximian.com>
161
162         * AccessDataSource.cs: Added declarative security (Link and Inheritance 
163         demands) for Minimal. Added [ToolboxBitmap] on class.
164         * AdRotator.cs: Added declarative security (Link and Inheritance 
165         demands) for Minimal. Removed extra Page and ViewState properties.
166         * BulletedList.cs: Added declarative security (Link and Inheritance 
167         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
168         * Button.cs: Added declarative security (Link and Inheritance demands) 
169         for Minimal. Added [SupportsEventValidation] on class (2.0).
170         * Calendar.cs: Added declarative security (Link and Inheritance 
171         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
172         * CheckBox.cs: Added declarative security (Link and Inheritance 
173         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
174         * CompositeControl.cs: Added declarative security (Link and Inheritance 
175         demands) for Minimal. Added new protected RecreateChildControls method.
176         * DataControlCommands.cs: Added declarative security (LinkDemands) for 
177         Minimal. Added private ctor.
178         * DataGrid.cs: Added declarative security (Link and Inheritance 
179         demands) for Minimal. Fixed properties for 2.0 (mostly removing 
180         [Bindable]). Added override for TagKey property.
181         * DataGridColumn.cs: Added declarative security (Link and Inheritance 
182         demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
183         * DataGridItem.cs: Added declarative security (Link and Inheritance 
184         demands) for Minimal. Added IDataItemContainer interface for 2.0.
185         * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for 
186         Minimal. Remove [Bindable] from 2.0 and add [Localizable].
187         * DataList.cs: Removed [Load|Save]ControlState methods.
188         * DropDownList.cs: Added declarative security (Link and Inheritance 
189         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
190         * EditCommandColumn.cs: Added declarative security (Link and 
191         Inheritance demands) for Minimal. Added missing attributes, 
192         [DefaultValue] and [Localize] for 2.0.
193         * FontInfo.cs: Added declarative security (Link and Inheritance 
194         demands) for Minimal. Remove [Bindable] and added [RefreshProperties] 
195         for 2.0.
196         * Login.cs: Added declarative security (Link and Inheritance demands) 
197         for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
198         * ImageButton.cs: Added declarative security (Link and Inheritance 
199         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
200         * LinkButton.cs: Added declarative security (Link and Inheritance 
201         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
202         * ListBox.cs: Added declarative security (Link and Inheritance demands) 
203         for Minimal. Added [SupportsEventValidation] on class (2.0).
204         * Literal.cs: Added declarative security (Link and Inheritance demands) 
205         for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
206         * LoginStatus.cs: Added missing [Themeable] attributes on properties.
207         * MenuItemStyle.cs: Changed IsEmpty to public (required to compile - 
208         but will be shown as extra).
209         * RadioButton.cs: Added declarative security (Link and Inheritance 
210         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
211         * RadioButtonList.cs: Added declarative security (Link and Inheritance 
212         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
213         * RangeValidator.cs: Added declarative security (Link and Inheritance 
214         demands) for Minimal. Added missing [Themeable] attributes.
215         * RegularExpressionValidator.cs: Added declarative security (Link and 
216         Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add 
217         [Localizable].
218         * RoleGroupCollection.cs: Added declarative security (Link and 
219         Inheritance demands) for Minimal. Fixed base class (changed in RC). 
220         Re-implemented CopyTo. Removed some methods.
221         * Style.cs: Added declarative security (Link and Inheritance demands) 
222         for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
223         is now public in 2.0.
224         * Table.cs: Added declarative security (Link and Inheritance demands) 
225         for Minimal. Added [SupportsEventValidation] on class (2.0).
226         * TableCell.cs: Fixed PersistenceMode for 2.0.
227         * TextBox.cs: Added declarative security (Link and Inheritance demands) 
228         for Minimal. Added [SupportsEventValidation] on class (2.0).
229         * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile - 
230         but will be shown as extra).
231         * WebControl.cs: Added declarative security (Link and Inheritance 
232         demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated 
233         property.
234
235 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
236
237         * TableStyle.cs: fixed typo that prevented restoring GridLines from
238         a saved viewstate.
239
240         * DataGrid.cs: the table does not get an auto ID. When restoring from
241         viewstate, use all the saved columns, not just that data bound ones. Set
242         the owner of the BoundColumns created. Save/restore columns.
243         OnItemCreated happens after the item is initialized and the data item is
244         set before the event and nullified after OnItemDataBound.
245         Add the render_table to the Controls immediately, otherwise we might get
246         errors from child controls such as "must be rendered inside a form".
247         Keep the items created in the list waiting for them.
248         The table uses the attributes from the DataGrid and ControlStyle.
249         Raise OnItemCommand on all bubble events and don't propagate bubble
250         event up in the hierarchy
251
252         * TableCell.cs: it does not get an automatic ID.
253         * BoundColumn.cs: FormatDataValue returns an empty string on null input
254         (there was already a test for this).
255
256         Fixes bug #76117.
257
258 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
259
260         * DataGridColumnCollection.cs: track the view state in the newly added
261         items.
262
263 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
264
265         * DataGrid.cs: merge column styles too. Fixes bug #76106.
266         * DataGridColumn.cs: new internal method to retrieve the styles without
267         creating an instance for them.
268
269 2005-09-15  Sebastien Pouliot  <sebastien@ximian.com>
270
271         * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs, 
272         Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with 
273         StateBag.SetDirty (true).
274
275 2005-09-14  Sebastien Pouliot  <sebastien@ximian.com>
276
277         * Menu.cs: Fixed parameter orders for CreateStyleRule.
278
279 2005-09-13  Chris Toshok  <toshok@ximian.com>
280
281         * Style.cs: corcompare stuff.
282
283         * RequiredFieldValidator.cs: more corcompare stuff.
284
285         * CheckBoxList.cs: clean up some of the interface methods vs
286         protected virtual 2.0 calls.
287
288         * SubMenuStyle.cs: corcompare says this should implement
289         ICustomTypeDescriptor... sooo, make it.
290
291 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
292
293         * TableCell.cs: do the same as HyperLink and others in
294         AddParsedSubobject so that adding a literal control does not remove the
295         existing controls if any. Fixes bug #76078.
296
297 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
298
299         * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
300
301 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
302
303         * ImageButton.cs: fix invalid cast exception.
304
305 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
306
307         * ListItem.cs: throw in AddParsedSubObject if the object is not a
308         LiteralControl.
309         * RadioButtonList.cs: implemented LoadPostData and
310         RaisePostDataChangedEvent.
311
312 2005-09-09  Chris Toshok  <toshok@ximian.com>
313
314         * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
315         ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
316         LoadPostData/RaisePostDataChangedEvent.
317
318 2005-09-09  Chris Toshok  <toshok@ximian.com>
319
320         * FontInfo.cs (IsEmpty): new internal property, used by
321         Style.IsEmpty.
322
323         * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
324         well.
325
326 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
327
328         * ListItemCollection.cs: remove obsoleted methods.
329         * ListBox.cs: use IStateManager on the item collection.
330
331 2005-09-08  Eyal Alaluf  <eyala@mainsoft.com>
332
333         * Use C# 1.0 style of delegate instantiating. Needed to compile
334         Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
335
336 2005-09-07  Chris Toshok  <toshok@ximian.com>
337
338         * Calendar.cs (WriteDay): always add BackColor=Silver,
339         ForeColor=White to selected day cells, before copying over the
340         selectedDayStyle, if it exists.
341         (WriteDays): fix nunit test - if the first day of the month falls
342         on the first day of the week, go back one week (effectively adding
343         a row of dates from the previous month.)
344         (WriteTitle): don't copy the control style to the tableTitle,
345         since it might have height specifications, which would make the
346         title look rather off.
347
348 2005-09-07  Chris Toshok  <toshok@ximian.com>
349
350         * ValidationSummary.cs (AddAttributesToRender): we only set
351         display=none if there are no errors.
352
353         * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
354         call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
355
356 2005-09-07  Chris Toshok  <toshok@ximian.com>
357
358         * ListControl.cs (SelectedIndex): add comment about how you'd
359         think OnSelectedIndexChanged would be called.. and you'd be wrong.
360         (Text): implement in terms of SelectedValue.
361         (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
362         (LoadControlState): implement - this is where the selected index
363         ArrayList gets stuffed in 2.0.
364         (OnInit): call Page.RegisterRequiresControlState.
365         (OnTextChanged): implement.
366         (RenderContents): for now just chain up to base.RenderContents.
367         (SaveControlState): save our control state properly.
368         (GetSelectedIndices): split this out from SaveViewState to it can
369         be used by both that and SaveControlState.
370         (SaveViewState): mangle this function so it works in both 2.0 and
371         1.0.
372         (LoadViewState): same.
373
374 2005-09-06  Chris Toshok  <toshok@ximian.com>
375
376         * BaseValidator.cs (AddAttributesToRender): render our ClientID if
377         we weren't assigned an ID.
378
379         * ValidationSummary.cs (AddAttributesToRender): same.
380
381 2005-09-06  Chris Toshok  <toshok@ximian.com>
382
383         * WebControl.cs: revert the last change.
384
385 2005-09-06  Chris Toshok  <toshok@ximian.com>
386
387         * WebControl.cs (AddAttributesToRender): always render ClientID.
388
389         * ValidationSummary.cs (Render): same.
390
391         * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
392         here.
393
394 2005-09-06  Chris Toshok  <toshok@ximian.com>
395
396         * ValidationSummary.cs (Render): only do the JS stuff when the
397         validators on the page are uplevel.
398
399         * BaseValidator.cs (Render): remove unnecessary comment.
400
401 2005-09-05  Chris Toshok  <toshok@ximian.com>
402
403         * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
404         stored in the ViewState.
405
406 2005-09-02  Chris Toshok  <toshok@ximian.com>
407
408         * Repeater.cs (GetData): change this slightly so the Repeater
409         doesn't keep a ref to the return value of GetData.
410
411 2005-09-01  Chris Toshok  <toshok@ximian.com>
412
413         * ListControl.cs (AppendDataBoundItems): implement (2.0)
414         (TagKey): same.
415
416 2005-09-01  Chris Toshok  <toshok@ximian.com>
417
418         * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
419         System.Web.UI.WebControls/ValidatedControlConverter.cs,
420         System.Web.UI.WebControls/Xml.cs,
421         System.Web.UI.WebControls/RegularExpressionValidator.cs,
422         System.Web.UI.WebControls/ServerValidateEventArgs.cs,
423         System.Web.UI.WebControls/Menu.cs,
424         System.Web.UI.WebControls/MailMessageEventArgs.cs,
425         System.Web.UI.WebControls/MenuItemStyle.cs,
426         System.Web.UI.WebControls/RangeValidator.cs,
427         System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
428         System.Web.UI.WebControls/MenuItem.cs,
429         System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
430         System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
431         System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
432         System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
433         System.Web.UI.WebControls/XmlBuilder.cs,
434         System.Web.UI.WebControls/ImageButton.cs: someone stop me.  more
435         corcompare work.
436
437 2005-09-01  Chris Toshok  <toshok@ximian.com>
438
439         * System.Web.UI.WebControls/Button.cs,
440         System.Web.UI.WebControls/ButtonField.cs,
441         System.Web.UI.WebControls/DataControlField.cs,
442         System.Web.UI.WebControls/BaseCompareValidator.cs,
443         System.Web.UI.WebControls/AutoGeneratedField.cs,
444         System.Web.UI.WebControls/CustomValidator.cs,
445         System.Web.UI.WebControls/Content.cs,
446         System.Web.UI.WebControls/BoundField.cs,
447         System.Web.UI.WebControls/AdRotator.cs,
448         System.Web.UI.WebControls/ButtonColumn.cs,
449         System.Web.UI.WebControls/CompareValidator.cs,
450         System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
451         work.  Stub things out, and add attributes.
452
453 2005-09-01  Chris Toshok  <toshok@ximian.com>
454
455         * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
456         CommandField.cs, HyperLinkColumn.cs, Table.cs,
457         RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
458         CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
459         Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
460         TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
461         BaseValidator.cs, CustomValidator.cs, TextBox.cs,
462         ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
463         RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
464         Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
465         XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
466         CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
467         WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
468         TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
469         TableItemStyle.cs: Add some WebCategory and WebSysDescription
470         attributes.
471
472 2005-09-01  Chris Toshok  <toshok@ximian.com>
473
474         * AccessDataSource.cs: corcompare work.
475
476         * SqlDataSource.cs: same.
477         
478 2005-09-01  Miguel de Icaza  <miguel@novell.com>
479
480         * Various places: make sure that the DefaultValue matches the
481         type.  Thanks to Michael for pointing this out.
482
483         In future audits, you might want to use the following awk command:
484
485         awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
486         !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
487         print $0; looking = 0; } /public/ && looking { looking = 0; } '
488         *.cs
489
490         The above skips bools, strings and ints as those were fine as we
491         set them.  The bug was on the other ones.
492
493 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
494
495         * Repeater.cs: fix the build.
496
497 2005-08-31  Chris Toshok  <toshok@ximian.com>
498
499         * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
500         {Base}DataList, and also from debug spew garnered from some
501         Repeater subclass tests on MS.
502         (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
503         the IEnumerable by calling GetData().
504         (DataBind): reset RequiresDataBinding to false (2.0).
505         (DataMember): copy the set implementation from DataList, and add
506         2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
507         (DataSource): more c&p.
508         (DataSourceID); implement (2.0)
509         (Initialized): implement (2.0)
510         (IsBoundUsingDataSource): implement (2.0)
511         (RequiresDataBinding): implement (2.0)
512         (SelectArguments): implement (2.0)
513         (CreateDataSourceSelectArguments): implement (2.0)
514         (EnsureDataBound): implement (2.0)
515         (GetData): implement.
516         (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
517         (2.0)
518         (OnDataSourceViewChanged): set RequiresDataBinding to true, but
519         leave the MonoTODO. (2.0)
520         (OnInit): call base.OnInit instead of throwing NIE, but leave the
521         MonoTODO (2.0)
522         (OnLoad): implement.
523         (OnPreRender): implement.
524         (ConnectToDataSource): new method - look for the right control.
525
526 2005-08-31  Chris Toshok  <toshok@ximian.com>
527
528         * XmlDataSourceView.cs: fix the scope of our select.  Don't use
529         call SelectNodes on the XmlDocument, not on
530         XmlDocument.DocumentElement.
531
532 2005-08-31  Chris Toshok  <toshok@ximian.com>
533
534         * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
535         (DoXPathSelect): put the xpath selection stuff here.
536         (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
537         null).
538
539         * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
540         select here, the view does it.
541
542 2005-08-31  Jackson Harper  <jackson@ximian.com>
543
544         * DataList.cs: Remove some debugging code that was starting to bug
545         me (tee hee).
546
547 2005-08-31  Chris Toshok  <toshok@ximian.com>
548
549         * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
550         create our Navigator by calling node.CreateNavigator().
551
552 2005-08-31  Chris Toshok  <toshok@ximian.com>
553
554         * XmlDataSource.cs (GetXmlDataDocument): rename this to
555         GetXmlDocument, and change the return value from XmlDataDocument
556         to XmlDocument.
557         (LoadXmlDataDocument): similar change.
558         (Save): xmlDataDocument -> xmlDocument.
559         (CanBeSaved): there's no ReadOnly attribute.
560         (LoadViewState, SaveViewState, TrackViewState): nuke.
561         (GetHierarchicalView): xmlDataDocument -> xmlDocument.
562         (CacheDuration): stub out with NIE.
563         (CacheExpirationPolocy): same.
564         (CacheKeyDependency): same.
565         (EnableCaching): same.
566         (ReadOnly): nuke.
567         (Data, DataFile): xmlDataDocument -> xmlDocument.
568         (Schema, SchemaFile): nuke.
569         (Transform, TransformFile): xmlDataDocument -> xmlDocument.
570         
571 2005-08-30  Lluis Sanchez Gual  <lluis@novell.com> 
572
573         * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
574           Don't use the obsolete IsSet method.
575         * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
576         * CheckBox.cs: Implement some 2.0 methods.
577         * GridView.cs: Removed some "throw new NotImplementedException"
578
579 2005-08-29  Chris Toshok  <toshok@ximian.com>
580
581         * TreeView.cs: Use the StateBag accessors Ben added, and implement
582         SkipLinkText and Visible.
583
584 2005-08-29  Chris Toshok  <toshok@ximian.com>
585
586         * TreeView.cs: fix typo in an attribute.
587
588 2005-08-29  Jackson Harper  <jackson@ximian.com>
589
590         * PagedDataSource.cs: If it's not a list or collection we don't
591         use a bounded enumerator.
592
593 2005-08-29  Chris Toshok  <toshok@ximian.com>
594
595         * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
596
597         * CheckBox.cs: same.
598         
599         * BaseValidator.cs: same.
600         
601         * DropDownList.cs: same.
602         
603         * ValidationSummary.cs: same.
604
605 2005-08-28  Chris Toshok  <toshok@ximian.com>
606
607         * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
608
609 2005-08-26  Chris Toshok  <toshok@ximian.com>
610
611         * TextBox.cs: implement ValidationGroup and CausesValidation
612         properties.
613
614 2005-08-26  Lluis Sanchez Gual  <lluis@novell.com> 
615
616         * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
617         SetDirty.
618
619 2005-08-26  Chris Toshok  <toshok@ximian.com>
620
621         * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
622
623         * FontUnit.cs: add two 2.0 ctors, and the 2.0
624         ToString(IFormatProvider) method.
625
626 2005-08-26  Sebastien Pouliot  <sebastien@ximian.com> 
627  
628         * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
629         no items are present in the list.
630         * RoleGroup.cs: Added missing attributes.
631         * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
632         documented) methods.
633         * TableStyle.cs: *for 2.0* adding a "url({0})" to background image 
634         must be done in the HtmlTextWriter (not in the TableStyle).
635
636 2005-08-26  Chris Toshok  <toshok@ximian.com>
637
638         * Calendar.cs (UseAccessibleHeader): implement.
639         (RaisePostBackEvent): some #ifdef ugliness to get this all working
640         propertly between 1.x and 2.0
641         (WriteDayHeader): if UseAccessibleHeader == true, render header
642         cells as th's, not td's, and add abbr and scope attributes.
643
644 2005-08-25  Chris Toshok  <toshok@ximian.com>
645
646         * Calendar.cs (Caption, CaptionAlign): implement these properties.
647         (Render): if we have a non-empty caption, show it.
648         (WriteCaption): new method, output the caption.
649
650 2005-08-25  Chris Toshok  <toshok@ximian.com>
651
652         * Calendar.cs (Render): Copy the entire style from the Calendar to
653         the Table, not just the font.
654         (WriteDay): don't just write the link/text/etc.  Create a
655         LiteralControl as a child of the cell, before the call to
656         OnDayRender, with its text set to the day number.  After
657         OnDayRender, set the literal's text to either the number again (if
658         it's not selectable) or the full text of the js __doPostBack
659         hyperlink (if it is.)  Also, use cell.RenderControl here so we can
660         render child controls with the id's listed properly (and arguably
661         incorrectly).
662         (ApplyTitleStyleCell): remove.
663         (WriteTitle): apply the titleStyle to the enclosing table, not the
664         table cell containing the month name.  Also, copy from the
665         Calendar's ControlStyle to populate tableTitle's style initially.
666         We end up with more (superfluous) style attributes than MS, but
667         it's better than having less.
668
669 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>
670
671         * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
672         an image is used.
673
674 2005-08-25  Peter Dennis Bartok  <pbartok@novell.com>
675
676         * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
677           and RegisteredCssClass property
678
679 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com> 
680  
681         * LoginView.cs: Fixed attributes.
682         * Style.cs: Change SetRegisteredCssClass to internal and not to throw
683         an exception to allow pages to work on 2.x.
684
685 2005-08-25  Chris Toshok  <toshok@ximian.com>
686
687         * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
688
689         * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
690         yet implemented.
691
692         * HiddenField.cs: stub out this class and label everything
693         MonoTODO.
694
695 2005-08-25  Jackson Harper  <jackson@ximian.com>
696
697         * DataGrid.cs: Disable the pager row if there no paging enabled
698         or available.
699
700 2005-08-25  Chris Toshok  <toshok@ximian.com>
701
702         * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
703         typo.
704
705         * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
706         add a using statement.
707
708 2005-08-25  Chris Toshok  <toshok@ximian.com>
709
710         * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
711         corcompare.
712
713         * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
714         corcompare.
715
716 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>
717
718         * Login.cs: Added rendering and fixed parts of the authentication.
719         Now using IStateManager to allow compilation in another assembly (e.g.
720         to test the control under IIS). Needs more tests (error conditions) 
721         once we get a "real" Membership provider running.
722         * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided 
723         (returns true).
724
725 2005-08-25  Chris Toshok  <toshok@ximian.com>
726
727         * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
728
729 2005-08-25  Chris Toshok  <toshok@ximian.com>
730
731         * AdRotator.cs: stub out enough of the 2.0 methods/properties by
732         calling base.Foo to get the standalone adrotator (1.0) tests to
733         run without throwing exceptions.
734
735 2005-08-25  Chris Toshok  <toshok@ximian.com>
736
737         * ValidationSummary.cs (ValidationGroup): implement.
738         (Render): use Page.GetValidators in .net 2.0, so we can support
739         ValidationGroups.  Also, <br>'s get rendered as <br /> in .net
740         2.0.
741
742 2005-08-25  Chris Toshok  <toshok@ximian.com>
743
744         * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
745         2.0 attribute modifiers, and revert back to "override".
746
747         * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
748         2.0 attribute modifiers, and revert back to "override".
749         (BorderStyle): same.
750         (BorderWidth): same.
751
752         * TextBox.cs (SaveViewState): implement naively, calling
753         base.SaveViewState.
754         (TagKey): disable (but flag) the "virtual new" 2.0 attribute
755         modifiers, and revert back to "override".
756
757 2005-08-25  Peter Dennis Bartok  <pbartok@novell.com>
758
759         * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
760           Load ViewState for derived classes; no public LoadViewState override 
761           exists in those classes
762         * Style.cs: Added 2.0 IsStyleEmpty method
763
764 2005-08-25  Jackson Harper  <jackson@ximian.com>
765
766         * DataGrid.cs: The number of pages set in the pager is specified
767         by PageButtonCount.
768
769 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>
770
771         * LoginView.cs: New (2.0). Work in progress.
772
773 2005-08-24  Chris Toshok  <toshok@ximian.com>
774
775         * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
776         Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
777         ListControl.cs, SiteMapPath.cs, BulletedList.cs,
778         DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
779         Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
780         PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
781         DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
782         Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
783         ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
784         Add MonoTODO's for all things that throw NotImplementException.
785
786 2005-08-24  Sebastien Pouliot  <sebastien@ximian.com>
787
788         * RoleGroup.cs: New (2.0). Complete implementation.
789         * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
790
791 2005-08-23  Chris Toshok  <toshok@ximian.com>
792
793         * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
794         on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
795         even though they were written for the 1.0 stuff.
796
797 2005-08-23  Chris Toshok  <toshok@ximian.com>
798
799         * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
800         output.  Our tests now pass on both mono and ms, with both 1.x and
801         2.0 profiles.
802
803 2005-08-23  Sebastien Pouliot  <sebastien@ximian.com>
804
805         * Login.cs: Throw exception if the specified provider doesn't exists.
806         * LoginStatus.cs: Complete events.
807
808 2005-08-22  Jackson Harper  <jackson@ximian.com>
809
810         * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
811         controls.
812         (InitializeNumericPager): Now that the pager actually renders
813         properly I can see that I was computing it incorrectly.
814
815 2005-08-22  Jackson Harper  <jackson@ximian.com>
816
817         * DataGrid.cs (RenderTable): Make sure the new table gets the
818         correct style.
819         (CreateColumnSet): Clear the data source columnbs before adding
820         new ones regardless of whether or not a property descriptor was
821         found.
822         (InitializePager): pager_cell needs to be a member so it isn't
823         created more then once per a render.
824         (InitializeNumericPager): Compute start and end more
825         correctly.
826         - Link commands are 1 indexed.
827         (CreateControlHierarchy): Clear the table before we begin
828         rendering.
829         - Revert patch that made adding the pagers conditional. This is
830         incorrect, the pagers are always added. Only their visibility is
831         affected by the pager style.
832         - Save the entire count in the viewstate, not just the rendered
833         count. So when paging is enabled the pager's count isn't broken by
834         postback.
835
836 2005-08-22  Chris Toshok  <toshok@ximian.com>
837
838         * LinkButton.cs (ValidationGroup): implement.
839         (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
840         pass ValidationGroup to Page.Validate.
841
842 2005-08-22  Chris Toshok  <toshok@ximian.com>
843
844         * ImageButton.cs (ValidationGroup): implement.
845         (IPostBackEventHandler.RaisePostBackEvent): if we cause
846         validation, call Page.Validate properly (in both profiles).
847
848 2005-08-22  Chris Toshok  <toshok@ximian.com>
849
850         * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
851         case, pass ValidationGroup to Page.Validate.
852         (ValidationGroup): implement using ViewState.
853
854 2005-08-22  Chris Toshok  <toshok@ximian.com>
855
856         * BaseValidator.cs (Text): 2.0 only.  implement naively, just
857         get/set base.Text.
858         (OnInit): add 2.0 support for validation groups.
859         (OnUnload): same.
860
861 2005-08-22  Sebastien Pouliot  <sebastien@ximian.com>
862
863         * LoginName.cs: New (2.0) web control.
864         * LoginStatus.cs: New (2.0) web control.
865
866 2005-08-19  Chris Toshok  <toshok@ximian.com>
867
868         * LinkButton.cs (ValidationGroup): implement getter/setter.
869         (RaisePostBackEvent): implement naively, by c&p'ing the old
870         implementation of IPostBackEventHandler.RaisePostBackEvent, but
871         making use of the ValidationGroup in the call to Page.Validate.
872
873         * Button.cs: same.
874
875         * Style.cs (LoadViewState): set our style flags for all the things
876         we have flags for.  Seems like the subclass flags should be
877         handled in overridden LoadViewState methods, but none of the Style
878         subclasses seem to override this method.
879
880 2005-08-19  Chris Toshok  <toshok@ximian.com>
881
882         * TableStyle.cs (Merge, MergeWith): make these look a bit more
883         like Copy/CopyFrom, with the styles checks instead of just
884         ViewState checks.
885
886         * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
887         TableStyle.cs.
888
889 2005-08-19  Chris Toshok  <toshok@ximian.com>
890
891         * DataGrid.cs (InitializePager): don't unconditionally set
892         pager_cell to the numeric pager (especially after setting it
893         conditionally to the nextprev pager.)
894         (InitializeNumericPager): the link buttons don't participate in
895         validation.
896         (InitializeNextPrevPager): same.
897         (CreateControlHierarchy): create the top/bottom pagers only if the
898         PagerStyle says too.
899
900 2005-08-19  Sebastien Pouliot  <sebastien@ximian.com> 
901
902         * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
903
904 2005-08-18  Chris Toshok  <toshok@ximian.com>
905
906         * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
907         the start of this method so templates are created properly.
908
909 2005-08-18  Dick Porter  <dick@ximian.com>
910
911         * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
912         DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
913         RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
914         BaseDataList.cs, DataList.cs, BulletedList.cs,
915         DataBoundControl.cs, Login.cs, GridView.cs,
916         CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
917         TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
918         AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
919         DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
920         CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
921         ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
922         BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
923         LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
924         fixes
925
926 2005-08-18  Sebastien Pouliot  <sebastien@ximian.com> 
927
928         * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
929         anywhere...
930         * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
931         empty array of objects just to get the number of items.
932         * Login.cs: Implemented OnBubbleEvent and parts of the authentication
933         but we're missing some bits from the class lib to complete all this...
934
935 2005-08-17  Jackson Harper  <jackson@ximian.com>
936
937         * DataGrid.cs: Only create one pager and add it to both the top
938         and bottom of the grid, this way all the id numbers stay the same
939         and we save a bunch of cycles.
940
941 2005-08-17  Jackson Harper  <jackson@ximian.com>
942
943         * DataGrid.cs: The top and bottom pagers are always created. Just
944         the visibility is changed by the PagerStyle::Position.
945
946 2005-08-17  Chris Toshok  <toshok@ximian.com>
947
948         * CompositeControl.cs (RecreateChildControls): implement naively -
949         just call CreateChildControls.  We might need to call
950         Controls.Clear() as well, but for the time being, this is ok.
951
952 2005-08-17  Sebastien Pouliot  <sebastien@ximian.com> 
953  
954         * BaseDataList.cs: Completed implementation for 2.0.
955
956 2005-08-16  Sebastien Pouliot  <sebastien@ximian.com> 
957  
958         * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
959         * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
960
961 2005-08-16  Sebastien Pouliot  <sebastien@ximian.com>
962
963         * BaseDataList.cs: Removed old internal ctor as DataList TagKey was 
964         fixed for 2.0.
965         * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
966         Adjusted size and ordering of the ViewState (new element #0 is still
967         unknown). Properly fixed the TagKey in 2.0.
968         * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for 
969         all properties using enums.
970         * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
971         * TableItemStyle.cs: Fixed attribute rendering to use style to render
972         "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
973
974 2005-08-15  Jackson Harper  <jackson@ximian.com>
975
976         * EditCommandColumn.cs: Use a normal LinkButton.
977
978 2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>
979
980         * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the 
981         viewstate (even if assigned to the default value).
982         * TableRow.cs: Implement TableSection property (2.0). It has no effect
983         on the rendering of the table row.
984
985 2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>
986
987         * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
988         and removed [Bindable] attributes for 2.0.
989         * DataList.cs: Added new 2.0 attributes on class and removed [Bindable] 
990         attributes (for 2.0).
991         * DataListCommandEventArgs.cs: Not sealed in 2.0.
992         * DataListItemEventArgs.cs: Not sealed in 2.0.
993         * Image.cs: Fixed [Designer] attribute on class and all [Editor] 
994         attributes for URLs.
995         * Login.cs: Fixed [Designer] attribute on class and all [Editor] 
996         attributes for URLs.
997         * Table.cs: Fixed [Editor] attribute for 2.0.
998         * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
999         * TableCell.cs: Fixed [Designer] attribute. Fixed property name for 
1000         AssociatedHeaderCellID and it's [DefaultValue] attribute.
1001         * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText 
1002         and Scope attributes.
1003         * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
1004         on TableSection attribute.
1005         * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
1006
1007 2005-08-14  Sebastien Pouliot  <sebastien@ximian.com>
1008
1009         * Image.cs: Fixed attributes for 2.0 profile.
1010         * Login.cs: Fixed some attributes and default values.
1011         * Table.cs: Fixed attributes for 2.0 profile. Added protected method
1012         RaisePostBackEvent (TODO) in 2.0 profile.
1013         * TableCell.cs: Fix properties (Bindable, Localizable, Designer...) 
1014         and added AssociateHeaderCellID property (TODO).
1015         * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
1016         * TableFooterRow.cs: New (2.0). TableRow that always shows on each
1017         page (if the device requires to breaks the table into multiple pages).
1018         This seems to be a "flag" class, the real work will be in Table.
1019         * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
1020         * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
1021         page (if the device requires to breaks the table into multiple pages).
1022         This seems to be a "flag" class, the real work will be in Table.
1023         * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
1024         * TableRow.cs: Remove [Bindable (true)] from properties and add
1025         [Bindable (false)] and [Designer] on class. Added new TableSection 
1026         property (TODO).
1027         * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
1028         * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's 
1029         broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
1030         * TableStyle.cs: Fixed attributes for 2.0 profile. Added new 
1031         FillStyleAttributes method (2.0).
1032
1033 2005-08-13  Sebastien Pouliot  <sebastien@ximian.com>
1034
1035         * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and 
1036         attributes from existing controls.
1037         * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
1038         * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
1039
1040 2005-08-12  Jackson Harper  <jackson@ximian.com>
1041
1042         * TableRow.cs: No AutoID for TableRows.
1043
1044 2005-08-12  Jackson Harper  <jackson@ximian.com>
1045
1046         * DataGrid.cs (CreateRenderColumns): If we aren't using data
1047         binding grab the rendercols from the data source columns.
1048         (LoadViewState): Restore the bound columns when reloading the
1049         viewstate.
1050         (InitializeNumericPager): Create elipsised pagers.
1051         (CreateItem): Don't set the item's ID.
1052         (CreateItem): Add the control to the table before it is databound
1053         so that it's value is saved in the viewstate.
1054         (CreateControlHierarchy): Create a fake data source when not using
1055         databinding. Don't add controls to the table as they are added in
1056         CreateItem now.
1057         (PrepareControlHierarchy): Make footers and header non visible if
1058         they aren't enabled.
1059
1060 2005-08-12  Chris Toshok  <toshok@ximian.com>
1061
1062         * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
1063         docs says these methods/properties "ensure the child controls are
1064         created" -- so call EnsureChildControls() before invoking the base
1065         class's code.
1066
1067 2005-08-12  Jackson Harper  <jackson@ximian.com>
1068
1069         * BoundColumn.cs: Set the controls text instead of adding a
1070         literal control. So it is saved in the controls viewstate.
1071
1072 2005-08-11  Jackson Harper  <jackson@ximian.com>
1073
1074         * CheckBoxList.cs: Set the tabindex on the checkbox control and
1075         don't render it on the main table (Setting it to zero causes it to
1076         not be rendered). Also use the invariant culture on the id.
1077
1078 2005-08-11  Dick Porter  <dick@ximian.com>
1079
1080         * CheckBox.cs: Let ViewState manage removals; apply styles and
1081         "style" attributes in a surrounding <span>.  Fixes unit tests.
1082
1083 2005-08-10  Chris Toshok  <toshok@ximian.com>
1084
1085         * Label.cs (LoadViewState): set the Text attribute from our
1086         ViewState (if it exists) to clear out any child controls.  Fixes
1087         jsunit test label/label-child-control-postback.aspx.
1088
1089 2005-08-10  Jackson Harper  <jackson@ximian.com>
1090
1091         * PagedDataSource.cs: Respect paging with all data source types.
1092
1093 2005-08-09  Sebastien Pouliot  <sebastien@ximian.com> 
1094  
1095         * BaseDataList.cs: Changed Controls property from "virtual new" 
1096         (2.0 doc) to "override" (monop) to fix the Visible bug (see
1097         datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
1098         any controls (required due to change to Controls). Implemented 
1099         DataBind(bool) for 2.0.
1100         * DataListItem.cs: Fix the multiple table when extractRows is used.
1101         Removed extra span tags by rendering contents (not control). Added
1102         support for IDataItemContainer (2.0).
1103
1104 2005-08-08  Jackson Harper  <jackson@ximian.com>
1105
1106         * DataGrid.cs: Apply the styles to each item type. 
1107
1108 2005-08-08  Jackson Harper  <jackson@ximian.com>
1109
1110         * PagedDataSource.cs: If paging is not enabled keep enumerating to
1111         the end of the list.
1112
1113 2005-08-08  Sebastien Pouliot  <sebastien@ximian.com> 
1114  
1115         * BaseDataList.cs: Remove old compatibility stuff.
1116         * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
1117         * WebControl.cs: Always call CreateControlStyle to create the 
1118         ControlStyle. Fix the exception for datalist-style-edit.aspx.
1119
1120 2005-08-05  Jackson Harper  <jackson@ximian.com>
1121
1122         * DataGrid.cs: Don't make the current page index a link in the
1123         pager.
1124
1125 2005-08-05  Jackson Harper  <jackson@ximian.com>
1126
1127         * DataGrid.cs: Honour PagerPosition.
1128
1129 2005-08-05  Jackson Harper  <jackson@ximian.com>
1130
1131         * PagedDataSource.cs: Round PageCount properly.
1132
1133 2005-08-05  Dick Porter  <dick@ximian.com>
1134
1135         * CheckBox.cs: Shut corcompare up a bit more.  Still need to
1136         figure out how to not use AddAttributesToRender to get it
1137         completely silent.
1138
1139         * ButtonColumn.cs: Implement Initialize() and InitializeCell()
1140
1141         * DataGridColumn.cs: Added the duplicate viewstate manipulation
1142         methods
1143
1144 2005-08-05  Chris Toshok  <toshok@ximian.com>
1145
1146         * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
1147         null when it comes to the format string.
1148         (FormatDataTextValue): same.
1149
1150 2005-08-04  Chris Toshok  <toshok@ximian.com>
1151
1152         * BaseValidator.cs (Validate): only test a validator if it's both
1153         enabled and visible.
1154
1155 2005-08-04  Chris Toshok  <toshok@ximian.com>
1156
1157         * BaseValidator.cs (AddAttributesToRender): add "enabled" if
1158         !Enabled.
1159
1160 2005-08-04  Jackson Harper  <jackson@ximian.com>
1161
1162         * DataGrid.cs: Add a new space control for each link. Also make
1163         the link's text 1 indexed. Don't add the space after the last
1164         item.
1165
1166 2005-08-04  Ben Maurer  <bmaurer@ximian.com>
1167
1168         * LinkButton.cs: Fix up the test suite here.
1169
1170         * Panel.cs: Fix up nowrap
1171
1172 2005-08-04  Peter Dennis Bartok  <pbartok@novell.com>
1173
1174         * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
1175         * ListControl.cs: Clear item list before adding data (again)
1176
1177 2005-08-04  Jordi Mas i Hernandez  <jordi@ximian.com>
1178
1179         * Calendar.cs: fixes issues with OnDayRender event and others
1180
1181 2005-08-04  Peter Dennis Bartok  <pbartok@novell.com> 
1182
1183         * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
1184           creating rows
1185         * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
1186           if DataTextField is bound
1187         * EditCommandColumn.cs(InitializeCell): MS inserts a &nbsp; between the 
1188           two controls in edit mode, lets do the same
1189
1190 2005-08-03  Jackson Harper  <jackson@ximian.com>
1191
1192         * BoundColumn.cs: Respek for the thisExpr when data binding.
1193
1194 2005-08-03  Peter Dennis Bartok  <pbartok@novell.com> 
1195
1196         * EditCommandColumn.cs: No need to offer edit when in edit mode.
1197           Flipped output
1198
1199 2005-08-04  Dick Porter  <dick@ximian.com>
1200
1201         * DataGridColumn.cs: New implementation
1202
1203         * DataGrid.cs: 
1204         * DataGridColumnCollection.cs: Set the DataGridColumn's owner
1205
1206 2005-08-03  Peter Dennis Bartok  <pbartok@novell.com> 
1207
1208         * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
1209           set tracking var
1210
1211 2005-08-03  Ben Maurer  <bmaurer@ximian.com>
1212
1213         * RepeatInfo.cs: Finally figured out how to use base control
1214
1215 2005-08-03  Jackson Harper  <jackson@ximian.com>
1216
1217         * ButtonColumn.cs: Partial implementation.
1218
1219 2005-08-03  Peter Dennis Bartok  <pbartok@novell.com> 
1220
1221         * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
1222           negative value
1223
1224 2005-08-03  Jordi Mas i Hernandez  <jordi@ximian.com>
1225
1226         * Calendar.cs: fixes Save/Load state
1227
1228 2005-08-03  Jordi Mas i Hernandez  <jordi@ximian.com>
1229
1230         * Calendar.cs: bug fixes
1231
1232 2005-08-03  Jackson Harper  <jackson@ximian.com>
1233
1234         * DataGrid.cs: Merge the table style with the render table. Some
1235         initial work on the numeric pager. Remove some debugging code.
1236         
1237 2005-08-03  Jackson Harper  <jackson@ximian.com>
1238
1239         * BoundColumn.cs: Implement Initialize and InitializeCell. When
1240         Data is formated it uses the DataFormatString that was set at the
1241         time Initialize was called (or null if initialize was never
1242         called).
1243
1244 2005-08-02  Jordi Mas i Hernandez  <jordi@ximian.com>
1245
1246         * RadioButtonList.cs: bug fixes
1247
1248 2005-08-02  Jordi Mas i Hernandez  <jordi@ximian.com>
1249
1250         * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing  
1251         AddAttributesToRender
1252         * RadioButtonList.cs: Implementation
1253
1254 2005-08-01  Jackson Harper  <jackson@ximian.com>
1255
1256         * TableStyle.cs: Copy style bit when copying from another style.
1257
1258 2005-08-01  Jackson Harper  <jackson@ximian.com>
1259
1260         * PagedDataSource.cs: Implement missing properties, use yield for
1261         the Enumerator methods. Only allow the enums to return one page at
1262         a time.
1263
1264 2005-08-01  Chris Toshok  <toshok@ximian.com>
1265
1266         * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
1267
1268 2005-08-01  Peter Dennis Bartok  <pbartok@novell.com> 
1269
1270         * WebControl.cs: Track enabled state across sessions
1271
1272 2005-08-01  Peter Dennis Bartok  <pbartok@novell.com> 
1273
1274         * ListControl.cs(OnDatabinding): Value is equivalent to text if
1275           by default
1276
1277 2005-08-01  Jordi Mas i Hernandez  <jordi@ximian.com>
1278
1279         * ImageButton.cs: fixes, complete missing parts
1280
1281 2005-07-31  Ben Maurer  <bmaurer@ximian.com>
1282
1283         * TextBox.cs: Html encode for multiline text boxes
1284
1285         * HyperLink.cs: Resolve images
1286
1287 2005-07-30  Chris Toshok  <toshok@ximian.com>
1288
1289         * BaseValidator.cs: initial version of 2.0 properties
1290         ValidationGroup and SetFocusOnError.
1291
1292 2005-07-30  Chris Toshok  <toshok@ximian.com>
1293
1294         * HyperLinkColumn.cs (InitializeCell): clean this up.
1295
1296 2005-07-30  Chris Toshok  <toshok@ximian.com>
1297
1298         * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
1299         DataBinder.FormatResult.
1300         (FormatDataTextValue): same.
1301         (Initialize): call base.Initialize.
1302         (ItemDataBinding): new function, get the text/navigateurl and set
1303         them on our HyperLink control.
1304         (InitializeCell): create a hyperlink control in the
1305         Item/EditItem/AlternatingItem case.
1306
1307 2005-07-30  Ben Maurer  <bmaurer@ximian.com>
1308
1309         * RepeatInfo.cs: Handle 0 items situations correctly
1310
1311         * HyperLink.cs: Resolve urls correctly
1312
1313         * CheckBox.cs: use the correct ID for the label element.
1314
1315         * Label.cs: Correct AddParsedSubObject impl. See FAQ
1316
1317 2005-07-29  Chris Toshok  <toshok@ximian.com>
1318
1319         * BaseCompareValidator.cs (GetDateElementOrder): implement.
1320
1321 2005-07-29  Chris Toshok  <toshok@ximian.com>
1322
1323         * BaseCompareValidator.cs (GetFullYear): implement two ways.  The
1324         #if'ed out version follows microsoft's docs on msdn, but doesn't
1325         match ms's behavior.  The other matches their behavior but not
1326         their docs.  we use the latter.  go figure.
1327         (get_CutoffYear): implement using
1328         CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
1329
1330 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com> 
1331
1332         * FontInfo.cs:
1333           - Name property now throws exception when set to null
1334           - Names now handles situation where our bit tells us we have
1335             a font, but it's not in the StateBag (null removal)
1336         * RangeValidator.cs: Removed unused vars
1337
1338 2005-07-29  Ben Maurer  <bmaurer@ximian.com>
1339
1340         * Label.cs: ClientID should be used rather than UniqueID to get
1341         the For attribute
1342
1343 2005-07-29  Chris Toshok  <toshok@ximian.com>
1344
1345         * BaseValidator.cs (Validatate): not sure if this is entirely
1346         correct (some fairly deep testing required), but setting Enabled =
1347         false has the effect of setting IsValid = true.
1348
1349 2005-07-29  Ben Maurer  <bmaurer@ximian.com>
1350
1351         * RadioButton.cs: The "remove from groupstate" isn't needed any
1352         more, now that statebag is correct.
1353
1354 2005-07-29  Dick Porter  <dick@ximian.com>
1355
1356         * RadioButton.cs: Hide nonstandard API; remove GroupName from the
1357         ViewState when it is null.
1358
1359         * CheckBox.cs: Hide nonstandard API
1360
1361 2005-07-29  Jordi Mas i Hernandez  <jordi@ximian.com>
1362
1363         * Calendar.cs: fixes exceptions, bug fixes, new features
1364         * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
1365         * CalendarDay.cs: fixes default value
1366
1367 2005-07-28  Ben Maurer  <bmaurer@ximian.com>
1368
1369         * CompositeControl.cs: Stub
1370
1371 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com> 
1372
1373         * EditCommandColumn.cs: Implemented
1374
1375 2005-07-27  Chris Toshok  <toshok@ximian.com>
1376
1377         * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
1378
1379 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com> 
1380
1381         * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the 
1382           client side code)
1383
1384 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com>
1385
1386         * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
1387           for it's constructor, so remove it
1388         * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
1389
1390 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com> 
1391
1392         * DataGridPagerStyle.cs: Implemented
1393         * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
1394         * Style.cs: Added Styles enum values for DataGridPagerStyle
1395
1396 2005-07-27  Jordi Mas i Hernandez  <jordi@ximian.com>
1397
1398         * Calendar.cs: get the styles right, honors more properties, fixes, fix 
1399         var names style
1400
1401 2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>
1402
1403         * DataGridItem.cs: Implemented
1404
1405 2005-07-26  Chris Toshok  <toshok@ximian.com>
1406
1407         * LinkButton.cs (AddParsedSubObject): reversed the order of
1408         Controls.Add() and Text = null
1409         (set_Text): call Controls.Clear()
1410         (RenderContents): use HasControls() for the if test instead of
1411         Text != "".
1412
1413         * HyperLink.cs (AddParsedSubObject): reversed the order of
1414         Controls.Add () and Text = null;
1415
1416 2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>
1417
1418         * DataGridItemCollection.cs: Implemented
1419
1420 2005-07-26  Chris Toshok  <toshok@ximian.com>
1421
1422         * LinkButton.cs (AddParsedSubObject): copy implementation from
1423         HyperLink.
1424         (RenderContents): only call writer.Write(Text) if Text != "".
1425         Otherwise default to base.RenderContents.
1426
1427 2005-07-26  Chris Toshok  <toshok@ximian.com>
1428         
1429         * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
1430         ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
1431         (Page != null) around my last commit.
1432         
1433 2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>
1434
1435         * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
1436           Fixed use of literal strings, instead using Consts
1437         * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
1438           TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
1439           Panel.cs, Literal.cs: Added attributes
1440         * BaseValidator.cs: Added missing override
1441
1442 2005-07-26  Chris Toshok  <toshok@ximian.com>
1443
1444         * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
1445         ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
1446         Page.VerifyRenderingInServerFormHere.
1447
1448 2005-07-26  Chris Toshok  <toshok@ximian.com>
1449
1450         * BaseValidator.cs: remove some MonoTODO's about the client side
1451         validator stuff.
1452
1453 2005-07-26  Jordi Mas i Hernandez  <jordi@ximian.com>
1454
1455         * Calendar.cs: selection of dates, state load, save, track, support
1456         for new properties, many fixes. 
1457
1458 2005-07-26  Miguel de Icaza  <miguel@novell.com>
1459
1460         * Style.cs: Temporary methods to help buliding .NET 2.x
1461
1462 2005-07-25  Peter Dennis Bartok  <pbartok@novell.com>
1463
1464         * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed 
1465           attributes
1466         * Xml.cs: Fixed base class, attributes
1467         * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs, 
1468           Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs, 
1469           CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs, 
1470           DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs, 
1471           ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
1472
1473 2005-07-25  Ben Maurer  <bmaurer@ximian.com>
1474
1475         * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
1476         cracktastic.
1477         
1478 2005-07-25  Ben Maurer  <bmaurer@ximian.com>
1479
1480         * RepeatInfo.cs: If the repeater has one column, the separators
1481         are rendered on a different line
1482
1483 2005-07-25  Peter Dennis Bartok  <pbartok@novell.com> 
1484
1485         * DataGridSortCommandEventArgs: Sealed class
1486         * ButtonColumn.cs, Calendar.cs: Added Attributes
1487
1488 2005-07-25  Peter Dennis Bartok  <pbartok@novell.com>
1489
1490         * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
1491           BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
1492
1493 2005-07-25  Peter Dennis Bartok  <pbartok@novell.com> 
1494
1495         * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
1496           DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
1497
1498 2005-07-25  Chris Toshok  <toshok@ximian.com>
1499
1500         * ValidationSummary.cs (AddAttributesToRender): add client side
1501         support.
1502         (OnPreRender): set the "been here" flag.
1503         (Render): add client side support.
1504
1505 2005-07-25  Ben Maurer  <bmaurer@ximian.com>
1506
1507         * RepeatInfo.cs: Split the horiz and vertical cases, because this
1508         class has rules that are beyond strange. Continue working to make
1509         my tests work.
1510
1511 2005-07-25  Ben Maurer  <bmaurer@ximian.com>
1512
1513         * RepeatInfo.cs: Misc fixes for my test suite.
1514
1515 2005-07-25  Jackson Harper  <jackson@ximian.com>
1516
1517         * DataGrid.cs: Set the command name and args on the link buttons.
1518
1519 2005-07-25  Jackson Harper  <jackson@ximian.com>
1520
1521         * DataGrid.cs: Lots o implementation.
1522
1523 2005-07-25  Jackson Harper  <jackson@ximian.com>
1524
1525         * BoundColumn.cs: Partial implementation to get the DataGrid tests
1526         passing again.
1527
1528 2005-07-23  Jordi Mas i Hernandez  <jordi@ximian.com>
1529
1530         * Button.cs: fixes events, adds attributes
1531
1532 2005-07-23  Chris Toshok  <toshok@ximian.com>
1533
1534         * BaseValidator.cs (GetControlValidateValue): handle ListItems as
1535         prop.GetValue results.
1536         (Render): fix the static non-uplevel case, so that we display text
1537         when there's an error.
1538
1539 2005-07-22  Chris Toshok  <toshok@ximian.com>
1540
1541         * RegularExpressionValidator.cs (AddAttributesToRender): only
1542         output ValidationExpression if it's != null.
1543
1544 2005-07-22  Chris Toshok  <toshok@ximian.com>
1545
1546         * BaseValidator.cs (AddAttributesToRender): fix up the Display
1547         rendering such it matches MS's output.
1548         (Render): stop using the huge complicated if's for each output
1549         stage and move to boolean flags, and fix the static-nonuplevel
1550         case, where a validator outputs as nothing but &nbsp;
1551
1552 2005-07-22  Jordi Mas i Hernandez  <jordi@ximian.com>
1553         * Calendar.cs: Initial implementation
1554         * CalendarSelectionMode.cs: fix enum order
1555
1556 2005-07-22  Sebastien Pouliot  <sebastien@ximian.com>
1557
1558         * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
1559         (or more?) specific cases - including correct support for separators.
1560         Added some (commented) debugging code.
1561         * HyperLink.cs: Only render href and target attributes if they're not
1562         empty. Add "border=0" when rendering <img> tag. Fix Target default 
1563         value.
1564
1565 2005-07-22  Peter Dennis Bartok  <pbartok@novell.com> 
1566
1567         * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
1568
1569 2005-07-22  Peter Dennis Bartok  <pbartok@novell.com> 
1570
1571         * Style.cs (CopyFrom): Reset our styles and don't set bits from
1572           target explicitly, properties will set them
1573
1574 2005-07-22  Dick Porter  <dick@ximian.com>
1575
1576         * BoundColumn.cs: 
1577         * ButtonColumn.cs: Initial stubs
1578
1579 2005-07-22  Dick Porter  <dick@ximian.com>
1580
1581         * RadioButton.cs:
1582         * CheckBox.cs: Add assembly attributes
1583
1584 2005-07-22  Ben Maurer  <bmaurer@ximian.com>
1585
1586         * HyperLink.cs: Handle non-literal children.
1587
1588 2005-07-21  Ben Maurer  <bmaurer@ximian.com>
1589
1590         * Label.cs: SP1 stuff
1591
1592 2005-07-21  Chris Toshok  <toshok@ximian.com>
1593
1594         * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
1595         stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
1596         stuff WebUIValidation.js uses, so we don't support it for uplevel
1597         rendering.
1598
1599 2005-07-21  Chris Toshok  <toshok@ximian.com>
1600
1601         * BaseValidator.cs (DetermineRenderUplevel): include checks for
1602         the EcmaScriptVersion and W3CDomVersion.
1603
1604 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com> 
1605   
1606         * BaseDataList.cs: Support IEnumerable.
1607         * DataList.cs: Fix alternate items.
1608         * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
1609         controls and the Text property.
1610
1611 2005-07-21  Ben Maurer  <bmaurer@ximian.com>
1612
1613         * TextBoxMode.cs: Wrong ordering of enum...
1614
1615 2005-07-21  Chris Toshok  <toshok@ximian.com>
1616
1617         * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
1618         cache the results.
1619
1620 2005-07-21  Chris Toshok  <toshok@ximian.com>
1621
1622         * BaseValidator.cs (get_PropertiesValid): use our containing
1623         NamingContainer, not ourselves, to look up controls.
1624         (CheckControlValidationProperty): same.
1625         (GetControlRenderID): same.
1626         (GetControlValidationValue): same.
1627         (AddAttributesToRender): add the display style attribute if
1628         Display != Static, and add the value of IsValid if it's false.
1629         (DetermineRenderUplevel): use a try block around (Page.Request)
1630         since that can raise an exception.
1631         (OnPreRender): set pre_render_called, so we can consult it in
1632         Render.
1633         (Render): complicate this method more to handle more of the
1634         Display/pre_render_called permutations.
1635
1636 2005-07-21  Peter Dennis Bartok  <pbartok@novell.com> 
1637
1638         * CustomValidator.cs: Initial implementation, still work in progress
1639
1640 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>
1641
1642         * DataList.cs: Fix rendering for special items (-1).
1643
1644 2005-07-21  Ben Maurer  <bmaurer@ximian.com>
1645
1646         * RepeatInfo.cs: Fix most of the tests.
1647
1648 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>
1649
1650         * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
1651         Add a border=0 attribute if no style is defined.
1652         * TableCell.cs: Use HtmlTextWriterTag (not a string).
1653         * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
1654         * TableRow.cs: Use HtmlTextWriterTag (not a string).
1655
1656 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com> 
1657  
1658         * BaseDataList.cs: Fix attributes.
1659         * HorizontalAlign.cs: Fix attributes.
1660         * Image.cs: Fix attributes and enums checks.
1661         * Table.cs: Fix attributes an enums checks.
1662         * TableCell.cs: Fix attributes.
1663         * TableCellCollection.cs: Fix attributes.
1664         * TableItemStyle.cs: Fix attributes and enums checks.
1665         * TableRowCollection.cs: Fix attributes.
1666         * TableRow.cs: Fix attributes.
1667         * TableStyle.cs: Fix attributes and enums checks.
1668         * VerticalAlign.cs: Fix attributes.
1669
1670 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>
1671
1672         * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
1673         * DataList.cs: Added rendering support when ExtractTemplatesRows
1674         property is true (but RepeatInfo needs to be fixed to see it works).
1675         * DataListItem.cs: Added rendering support when extractRows parameter
1676         is true (but RepeatInfo still needs to be fixed ;-)
1677
1678 2005-07-21  Duncan Mak  <duncan@novell.com>
1679
1680         * HyperLinkColumn.cs: Initial implementation.
1681         Todo: Figure out Initialize and InitializeCell.
1682
1683 2005-07-20  Chris Toshok  <toshok@ximian.com>
1684
1685         * BaseValidator.cs: don't use Page.FindControl, use this Control's
1686         FindControl, so it'll use the same naming container.
1687
1688 2005-07-21  Duncan Mak  <duncan@novell.com>
1689
1690         * DataGridCommandEventArgs.cs: 
1691         * DataGridPageChangedEventArgs.cs: 
1692         * RepeaterCommandEventArgs.cs:  Fixed visibility.
1693
1694         * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
1695         * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..       
1696         
1697 2005-07-20  Chris Toshok  <toshok@ximian.com>
1698
1699         * Button.cs: hook up the client side validation stuff.
1700
1701         * ImageButton.cs: same.
1702
1703         * LinkButton.cs: same, although it's a little more complicated
1704         here.
1705
1706 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com> 
1707
1708         * DropDownList.cs: 
1709           - Implemented RaisePostDataChangedEvent()
1710           - Spewing postback command if AutoPostBack is true
1711
1712 2005-07-20  Chris Toshok  <toshok@ximian.com>
1713
1714         * BaseValidator.cs: another Page != null check when uplevel
1715         rendering.
1716         
1717 2005-07-20  Chris Toshok  <toshok@ximian.com>
1718
1719         * BaseValidator.cs: check Page != null when determining if we're
1720         rendering uplevel or not.
1721
1722 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com> 
1723
1724         * ListItemCollection.cs: Removed obsolete method that's no longer
1725           referenced
1726
1727 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com>
1728
1729         * DropDownList.cs: Oops. Forgot to implement LoadPostData
1730         * ListItemCollection.cs: Added convenience method to have faster
1731           PostData handling
1732
1733 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com>
1734
1735         * DropDownList.cs:
1736           - Automatically select the first item if none are selected
1737           - Throw exception if more than one item is selected
1738
1739 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com> 
1740  
1741         * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
1742         handled by RepeatInfo).
1743
1744 2005-07-20  Jackson Harper  <jackson@ximian.com>
1745
1746         * DataGrid.cs: Store the data source created columns in a 
1747           DataGridColumnCollection. This way they can be put in the 
1748           view state more easily, and accessed without casting.
1749
1750 2005-07-20  Chris Toshok  <toshok@ximian.com>
1751
1752         * BaseValidator.cs (AddAttributesToRender): render the client side
1753         attributes if we're in uplevel mode.
1754         (DetermineRenderUplevel): flesh out a bit - for now basically
1755         return true unless the control has it disabled.
1756         (OnInit): only add the validator to Page's list if there is, in
1757         fact, a page.
1758         (OnUnload): same for removal.
1759         (OnPreRender): hook up client scripting stuff here.  Only the call
1760         to RegisterValidatorCommonScript is a for sure thing here, the
1761         registering of the submit statement and startup script should
1762         probably go elsewhere, but I don't know where.
1763         (RegisterValidatorCommonScript): register the <script
1764         src=".../WebUIValidation.js"> tag, if it's not already there.
1765         (RegisterValidatorDeclaration): add our span object to the
1766         Page_Validators JS array.
1767         (Render): always render the tags (although this is probably not
1768         right), and call RegisterValidatorDeclaration here.
1769         
1770         * BaseCompareValidator.cs (AddAttributesToRender): render the
1771         client side attributes if we're in uplevel mode.
1772         (DetermineRenderUplevel): add MonoTODO.. why override this?  Just
1773         call base.DetermineRenderUplevel for now.
1774
1775         * RegularExpressionValidator.cs (AddAttributesToRender): render
1776         the client side attributes if we're in uplevel mode.
1777         
1778         * RequiredFieldValidator.cs (AddAttributesToRender): same.
1779
1780         * CompareValidator.cs (AddAttributesToRender): same.
1781         
1782 2005-07-20  Jackson Harper  <jackson@ximian.com>
1783
1784         * DataGrid.cs: Save the data source created column set in the 
1785           view state.
1786
1787 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com> 
1788  
1789         * DataList.cs: Fix events and properties exceptions. Give the right
1790         informations to RenderItem.
1791
1792 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com> 
1793
1794         * ValidationSummary.cs: Implemented rendering
1795
1796 2005-07-20  Jackson Harper  <jackson@ximian.com>
1797
1798         * DataGrid.cs: column names are cached and only regenerated if useDataSource
1799           is set to true. Otherwise they are just fetched from the last set that 
1800           was generated from the source.
1801
1802 2005-07-20  Jackson Harper  <jackson@ximian.com>
1803
1804         * DataGrid.cs: Assign some properties of newly created BoundColumns.
1805
1806 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com> 
1807  
1808         * DataList.cs: Fix viewstate ordering.
1809
1810 2005-07-20  Ben Maurer  <bmaurer@ximian.com>
1811
1812         * SelectedDatesCollection.cs: Apprarently, I don't write code well
1813         at 1 am.
1814
1815         * Repeater.cs: Uh, actually add stuff to the items collection
1816          (thanks sp ;-)
1817
1818 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com> 
1819  
1820         * BaseDataList.cs: EnsureChildControls on Controls property.
1821         * DataList.cs: Fix rendering and Controls/Items differences.
1822         * DataListItem.cs: Added rendering of controls.
1823
1824 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com>
1825
1826         * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
1827
1828 2005-07-20  Jackson Harper  <jackson@ximian.com>
1829
1830         * DataGrid.cs: Add some of the collections. Implement
1831           column creation.
1832
1833 2005-07-20  Jackson Harper  <jackson@ximian.com>
1834
1835         * PagedDataSource.cs: Implement GetItemProperties, this is
1836           needed for the datagrid.
1837
1838 2005-07-20  Ben Maurer  <bmaurer@ximian.com>
1839
1840         * DataGridColumnCollection.cs: New impl
1841
1842         * TemplateColumn.cs: New impl
1843
1844 2005-07-19  Sebastien Pouliot  <sebastien@ximian.com>
1845
1846         * BaseDataList.cs: Call PrepareControlHierarchy from Render.
1847         * DataList.cs: Work in progress... Added attributes, proper 
1848         IRepeatInfoUser support and cool things stolen from other classes.
1849         * DataListCommandEventArgs.cs: Class is sealed.
1850         * DataListItem.cs: RenderItem is public.
1851
1852 2005-07-19  Jackson Harper  <jackson@ximian.com>
1853
1854         * ListControl.cs: Use Events Add/RemoveHandler. Don't create
1855           a viewstate object if all the viewstate stuff is null.
1856
1857 2005-07-19  Jackson Harper  <jackson@ximian.com>
1858
1859         * DataGrid.cs: Implement style properties and viewstate 
1860           saving/loading/tracking.
1861
1862 2005-07-19  Chris Toshok  <toshok@ximian.com>
1863         
1864         * BaseValidator.cs: more fixes from pdb.
1865
1866 2005-07-19  Chris Toshok  <toshok@ximian.com>
1867
1868         * BaseValidator.cs: some test-driven fixes.
1869
1870 2005-07-19  Chris Toshok  <toshok@ximian.com>
1871
1872         * BaseValidator.cs: Initial implementation.
1873
1874 2005-07-19  Sebastien Pouliot  <sebastien@ximian.com>
1875
1876         * Repeater.cs: Fix small typo.
1877
1878 2005-07-19  Peter Dennis Bartok  <pbartok@novell.com> 
1879
1880         * ValidationSummaryTest.cs: Started implementation
1881         * RangeValidator.cs: Implemented
1882         * ValidatedControlConverter.cs: Implemented
1883         * DropDownList.cs: Implemented
1884
1885 2005-07-19  Jackson Harper  <jackson@ximian.com>
1886
1887         * DataGrid.cs: Implement bubble event.
1888
1889 2005-07-19  Jackson Harper  <jackson@ximian.com>
1890
1891         * DataGrid.cs: New implementation. Just properties and events for 
1892           now.
1893
1894 2005-07-18  Chris Toshok  <toshok@ximian.com>
1895
1896         * BaseCompareValidator.cs: Initial implementation, with some NYI.
1897
1898 2005-07-19  Ben Maurer  <bmaurer@ximian.com>
1899
1900         * FontUnit.cs: Corcompare fixes
1901
1902         * UnitConverter.cs: Fix api diffs
1903
1904 2005-07-18  Ben Maurer  <bmaurer@ximian.com>
1905
1906         * ListControl.cs: Fix api differences
1907
1908 2005-07-18  Sebastien Pouliot  <sebastien@ximian.com>
1909
1910         * Table.cs: Fix indentation for caption. Simplify check when adding 
1911         controls.
1912         * TableRow.cs: Simplify check when adding controls.
1913
1914 2005-07-18  Chris Toshok  <toshok@ximian.com>
1915
1916         * CompareValidator.cs: wtf, just use the base class's methods.
1917
1918 2005-07-18  Chris Toshok  <toshok@ximian.com>
1919
1920         * CompareValidator.cs: do comparisons based on
1921         BaseCompareValidator.Type.
1922
1923 2005-07-18  Chris Toshok  <toshok@ximian.com>
1924
1925         * CompareValidator.cs: initial implementation.
1926
1927 2005-07-18  Chris Toshok  <toshok@ximian.com>
1928
1929         * RegularExpressionValidator.cs: initial implementation.
1930
1931 2005-07-18  Sebastien Pouliot  <sebastien@ximian.com>
1932
1933         * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
1934
1935 2005-07-18  Jackson Harper  <jackson@ximian.com>
1936
1937         * CheckBoxList.cs: Implement LoadPostBackData. Also register 
1938           checkboxes for postback if they are checked so we can find
1939           out when they are unchecked. Copy the AutoPostBack variable 
1940           to the to be rendered checkbox when rendering.
1941
1942 2005-07-18  Ben Maurer  <bmaurer@ximian.com>
1943
1944         * TextBox.cs: Finish this up.
1945
1946         * AdRotator.cs: Fix issues in the test suite. Minor style
1947         cleanups.
1948
1949         * Repeater.cs: Fix a bug where the datasource is null and we do
1950         the binding
1951
1952         * WebColorConverter.cs: Optimize by not doing a concat on a
1953         formatted string.
1954
1955 2005-07-17  Ben Maurer  <bmaurer@ximian.com>
1956
1957         * ListItemCollection.cs: Multiple uses of equals rather than
1958         string.compare as below. Remove unreachable code warning.
1959
1960         * WebColorConverter.cs (ConvertTo): Use the == operator on string
1961         rather than an invariant non-case ignoring compare. They are
1962         exactly the same thing. Use proper coding style in this method.
1963
1964         * WebControl.cs: Return null when saving the view state if there
1965         is no state in any of the things we save. This creates a fairly
1966         large savings, because we can avoid saving anything about many
1967         levels of deaply nested controls.
1968
1969 2005-07-15  Jackson Harper  <jackson@ximian.com>
1970
1971         * CheckBoxList.cs: Use the index as the ID, the rest of the 
1972           id is built by being in the NamingContainer.
1973
1974 2005-07-15  Jackson Harper  <jackson@ximian.com>
1975
1976         * ListControl.cs: Use enum instead of string. Saves a lookup. 
1977
1978 2005-07-15  Jackson Harper  <jackson@ximian.com>
1979
1980         * CheckBoxList.cs: FindControl always returns 'this' according
1981           to my probing.
1982
1983 2005-07-15  Jackson Harper  <jackson@ximian.com>
1984
1985         * CheckBoxList.cs: New impl.
1986
1987 2005-07-15  Jackson Harper  <jackson@ximian.com>
1988
1989         * WebControl.cs: Use the ClientID when rendering a controls ID
1990           attribute so that naming containers are honoured. 
1991
1992 2005-07-15  Jackson Harper  <jackson@ximian.com>
1993
1994         * ListControl.cs: use the state manager interface for tracking
1995           the viewstate.
1996
1997 2005-07-15  Ben Maurer  <bmaurer@ximian.com>
1998
1999         * Repeater.cs (DoItem): Add the DataItem before we call user
2000         methods, as it seems to be there with msft.
2001
2002 2005-07-15  Sebastien Pouliot  <sebastien@ximian.com>
2003
2004         * BaseDataList.cs: New. (mostly complete) implementation.
2005         * DataKeyCollection.cs: New. Implementation (complete).
2006         * DataList.cs: New. (mostly incomplete) implementation.
2007         * DataListItem.cs: New. (mostly complete) implementation.
2008         * DataListItemCollection.cs: New. Implementation (complete).
2009
2010 2005-07-15  Ben Maurer  <bmaurer@ximian.com>
2011
2012         * Repeater.cs (DoItem): We need to .Add the control *before* we
2013         data bind it so that the state gets tracked correctly. Fixes the
2014         postback test case.
2015
2016 2005-07-15  Jackson Harper  <jackson@ximian.com>
2017
2018         * ListControl.cs: Simplify comparison. 
2019
2020 2005-07-15  Jackson Harper  <jackson@ximian.com>
2021
2022         * ListControl.cs:
2023         * Repeater.cs: Use new utility class for resolving data sources.
2024
2025 2005-07-15  Jackson Harper  <jackson@ximian.com>
2026
2027         * ListControl.cs: Add attributes so the sub items get parsed 
2028           properly. Remove old unneeded code for resolving lists.
2029
2030 2005-07-15  Jackson Harper  <jackson@ximian.com>
2031
2032         * ListControl.cs: Use the DataSourceHelper so DataMembers are 
2033           resolved properly.
2034
2035 2005-07-14  Ben Maurer  <bmaurer@ximian.com>
2036
2037         * WebControl.cs:
2038           - Some optimizations
2039             * Don't use enum formatting stuff, it is 1) expensive 2) does 
2040               allocations. Use a new method in HtmlControl to do the right
2041               formatting.
2042             * Don't use Enum.IsDefined but an explicit check.
2043             * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
2044           - Use the correct coding style.
2045         
2046 2005-07-14  Peter Dennis Bartok  <pbartok@novell.com> 
2047
2048         * WebColorConverter.cs: 
2049           - Alpha of 255 is only set if the hex number is exactly 6 digits
2050           - Ben didn't like the catch { throw; } (even though MS documents to
2051             do so)
2052           - Use Invariant Culture for parsing (thanks, Ben)
2053
2054 2005-07-14  Jackson Harper  <jackson@ximian.com>
2055
2056         * ListControl.cs: Use DataBinder.Eval for data binding. This is more
2057         code-reuse-arific. Also use the IStateManager interface for loading
2058         data instead of the old internal method.
2059
2060 2005-07-14  Peter Dennis Bartok  <pbartok@novell.com>
2061
2062         * WebColorConverter.cs: Implemented
2063
2064 2005-07-14  Ben Maurer  <bmaurer@ximian.com>
2065
2066         * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
2067
2068 2005-07-14  Ben Maurer  <bmaurer@ximian.com>
2069
2070         * Repeater.cs: Get it working
2071
2072 2005-07-14  Jackson Harper  <jackson@ximian.com>
2073
2074         * ListControl.cs: Initial implementation of Databinding. Make sure
2075         that the ListItemCollection is created when we load its ViewState. 
2076
2077 2005-07-14  Jackson Harper  <jackson@ximian.com>
2078
2079         * ListControl.cs: Fix typo.
2080
2081 2005-07-14  Jackson Harper  <jackson@ximian.com>
2082
2083         * ListControl.cs: New Implementation. Lacks databinding support.
2084
2085 2005-07-14  Ben Maurer  <bmaurer@ximian.com>
2086
2087         * Repeater.cs: The beginnings of this control
2088
2089 2005-07-14  Peter Dennis Bartok  <pbartok@novell.com>
2090
2091         * TargetConverter.cs: Implemented
2092
2093 2005-07-14  Duncan Mak  <duncan@novell.com>
2094
2095         * PagedDataSource.cs: Initial implementation.
2096
2097         Methods that need to be figured out:
2098         CopyTo, GetItemProperties, PageCount, IsLastPage.
2099
2100         To complete: CollectionEnumerator, ListEnumerator.
2101
2102 2005-07-13  Duncan Mak  <duncan@novell.com>
2103
2104         * RepeatDirection.cs:
2105         * RepeatLayout.cs:
2106         * ValidationCompareOperator.cs:
2107         * ValidationDataType.cs:
2108         * ValidationSummaryDisplayMode.cs: 
2109         * ValidatorDisplay.cs: Added remaining enumerations.
2110         
2111 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>
2112
2113         * FontNamesConverter.cs: Implemented
2114
2115 2005-07-13  Ben Maurer  <bmaurer@ximian.com>
2116
2117         * RepeaterItem.cs: Compile fix
2118
2119         * RepeaterItemCollection.cs: New file
2120
2121         * RepeaterItem.cs: get OnBubbleEvent right.
2122
2123 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com> 
2124
2125         * ListItemCollection.cs: Count can be derived from the array, which
2126           allows us to use a Pair instead of a Triplet and save some space
2127
2128 2005-07-13  Ben Maurer  <bmaurer@ximian.com>
2129
2130         * RepeaterItem.cs: Stub
2131
2132 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>
2133
2134         * ListItemCollection.cs: Implemented
2135         * WebControl.cs: Added check for enumeration validity (thanks Jackson)
2136
2137 2005-07-13  Ben Maurer  <bmaurer@ximian.com>
2138
2139         * RepeatInfo.cs: Impl.
2140
2141 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>
2142
2143         * FirstDayOfWeek.cs: Added
2144
2145 2005-07-13  Jackson Harper  <jackson@ximian.com>
2146
2147         * ListBox.cs: Some parameter checking.
2148
2149 2005-07-13  Sebastien Pouliot  <sebastien@ximian.com>
2150  
2151         * Image.cs: Added support for DescriptionUrl as this property was
2152         added in Fx 1.1 SP1.
2153
2154 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>
2155
2156         * Style.cs (AddAttributesToRender): Don't render attributes if they
2157           contain only their default value
2158
2159 2005-07-13  Sebastien Pouliot  <sebastien@ximian.com> 
2160
2161         * Table.cs: New. Initial re-implementation.
2162         * TableCell.cs: New. Initial re-implementation.
2163         * TableCellCollection.cs: New. Initial re-implementation.
2164         * TableHeaderCell.cs: New. Initial re-implementation.
2165         * TableItemStyle.cs: New. Initial re-implementation.
2166         * TableRow.cs: New. Initial re-implementation.
2167         * TableRowCollection.cs: New. Initial re-implementation.
2168         * TableStyle.cs: New. Initial re-implementation.
2169
2170 2005-07-13  Sebastien Pouliot  <sebastien@ximian.com> 
2171  
2172         * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
2173         unit tests (for Style) and more tests in Table* classes.
2174
2175 2005-07-13  Sebastien Pouliot  <sebastien@ximian.com>
2176
2177         * Style.cs: TableStyle and TableItemStyle don't override IsEmpty, 
2178         however IsEmpty returns false if any of their properties are set.
2179         Looks ugly but it's compatible with MS implementation (feature and
2180         signature wise).
2181
2182 2005-07-13  Dick Porter  <dick@ximian.com>
2183
2184         * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
2185         null Text properties from the ViewState, test for TextAlign being
2186         out of range.  All to make tests pass on both mono and ms
2187         runtimes.
2188
2189 2005-07-13  Jackson Harper  <jackson@ximian.com>
2190
2191         * ListBox.cs: Use invariant culture when doing a ToString,
2192           set value to the item's value, not to its Text.
2193
2194 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com>
2195
2196         * WebControl.cs (AddAttributesToRender): Added ID to rendered
2197           attributes
2198
2199 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com>
2200
2201         * Style.cs(MergeWith): Handle null styles
2202
2203 2005-07-12  Sebastien Pouliot  <sebastien@ximian.com>
2204
2205         * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
2206         the #if NET_2_0 on it.
2207
2208 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com> 
2209
2210         * Style.cs: Only render font elements if fontinfo object exists
2211         * WebControl.cs:
2212           - Implemented SaveViewState()
2213           - Added loading of Style to LoadViewState
2214           - Implemented IAttributeAccessor methods
2215
2216 2005-07-12  Jackson Harper  <jackson@ximian.com>
2217
2218         * ListBox.cs: Even track default values in the viewstate. Call
2219           base's RenderContents.
2220
2221 2005-07-12  Jackson Harper  <jackson@ximian.com>
2222
2223         * ListBox.cs: New impl.
2224
2225 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com> 
2226
2227         * WebControl.cs: 
2228           - Implemented methods
2229           - Fixed brackets
2230
2231 2005-07-12  Ben Maurer  <bmaurer@ximian.com>
2232
2233         * ListItem.cs: New impl.
2234
2235 2005-07-12  Duncan Mak  <duncan@novell.com>
2236
2237         * DayNameFormat.cs: Added.
2238
2239 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com> 
2240
2241         * WebControl.cs: Implemented properties
2242
2243 2005-07-12  Ben Maurer  <bmaurer@ximian.com>
2244
2245         * TextBox.cs: Passwords seem 1) not to be rendered to the client
2246         if set, 2) not kept in view state (for security reasons...)
2247
2248         * LinkButton.cs: 
2249         * Button.cs: Page.Validate () if needed. Gets the validator tests
2250         working again.
2251
2252         * TextBox.cs: Properties to get the validator stuff to work.
2253
2254 2005-07-12  Miguel de Icaza  <miguel@novell.com>
2255
2256         * Unit.cs: If the units are pixels, then truncate the value. 
2257
2258 2005-07-12  Dick Porter  <dick@ximian.com>
2259
2260         * RadioButton.cs: New implementation
2261
2262         * CheckBox.cs: Rearrange the attributes rendering to allow
2263         RadioButton to derive from this
2264
2265 2005-07-12  Jordi Mas i Hernandez  <jordi@ximian.com>
2266
2267         * TitleFormat.cs: Add attribute
2268         * TextBoxMode.cs: Add attribute
2269         * CalendarDay.cs: Initial implementation
2270         * ImageButton.cs: Initial implementation
2271         * CalendarSelectionMode.cs:Initial implementation
2272
2273 2005-07-12  Jordi Mas i Hernandez  <jordi@ximian.com>
2274
2275         * TextBoxMode.cs: simple enum
2276         * TitleFormat.cs: simple enum
2277
2278 2005-07-11  Peter Dennis Bartok  <pbartok@novell.com> 
2279
2280         * FontInfo.cs: Now using BenM's fancy internal StateBag methods
2281
2282 2005-07-11  Peter Dennis Bartok  <pbartok@novell.com>
2283
2284         * FontUnit.cs: Added TypeConverter attribute to class
2285         * FontUnitConverter.cs: Implemented
2286
2287 2005-07-11  Ben Maurer  <bmaurer@ximian.com>
2288
2289         * LinkButton.cs: 
2290         * Button.cs: Bubble the Command event.
2291
2292 2005-07-11  Ben Maurer  <bmaurer@ximian.com>
2293
2294         * Button.cs:
2295           - Clean up style (with my wonderful state bag hack!)
2296           - Fix a view state typo.
2297           - Use AddAttributesToRender
2298           - Don't add an extra <span>
2299
2300 2005-07-11  Peter Dennis Bartok  <pbartok@novell.com>
2301
2302         * Style.cs: Handle null constructor argument for bag
2303
2304 2005-07-11  Dick Porter  <dick@ximian.com>
2305
2306         * CheckBox.cs: New implementation
2307
2308         * RadioButton.cs: Initial stubbed version that just compiles
2309
2310 2005-07-10  Jordi Mas i Hernandez  <jordi@ximian.com> 
2311  
2312         * Button.cs: Initial Button implementation
2313
2314 2005-07-10  Sebastien Pouliot  <sebastien@ximian.com> 
2315  
2316         * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
2317
2318 2005-07-09  Sebastien Pouliot  <sebastien@ximian.com> 
2319  
2320         * HorizontalAlign.cs: Typo in header.
2321         * VerticalAlign.cs: New. Required enum for TableRow control.
2322
2323 2005-07-09  Ben Maurer  <bmaurer@ximian.com>
2324
2325         * TextBox.cs: More work on this
2326
2327 2005-07-09  Sebastien Pouliot  <sebastien@ximian.com> 
2328  
2329         * GridLines.cs: New. Required enum for Table control.
2330         * HorizontalAlign.cs: New. Required enum for Table control.
2331
2332 2005-07-09  Duncan Mak  <duncan@novell.com>
2333
2334         * CommandEventHandler.cs:
2335         * DataGridCommandEventHandler.cs:
2336         * DataGridItemEventHandler.cs:
2337         * DataGridPageChangedEventHandler.cs:
2338         * DataGridSortCommandEventHandler.cs:
2339         * DataListCommandEventHandler.cs:
2340         * DayRenderEventHandler.cs:
2341         * RepeaterCommandEventHandler.cs:
2342         * ServerValidateEventHandler.cs: Add delegates.
2343         
2344         * ListItemType.cs:
2345         * ListSelectionMode.cs:
2346         * NextPrevFormat.cs:
2347         * PagerMode.cs
2348         * PagerPosition.cs: Add enums.
2349
2350 2005-07-09  Ben Maurer  <bmaurer@ximian.com>
2351
2352         * TextBox.cs: Add the work I did on this today. It's not complete
2353         yet, but its a start!
2354
2355 2005-07-09  Duncan Mak  <duncan@novell.com>
2356
2357         * CommandEventArgs.cs:
2358         * DataGridCommandEventArgs.cs:
2359         * DataGridItemEventArgs.cs:
2360         * DataGridPageChangedEventArgs.cs:
2361         * DataGridSortCommandEventArgs.cs:
2362         * DataListCommandEventArgs.cs:
2363         * DataListItemEventArgs.cs:
2364         * DayRenderEventArgs.cs:
2365         * RepeaterCommandEventArgs.cs:
2366         * RepeaterItemEventArgs.cs:
2367         * ServerValidateEventArgs.cs: Implemented.
2368         
2369 2005-07-08  Sebastien Pouliot  <sebastien@ximian.com>
2370
2371         * Image.cs: New. Image class implementation.
2372         * ImageAlign.cs: New. ImageAlign enum definitions.
2373
2374 2005-07-08  Jackson Harper  <jackson@ximian.com>
2375
2376         * Literal.cs: New implentation.
2377         * MonthChangedEventArgs.cs: new
2378         * MonthChangedEventHandler.cs: new
2379         
2380 2005-07-08  Ben Maurer  <bmaurer@ximian.com>
2381
2382         * LinkButton.cs: Command impl
2383
2384 2005-07-08  Ben Maurer  <bmaurer@ximian.com>
2385
2386         * LinkButton.cs: Initial impl
2387
2388 2005-07-08  Jackson Harper  <jackson@ximian.com>
2389
2390         * AdCreatedeventArgs.cs: New implementation.
2391
2392 2005-07-08  Dick Porter  <dick@ximian.com>
2393
2394         * TextAlign.cs: 
2395         * BorderStyle.cs: Added
2396
2397 2005-07-07  Peter Dennis Bartok  <pbartok@novell.com>
2398
2399         * FontInfo.cs: Fixed behaviour discrepancies showed by tests
2400
2401 2005-07-07  Miguel de Icaza  <miguel@novell.com>
2402
2403         * Xml.cs: New implementation.  R00lz.
2404
2405 2005-07-07  Peter Dennis Bartok  <pbartok@novell.com>
2406
2407         * FontInfo.cs: Added and implemented.
2408         * Style.cs: Fixed behaviour discrepancies showed by tests
2409
2410 2005-07-07  Ben Maurer  <bmaurer@ximian.com>
2411
2412         * PlaceHolderControlBuilder.cs: new file
2413
2414         * LabelControlBuilder.cs: New file
2415
2416         * HyperLink.cs: use control builder; fix parsing stuff
2417
2418         * HyperLinkControlBuilder.cs: new file
2419
2420         * Panel.cs: misc fixes
2421
2422 2005-07-07  Miguel de Icaza  <miguel@novell.com>
2423
2424         * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
2425
2426         * UnitConverter.cs: Add new file, learned from the
2427         System.Drawing.ColorConverter.
2428
2429 2005-07-07  Ben Maurer  <bmaurer@ximian.com>
2430
2431         * PlaceHolder.cs: New file. Seems to do nothing
2432
2433         * Label.cs: Use my new statebag trick to reduce typing
2434
2435         * HyperLink.cs: New file
2436
2437 2005-07-06  Peter Dennis Bartok  <pbartok@novell.com>
2438
2439         * Style.cs: Added and implemented.
2440
2441 2005-07-06  Miguel de Icaza  <miguel@novell.com>
2442
2443         * FontUnit.cs: New file.
2444
2445         * Unit.cs: New file. 
2446
2447         Added support for null and empty string constructors.
2448
2449 2005-07-06  Ben Maurer  <bmaurer@ximian.com>
2450
2451         * Unit.cs: cctor not needed; static fields are 0 init'd by default
2452
2453         * WebControl.cs: Kothari & Datye's book explains how these work.
2454
2455         * IRepeatInfoUser.cs: Reimpl.
2456
2457 2005-07-06  Peter Dennis Bartok  <pbartok@novell.com>
2458
2459         * WebControl.cs: Added stub
2460
2461 2005-07-05  Miguel de Icaza  <miguel@novell.com>
2462
2463         * Label.cs: First control.
2464
2465 2005-06-27  Lluis Sanchez Gual <lluis@novell.com>
2466
2467         * DataControlField.cs: Ignore the ShowHeader property when
2468         building the control's content. It is the resposability of
2469         the field container to decide if the header should be shown
2470         or not.
2471
2472 2005-06-10  Lluis Sanchez Gual <lluis@novell.com>
2473
2474         * AdType.cs:
2475         * ImageFieldMode.cs:
2476         * DynamicImageParameterMode.cs:
2477         * TableViewMode.cs: Removed.
2478         
2479         * SortDirection.cs:
2480         * AdRotator.cs:
2481         * TableRowSection.cs:
2482         * AutoCompleteType.cs:
2483         * DayNameFormat.cs: Track changes in 2.0 api.
2484         
2485         * StringArrayConverter.cs: This class is 2.0 only.
2486
2487 2005-06-06  Lluis Sanchez Gual <lluis@novell.com>
2488
2489         * GridView.cs:
2490         * FormView.cs:
2491         * DetailsView.cs: Bind the control after creating all child
2492          controls.
2493         * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
2494         the correct methods.
2495         * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
2496         in this class. This is done in DataBoundControl. All this fixes
2497         bug #75076.
2498
2499 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2500
2501         * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
2502         FindByText. Closes bug #74205.
2503
2504 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2505
2506         * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
2507         1 when there's a datasource and 0 pages. Closes bug #73864.
2508
2509 2005-05-26  Lluis Sanchez Gual <lluis@novell.com>
2510
2511         * DataListItem.cs:
2512         * GridViewRow.cs:
2513         * DataGridItem.cs:
2514         * RepeaterItem.cs:
2515         * FormView.cs:
2516         * MenuItemTemplateContainer.cs:
2517         * DetailsView.cs: Track changes in the IDataItemContainer interface.
2518         
2519         * CommandField.cs: Added CausesValidation property. Set that
2520         property value to all buttons of the field.
2521         
2522         * SqlDataSourceView.cs:
2523         * CollectionDataSource.cs:
2524         * XmlDataSourceView.cs: Properly initialize the base class.
2525         
2526         * SiteMapDataSource.cs:
2527         * SiteMapHierarchicalDataSourceView.cs:
2528         * SiteMapNodeItem.cs:
2529         * SiteMapDataSourceView.cs:
2530         * SiteMapPath.cs: Mostly implemented.
2531         
2532         * HierarchicalDataBoundControl.cs: Always bind the control when the
2533         page is loaded for the first time.
2534         
2535         * TreeView.cs: Properly bind the control when loaded from a callback.
2536
2537 2005-05-21  Ben Maurer  <bmaurer@ximian.com>
2538
2539         * BaseDataList.cs: Caption is in 1.1 too, though not
2540         documented. Gonz owes me [more] ice cream. Yummmmm.
2541
2542 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2543
2544         * BaseDataList.cs: implemented 2.0 Caption property.
2545
2546 2005-05-18  Lluis Sanchez Gual <lluis@novell.com>
2547
2548         * TreeView.cs: Always render the startup script. This fixes
2549         bug #74949. 
2550
2551 2005-05-13  Lluis Sanchez Gual <lluis@novell.com>
2552
2553         * WizardStepBase.cs:
2554         * WizardStep.cs: Added missing attributes.
2555         * Wizard.cs: Implemented missing methods and properties. It can now
2556         be considered feature complete.
2557
2558 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2559
2560         * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
2561         the method if the data source was en empty IEnumerator. Fixes
2562         bug #74804.
2563
2564 2005-05-06  Lluis Sanchez Gual <lluis@novell.com>
2565
2566         * TreeNode.cs:
2567         * TreeView.cs:
2568         * Menu.cs: Implemented some new properties from beta 2.
2569         
2570         * DataControlButton.cs: Render the ControlStyle if it
2571         is not empty.
2572         
2573         * UnitConverter.cs:
2574         * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
2575         It will now generate an object creation, instead of a Parse call. 
2576         
2577         * GridViewCommandEventArgs.cs: Added missing property.
2578         * SubMenuStyleCollection.cs: This class is not sealed.
2579         * MultiView.cs: Set Visible=false to all views that are not
2580         shown. This ensures that it's view state is saved. 
2581         
2582         * BaseDataBoundControl.cs:
2583         * GridViewDeletedEventArgs.cs: Minor api fixes.
2584         
2585         * FormViewDeleteEventArgs.cs:
2586         * DetailsViewDeletedEventArgs.cs:
2587         * ListControl.cs: Fix warnings.
2588         
2589         * CircleHotSpot.cs
2590         * HotSpot.cs
2591         * HotSpotCollection.cs
2592         * ImageMap.cs
2593         * PolygonHotSpot.cs
2594         * RectangleHotSpot.cs
2595         * WizardStepCollection.cs : Implemented.
2596         
2597         * WizardStep.cs
2598         * WizardStepBase.cs
2599         * Wizard.cs: Initial implementation.
2600
2601 2005-05-04  Lluis Sanchez Gual <lluis@novell.com>
2602
2603         * DataControlField.cs:
2604         * CommandField.cs: 
2605         * GridView.cs:
2606         * FormView.cs:
2607         * DataControlCommands.cs:
2608         * DetailsView.cs: Use constants to identify commands.
2609
2610         * SubMenuStyle.cs: Use Unit instead of int for padding.
2611         * SubMenuStyleCollection.cs: Implemented.
2612         
2613         * DataList.cs:
2614         * Menu.cs: Added some missing methods and properties.
2615         
2616         * Literal.cs:
2617         * DataGridPagerStyle.cs: Fixed default value attributes.
2618         * ListControl.cs: Implemented IEditableTextControl interface.
2619         
2620         * MenuItemBinding.cs: Added Selectable property.
2621         * CustomValidator.cs: removed interface.
2622         
2623         * MenuItem.cs: Added support for custom binding. 
2624         * DropDownList.cs: Moved text properties to base class.
2625
2626 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2627
2628         * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
2629
2630 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2631
2632         * Calendar.cs: when the day is active, modify the text of the literal
2633         control that holds the number, not the text of the TableCell. Also call
2634         OnDayRender before updating that text. Fixes bug #74718.
2635
2636 2005-04-22  Lluis Sanchez Gual <lluis@novell.com>
2637
2638         * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
2639         members.
2640         * DataControlFieldHeaderCell.cs: Save Scope in view state.
2641         Added AbbreviatedText property.
2642         * AutoGeneratedField.cs: The constructor should actually be internal.
2643         * DataGridItem.cs: Added implemented interface in 2.0.
2644         * DataControlFieldCollection.cs: Implemented CloneFields and
2645         GetKnownTypes().
2646         * 
2647
2648 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2649
2650         * StringArrayConverter.cs:
2651         * Calendar.cs: warnings.
2652
2653 2005-04-21  Lluis Sanchez Gual <lluis@novell.com>
2654
2655         * FormViewDeleteEventArgs.cs:
2656         * FormViewInsertEventArgs.cs:
2657         * FormViewUpdateEventArgs.cs:
2658         * FormViewDeletedEventArgs.cs:
2659         * FormViewUpdatedEventArgs.cs:
2660         * FormViewInsertedEventArgs.cs: Implemented some missing properties.
2661         
2662         * LinkButton.cs:
2663         * IButtonControl.cs:
2664         * Button.cs: Removed SoftKey property.
2665         
2666         * CheckBox.cs: Don't try to load post back data if the control
2667         is disabled.
2668         
2669         * ImageField.cs:
2670         * AutoGeneratedField.cs:
2671         * DataControlField.cs:
2672         * CommandField.cs:
2673         * ButtonFieldBase.cs:
2674         * BoundField.cs:
2675         * CheckBoxField.cs:
2676         * TemplateField.cs:
2677         * ButtonField.cs: Don't bind fields in Insert state.
2678         Implemented CreateField and CopyProperties.
2679         
2680         * GridView.cs:
2681         * DetailsView.cs: Removed some unneeded interfaces. Don't
2682         generate the field rows if there are no items in the data source.
2683         Don't get the current keys until the whole control has been
2684         bound.
2685
2686         * DetailsViewInsertedEventArgs.cs:
2687         * DataBoundControl.cs:  
2688         * ObjectDataSourceView.cs: Made some methods private.
2689         
2690         * MenuItemStyle.cs:
2691         * Menu.cs: Changed some properties from int to Unit.
2692         
2693         * DataControlButton.cs: javascript prefix is needed when raising
2694         the postback event from a link.
2695         
2696         * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
2697         The result was wrong when the total data source count was 0.
2698         
2699         * FormView.cs: Implemented.
2700         * FormViewRow.cs: Implemented.
2701         
2702         * Literal.cs:
2703         * Localize.cs: Fixed base interface.
2704         
2705         * BaseDataBoundControl.cs: In DataBind() call the base class
2706         DataBind method, so the binding context is properly set.
2707
2708 2005-04-15  Lluis Sanchez Gual <lluis@novell.com>
2709
2710         * DetailsView.cs: Added some null checks.
2711         * TemplateField.cs: Implemented support for two-way bindings.
2712
2713 2005-04-14  Lluis Sanchez Gual <lluis@novell.com>
2714
2715         * DetailsView.cs: Implemented support for Insert operation. 
2716         Added header and footer templates. Added missing style
2717         properties. 
2718         * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
2719         to get filter values. Other minor fixes.
2720         * CommandField.cs: Properly render the Insert and New buttons.
2721         * ObjectDataSource.cs: Update the parameter collections after
2722         the page is loaded. This will fire the ParameterChanged event
2723         if needed.
2724         * DataBoundControl.cs: The OnDataSourceViewChanged method
2725         is called when the view changes, not when the datasource
2726         changes.
2727         
2728         * DetailsViewInsertedEventArgs.cs:
2729         * DetailsViewInsertEventArgs.cs: Implement Values property.
2730         
2731         * ImageField.cs:
2732         * AutoGeneratedField.cs
2733         * BoundField.cs:
2734         * CheckBoxField.cs:
2735         Take into account the Insert mode.
2736         
2737         * ParameterCollection.cs: Implemented UpdateValues and fixed
2738         GetValues (values can't be cached because can change).
2739         * Parameter.cs: Detect value changes in GetValue, and fire
2740         the change event if needed. Removed unused ParameterValue
2741         property. Other fixes.
2742
2743 2005-04-08  Lluis Sanchez Gual <lluis@novell.com>
2744
2745         * DetailsView.cs: Initial implementation.
2746         * ObjectDataSourceView.cs: Notify changes in the parameters.
2747         * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
2748           DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
2749           Implemented some properties.
2750         * GridView.cs: Added null check in SelectedValue. Don't return null
2751           for empty DataKeyNames list.
2752         * DetailsViewRowCollection.cs: Implemented.
2753         * DetailsViewRow.cs: Implemented.
2754         * ButtonFieldBase.cs: By default button field don't have headers.
2755         * BoundField.cs: Don't bind header fields.        
2756
2757 2005-04-07  Lluis Sanchez Gual <lluis@novell.com>
2758
2759         * ButtonField.cs: Get data item properties using TypeDescriptor.
2760         Made OnDataBindField private.
2761         * ObjectDataSourceView.cs: Implemented support for Delete and
2762         Insert operations, support for filtering and sorting,
2763         conflict detection, etc. It's now complete.
2764         * ObjectDataSource.cs: Completed most of functionality. Only
2765         caching support is missing.
2766         * ObjectDataSourceFilteringEventHandler.cs: New event handler.
2767         * TreeNode.cs: Get data item properties using TypeDescriptor.
2768         * PagerSettings.cs: Flush.
2769         * ObjectDataSourceFilteringEventArgs.cs: New event args.
2770         * GridView.cs: Get data item properties using TypeDescriptor
2771         and cache them. Properly set descending order in the sort
2772         expression. In UpdateRow, make sure we get the old values
2773         before the control is bound again.
2774         * ImageField.cs: Implemented.
2775         * AutoGeneratedField.cs: Initialize the field's sort
2776         expression in the constructor.
2777         * MenuItem.cs: Get data item properties using TypeDescriptor.
2778         * BoundField.cs: Get data item properties using TypeDescriptor.
2779         * CheckBoxField.cs: Added missing attributes.
2780         * TemplateField.cs: Implemented.
2781
2782 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2783
2784         * UnitConverter.cs:
2785         * FontUnitConverter.cs: fixed ConvertTo to work with target
2786         InstanceDescriptor and value as a string.
2787
2788         * Unit.cs: culture might be null.
2789
2790         Fixes bug #74431.
2791
2792 2005-04-01  Lluis Sanchez Gual <lluis@novell.com>
2793
2794         * ButtonField.cs: Mostly implemented.
2795         * DataControlFieldHeaderCell.cs: Implemented.
2796         * ObjectDataSourceView.cs: Initial implementation.
2797         * DataControlButton.cs: Added support for real buttons.
2798         * Label.cs, DataControlField.cs: Flush.
2799         * ObjectDataSource.cs: Initial implementation.
2800         * HiddenField.cs: Added class stub.
2801         * GridView.cs: Load autogenerated field properties before
2802         creating the children, to make sure that column info is ready.
2803         * ControlParameter.cs: Implemented Evaluate method.
2804         * ImageField.cs: Added class stub.
2805         * BoundField.cs: Added HtmlEncode property.
2806         * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
2807         to its own file.
2808         * CheckBoxField.cs: Mostly implemented.
2809         * TemplateField.cs: Added class stub.
2810         * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
2811         * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
2812         * Parameter.cs: Added internal GetValue method (Evaluate is protected)
2813
2814 2005-03-23  Lluis Sanchez Gual <lluis@novell.com>
2815
2816         * DataControlField.cs: Added missing InsertVisible property.
2817         * AutoGeneratedFieldProperties.cs: Implemented.
2818         * PagerSettings.cs: Minor fix.
2819         * GridView.cs: Implemented support for autogenerated fields, templates,
2820         accessible headers. Implemented paging using PagedDataSource.
2821         Implemented missing overridable methods.
2822         * AutoGeneratedField.cs: Initial implementation.
2823         * BoundField.cs: Added ReadOnly property.
2824         * PagedDataSource.cs: Implemented 2.0 api.
2825         * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
2826         cell class to be used by accessible headers.
2827         * TableCell.cs: Removed unneded constructor. If the cell is bound to
2828         a template, call the default RenderContents method.
2829
2830 2005-03-16  Lluis Sanchez Gual  <lluis@novell.com>
2831
2832         * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
2833           event when loading the view state. Fixes #73746.
2834
2835 2005-03-16  Lluis Sanchez Gual <lluis@novell.com>
2836
2837         * ListControl.cs: Load selected indices in the right place. Fixes #73745.
2838
2839 2005-03-11  Lluis Sanchez Gual <lluis@novell.com>
2840
2841         * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
2842           correctly.
2843         * CommandField.cs: Mostly implemented.
2844         * Menu.cs: Use callback methods moved to ClientScriptManager.
2845         * DataControlButton.cs: Internal control used to implement buttons
2846           for navigating in data bound controls.
2847         * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
2848           to render the column headers.
2849         * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
2850           DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
2851           Don't use Page.GetPostBackClientEvent
2852           since it is deprecated in 2.0.
2853         * GridView.cs: Implemented some several interfaces.
2854           Implemented support client sorting and page navigation (using callbacks).
2855           Implemented the autogenerated command column using the new CommandField
2856           class.
2857         * ButtonFieldBase.cs: Implemented.
2858         * GridView.js: New helper script to support client side sorting and
2859           paging in the grid view.
2860
2861 2005-03-04  Lluis Sanchez Gual <lluis@novell.com>
2862
2863         * DataKey.cs: Implemented.
2864         * XmlDataSourceView.cs: Implemented support for row pagging.
2865         * Table.cs: Fixed attribute value.
2866         * DataControlField.cs: Added support for sorting headers.
2867         * ChildTable.cs: Created.
2868         * ListControl.cs: Delay selection assignment, since control state
2869         is now loaded before view state.
2870         * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
2871         GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
2872         several missing properties.
2873         * PagerSettings.cs: Fully implemented.
2874         * BaseDataList.cs: Added null check.
2875         * GridView.cs: Implemented more functionality.
2876         * BoundField.cs: Added support for cell editing.
2877         * StringArrayConverter.cs: Implemented.
2878         * DataKeyArray.cs: Implemented.
2879         * BaseDataBoundControl.cs: Reset the requires binding flag before
2880         executing the query. This avoids recursive query calls.
2881         * GridViewRow.cs: Handler commands raised from row childs.
2882
2883 2005-02-25  Lluis Sanchez Gual <lluis@novell.com>
2884
2885         * XmlDataSourceView.cs: ExecuteSelect now returns a list of
2886         XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
2887         it is possible to query for properties fore each data item.
2888         * Menu.cs, TreeView.cs: Make sure that objects are correctly created
2889         when loading its view state.
2890         * DataControlField.cs: Implement properties using a StateBag.
2891         * XmlDataSourcePropertyDescriptor.cs: Implemented.
2892         * PagerSettings.cs: Mostly implemented.
2893         * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
2894         * DataBoundControl.cs: Added null check.
2895         * GridView.cs: Initial implementation.
2896         * CompositeDataBoundControl.cs: Implemented.
2897         * BoundField.cs: Initial implementation.
2898         * GridViewRowCollection.cs: Initial implementation.
2899         * DataControlFieldCollection.cs: Initial implementation.
2900         * DataControlFieldCell.cs: Fixed control tag.
2901         * GridViewRow: Initial implementation.
2902         * XmlDataSourceNodeDescriptor.cs: Implemented.
2903
2904 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2905
2906         * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
2907         is zero, use the TagName no matter its value. Fixes bug #72415.
2908
2909 2005-02-18  Lluis Sanchez Gual <lluis@novell.com>
2910
2911         * Style.cs: Method name fix.
2912         * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
2913         * BaseCompareValidator.cs: Method signature fix.
2914         * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
2915         * BaseDataList.cs, Repeater.cs: Fixed data binding code.
2916         * BulletedList.cs: Added missing method.
2917         * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
2918
2919 2005-02-16  Lluis Sanchez Gual  <lluis@novell.com>
2920
2921         * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
2922         * RadioButton.cs: Added missing 2.0 methods.
2923         * ListItem.cs: Added Enabled property.
2924         * MailMessageEventArgs.cs: Use the correct message class.
2925         * ListControl.cs: Implemented missing properties and support for
2926         control state. Implemented base RenderContents method.
2927         * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
2928         properties.
2929         * BaseCompareValidator.cs: Implemented methods that support conditional
2930         use of the invariant culture.
2931         * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
2932         * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
2933         It takes a DbCommand instead of a IDbCommand.
2934         * GridViewSortEventArgs.cs: Added SortDirection property.
2935         * TextBox.cs, CheckBoxList.cs: Added protected version of
2936         IPostBackDataHandler methods.
2937         * RadioButtonList.cs: Added protected version of
2938         IPostBackDataHandler and IRepeatInfoUser methods.
2939         * Repeater.cs: Updated some method names.
2940         * DropDownList.cs:  Added protected version of
2941         IPostBackDataHandler methods. Reuse RenderContents from base class.
2942         * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
2943         * GridViewUpdatedEventArgs.cs: Fix typo.
2944         * ListBox.cs: Added protected version of IPostBackDataHandler methods.
2945         Reuse RenderContents from base class.
2946         * BaseDataBoundControl.cs: Several fixes.
2947         * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
2948
2949 2005-02-10  Lluis Sanchez Gual  <lluis@novell.com>
2950
2951         * CheckBoxList.cs: Fix build.
2952
2953 2005-02-10  Lluis Sanchez Gual <lluis@novell.com>
2954
2955         * Button.cs: Use validation group when validating page.
2956         * XmlDataSourceView.cs: Implemented ExecuteSelect.
2957         * Menu.cs: Minor fix.
2958         * CheckBox.cs: Added 2.0 properties and methods.
2959         * BaseDataList.cs: Always databind the control if view state
2960         is not enabled.
2961         * DataList.cs: In 2.0, use control state to save the selected index.
2962         * DetailsViewUpdatedEventArgs.cs: Fix typo.
2963         * CustomValidator.cs: Implement IStaticTextControl interface.
2964         * CheckBoxList.cs: Added missing 2.0 methods.
2965         * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
2966         interface.
2967         * XmlDataSource.cs: Return childs of DocumentElement, not the root
2968         document.
2969         * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
2970         Implemented 2.0 API.
2971         
2972
2973 2005-02-04  Lluis Sanchez Gual  <lluis@novell.com>
2974
2975         * Button.cs: Implemented all missing 2.0 features.
2976         * Table.cs: Render the table caption, when specified.
2977         * Calendar.cs: Implemented most of missing 2.0 features.
2978         * TableCell.cs: Fixed attributes.
2979
2980 2005-02-02  Lluis Sanchez Gual  <lluis@novell.com>
2981
2982         * ControlPropertyNameConverter.cs: Added file.
2983
2984 2005-02-02  Lluis Sanchez Gual <lluis@novell.com>
2985
2986         * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
2987         CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
2988         RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
2989         ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
2990         DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
2991         RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
2992         BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
2993         IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
2994         RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
2995         RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
2996         CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
2997         QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
2998         CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
2999         RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
3000         DataGridSortCommandEventArgs.cs, Repeater.cs,
3001         MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
3002         XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
3003         Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
3004         CompareValidator.cs, HierarchicalDataBoundControl.cs,
3005         EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs, 
3006         ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
3007         ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
3008         WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
3009         ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
3010         LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
3011         AdCreatedEventArgs.cs:
3012         
3013         General 2.0 API fixes: missing attributes, incorrect inheritance,
3014         missing sealed keywords, wrong signatures, etc.
3015
3016 2005-01-28  Lluis Sanchez Gual <lluis@novell.com>
3017
3018         * Table.cs: Added some 2.0 properties.
3019         * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
3020         InstanceDescriptor.
3021         * BaseValidator.cs: Fix warning.
3022         * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
3023
3024 2005-01-26  Lluis Sanchez Gual <lluis@novell.com>
3025
3026         * Menu.cs: Rendering fixes.
3027
3028 2005-01-21  Lluis Sanchez Gual <lluis@novell.com>
3029
3030         * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
3031         ContentPlaceHolderBuilder.cs: Implemented.
3032
3033 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3034
3035         * CheckBox.cs: when rendering the input tag inside a span tag, keep the
3036         attributes that are meant to be in the input tag in their place.
3037
3038 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
3039
3040         * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
3041         generates invalid html).
3042
3043 2005-01-10  Lluis Sanchez Gual <lluis@novell.com>
3044
3045         * Menu.cs: Implemented most of missing properties. Added support for
3046         item templates. Implemented menu scrolling.
3047         * MenuItemBinding.cs: Implemented most of missing properties.
3048         * MenuItem.cs: Implemented most of missing properties.
3049         * Menu.js: Implemented scrolling and menu reposition into screen.
3050         * MenuItemTemplateContainer.cs: Implemented.
3051         * SubMenuStyle.cs: Implemented.
3052
3053 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
3054
3055         * Style.cs: Implemented RegisteredCssClass property. Added
3056         CopyTextStylesFrom method, which copies styles that only apply to text.
3057         * Menu.cs, Menu.js: Added hover style support. Define all menu styles
3058         in the page stylesheet. Added support for ItemSpacing property.
3059         * MenuItemStyle.cs: Implemented FillStyleAttributes method.
3060         
3061 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
3062
3063         * Style.cs: Generate styles using a CssStyleCollection, so the code can
3064         be reused for the 2.0 FillStyleAttributes method.
3065         * Menu.cs: Implemented more properties and events. Rendering is very
3066         complete now.
3067         * MenuItem.cs: Added PopOutImageUrl property.
3068         * Menu.js: More work on submenu management.
3069
3070 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
3071
3072         * Menu.cs: Implemented basic rendering. Added some missing properties.
3073         * MenuItem.cs: Improved implementation of Depth.
3074         * Unit.cs: Added serializable attribute.
3075         * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
3076         so it can be reused.
3077         * Menu.js: New script to support he Menu control.
3078
3079 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
3080
3081         * MenuEventArgs.cs: Changed to sealed.
3082         * TreeView.cs: Minor fix.
3083         * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
3084         MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
3085         MenuItemStyleCollection.cs: Initial Menu code.
3086
3087 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
3088
3089         * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs: 
3090         Implemented SetDirtyObject.
3091         * Style.cs: Implemented SetDirty().
3092         * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
3093         * TreeNode.cs: Added missing attributes added support for
3094         PopulateOnDemand. Added some missing property bindings.
3095         * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
3096         to newly added elements to make sure al new data is saved.
3097         * TreeView.js: Implemented support for client population of nodes.
3098         * TreeNodeStyle.cs: Added missing attributes.
3099         * TreeView.cs: Implemented support for PopulateNodesFromClient and
3100         PopulateOnDemand. Improved rendering.
3101
3102 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
3103
3104         * DataControlField.cs:
3105         * DataControlFieldCell.cs: Initial implementation.
3106
3107 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
3108
3109         * TreeNodeBindingCollection.cs: Implemented.
3110         * TreeNodeBinding.cs: Implemented.
3111         * TreeNode.cs: Added support for data binding.
3112         * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
3113           TreeView_Default_NoExpand.gif: Moved to resources directory.
3114         * ListControl.cs: Fixed api.
3115         * XmlHierarchicalEnumerable.cs: Made internal.
3116         * DataBoundControl.cs: Modified api to match latest ms.net.
3117         * TreeView.js: New javascript file to support TreeView in the client.
3118         * XmlDataSource.cs: Added missing attributes.
3119         * HierarchicalDataBoundControl.cs: Mostly implemented.
3120         * BaseDataBoundControl.cs: Mostly implemented.
3121         * XmlHierarchyData.cs: Made internal.
3122         * TreeView.cs: Mostly implemented. The major missing feature is
3123           client side tree population.
3124
3125 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
3126
3127         * BaseDataList.cs: 
3128         * DataBountControl.cs:
3129         * Repeater.cs: Added SelectArguments property and updated.
3130         * SiteMapDataSourceView.cs:
3131         * SqlDataSourceView.cs:
3132         * XmlDataSourceView.cs: Removed extra method, which was there to
3133                                 keep things compiling.
3134
3135 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
3136
3137         * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
3138         TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
3139         TreeView.cs: Initial implementation.
3140         * DataBoundControl.cs: Set the correct base class.
3141         * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
3142         * TreeNodeSelectAction.cs: Formatting.
3143         * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
3144         TreeView_Default_NoExpand.gif: TreeView images.
3145
3146 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
3147
3148         * SqlDataSourceView.cs: Updated methods and added one property.
3149          
3150 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3151
3152         * AccessDataSource.cs: 
3153         * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.      
3154 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3155
3156         * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
3157         * SqlDataSourceView.cs: Updated constructor.
3158          
3159 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3160
3161         * AccessDataSourceView.cs: Added new class.
3162
3163 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
3164
3165         * SqlDataSourceView.cs: Corrected exception handling in 
3166           ExecuteSelect method.
3167
3168 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
3169
3170         * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
3171         * SiteMapDataSourceView.cs: Minor fix.
3172
3173 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
3174
3175         * SqlDataSourceView.cs: Updated ExecuteSelect method.
3176
3177 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
3178
3179         * SqlDataSource.cs: Corrected Select method.
3180
3181 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
3182
3183         * SqlDataSource.cs: Updated Select method definition.
3184         * SqlDataSourceStatusEventArgs.cs: Updated class.
3185          
3186 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
3187
3188         * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
3189         from DataSourceView.cs).
3190
3191 2004-11-10  Raja R Harinath  <rharinath@novell.com>
3192
3193         * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
3194
3195 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
3196         
3197         * SqlDataSource.cs: Corrected method calls.
3198         * SqlDataSourceView.cs: Partial implementation of few methods.
3199
3200 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3201
3202         * ListItemCollection.cs: fixed bug when indexing changed elements in
3203         LoadViewState. Patch from Alois BÄ»laÅ¡ka.
3204
3205 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
3206         
3207         * SiteMapDataSourceView.cs: 
3208         * SqlDataSourceView.cs:
3209         * XmlDataSourceView.cs: Cosmetic changes because of modifications in 
3210         base class, DataSourceView. Changes are to keep things compiling. 
3211
3212 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
3213         
3214         * SiteMapDataSourceView.cs: Corrected class definition and updated.
3215         * XmlHierarchicalDataSourceView.cs: Modified according to changes in 
3216           base class.
3217
3218 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
3219         
3220         * AdRotator.cs: Updated.
3221
3222 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
3223
3224         * AccessDataSource.cs: Updated.
3225
3226 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
3227
3228         * ValidatedControlConverter.cs: Updated.
3229
3230 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
3231
3232         * AssociatedControlConverter.cs: Implemented.
3233
3234 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
3235
3236         * ControlIDConverter.cs: Initial implementation.
3237
3238 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
3239
3240         * IButtonControl.cs: Corrected property name.
3241
3242 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
3243
3244         * ParameterCollection.cs: Updated.
3245
3246 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
3247
3248         * Parameter.cs: Updated and completed implementation.
3249
3250 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
3251
3252         * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
3253           while compilation.
3254
3255 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
3256
3257         * AccessDataSource.cs: Initial implementation.
3258
3259 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
3260
3261         * DataControlRowState.cs: 
3262         * ScrollBars.cs:
3263         * TreeNodeTypes.cs: Added attribute.
3264         * DataControlRowType.cs:
3265         * HotSpotMode.cs:
3266         * SortDirection.cs: Corrected enumeration values.
3267         * TableRowSection.cs: Added new enumeration.
3268         * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
3269
3270 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3271
3272         * TableStyle.cs: don't render empty 'rules' attribute (again).
3273
3274 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
3275
3276         * FormViewUpdatedEventArgs.cs: Spelling mistake.
3277
3278 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
3279         
3280         * Literal.cs: Added new method Focus().
3281
3282 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3283
3284         * RadioButton.cs: fix GroupName when the control is inside a
3285         NamingContainer different from Page. Closes bug #65586.
3286
3287 2004-09-07  Sanjay Gupta <gsanjay@novell.com>
3288         
3289         * Localize.cs: Added new class.
3290
3291 2004-09-03  Gaurav Vaish <gvaish_mono AT lycos.com>
3292
3293         * CompositeControl.cs  : Completed
3294         * Login.cs             : Initial implementation.
3295
3296 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3297
3298         * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
3299         don't call MapPathSecure on the content itself.
3300         
3301         * XmlBuilder.cs: handle XML documents written inside asp:xml. The
3302         document is checked at parse time and will be checked again at run time.
3303
3304         Fixes bug #63828.
3305
3306 2004-08-31  Sanjay Gupta <gsanjay@novell.com>
3307
3308         * AuthenticateEventHandler.cs: 
3309         * CreateUserErrorEventArgs.cs:
3310         * CreateUserErrorEventHandler.cs:
3311         * DetailsViewCommandEventHandler.cs:
3312         * DetailsViewDeleteEventArgs.cs:
3313         * DetailsViewDeleteEventHandler.cs:
3314         * DetailsViewDeletedEventArgs.cs:
3315         * DetailsViewDeletedEventHandler.cs:
3316         * DetailsViewInsertEventArgs.cs:
3317         * DetailsViewInsertEventHandler.cs:
3318         * DetailsViewInsertedEventArgs.cs:
3319         * DetailsViewInsertedEventHandler.cs:
3320         * DetailsViewModeEventArgs.cs:
3321         * DetailsViewModeEventHandler.cs:
3322         * DetailsViewPageEventHandler.cs:
3323         * DetailsViewUpdateEventArgs.cs:
3324         * DetailsViewUpdateEventHandler.cs:
3325         * DetailsViewUpdatedEventArgs.cs:
3326         * DetailsViewUpdatedEventHandler.cs:
3327         * FormViewCommandEventHandler.cs:
3328         * FormViewDeleteEventArgs.cs:
3329         * FormViewDeleteEventHandler.cs:
3330         * FormViewDeletedEventArgs.cs:
3331         * FormViewDeletedEventHandler.cs:
3332         * FormViewInsertEventArgs.cs:
3333         * FormViewInsertEventHandler.cs:
3334         * FormViewInsertedEventArgs.cs:
3335         * FormViewInsertedEventHandler.cs:
3336         * FormViewModeEventHandler.cs:
3337         * FormViewPageEventHandler.cs:
3338         * FormViewUpdateEventArgs.cs:
3339         * FormViewUpdateEventHandler.cs:
3340         * FormViewUpdatedEventArgs.cs:
3341         * FormViewUpdatedEventHandler.cs:
3342         * GridViewCancelEditEventArgs.cs:
3343         * GridViewCancelEditEventHandler.cs:
3344         * GridViewCommandEventHandler.cs:
3345         * GridViewDeleteEventArgs.cs:
3346         * GridViewDeleteEventHandler.cs:
3347         * GridViewDeletedEventArgs.cs:
3348         * GridViewDeletedEventHandler.cs:
3349         * GridViewEditEventHandler.cs:
3350         * GridViewPageEventHandler.cs:
3351         * GridViewRowEventHandler.cs:
3352         * GridViewSelectEventHandler.cs:
3353         * GridViewSortEventArgs.cs:
3354         * GridViewSortEventHandler.cs:
3355         * GridViewUpdateEventArgs.cs:
3356         * GridViewUpdateEventHandler.cs:
3357         * GridViewUpdatedEventArgs.cs:
3358         * GridViewUpdatedEventHandler.cs:
3359         * ImageMapEventHandler.cs:
3360         * MailMessageEventHandler.cs:
3361         * MenuEventHandler.cs:
3362         * ObjectDataSourceDisposingEventHandler.cs:
3363         * ObjectDataSourceEventHandler.cs:
3364         * ObjectDataSourceMethodEventArgs.cs:
3365         * ObjectDataSourceMethodEventHandler.cs:
3366         * ObjectDataSourceSelectingEventArgs.cs:
3367         * ObjectDataSourceSelectingEventHandler.cs:
3368         * ObjectDataSourceStatusEventArgs.cs:
3369         * ObjectDataSourceStatusEventHandler.cs:
3370         * SendMailErrorEventHandler.cs:
3371         * SiteMapNodeItemEventHandler.cs:
3372         * SqlDataSourceSelectingEventArgs.cs:
3373         * SqlDataSourceSelectingEventHandler.cs:
3374         * TreeNodeEventHandler.cs:
3375         * WizardNavigationEventArgs.cs:
3376         * WizardNavigationEventHandler.cs: Minor modifications, compiler error
3377         corrections and removing "sealed" access specifier from *EventHandler.cs
3378
3379 2004-08-18  Sanjay Gupta <gsanjay@novell.com>
3380
3381         * Literal.cs: Added new attributes and property for .Net 2.0
3382
3383 2004-08-13  Sanjay Gupta <gsanjay@novell.com>
3384
3385         * GridViewDeleteEventArgs.cs: Removed extra code.
3386
3387 2004-08-12  Sanjay Gupta <gsanjay@novell.com>
3388
3389         * SendMailErrorEventArgs.cs:
3390         * SendMailErrorEventHandler.cs:
3391         * SiteMapNodeItemEventArgs.cs:
3392         * SiteMapNodeItemEventHandler.cs:
3393         * SqlDataSourceSelectingEventArgs.cs:
3394         * SqlDataSourceSelectingEventHandler.cs:
3395         * TreeNodeEventArgs.cs:
3396         * TreeNodeEventHandler.cs:
3397         * WizardNavigationEventArgs.cs:
3398         * WizardNavigationEventHandler.cs: Added new delegates.
3399
3400 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
3401
3402         * ImageMapEventArgs.cs:
3403         * ImageMapEventHandler.cs:
3404         * MailMessageEventArgs.cs:
3405         * MailMessageEventHandler.cs:
3406         * MenuEventArgs.cs:
3407         * MenuEventHandler.cs:
3408         * ObjectDataSourceDisposingEventArgs.cs:
3409         * ObjectDataSourceDisposingEventHandler.cs:
3410         * ObjectDataSourceEventArgs.cs:
3411         * ObjectDataSourceEventHandler.cs:
3412         * ObjectDataSourceMethodEventArgs.cs:
3413         * ObjectDataSourceMethodEventHandler.cs:
3414         * ObjectDataSourceSelectingEventArgs.cs:
3415         * ObjectDataSourceSelectingEventHandler.cs:
3416         * ObjectDataSourceStatusEventArgs.cs:
3417         * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
3418
3419 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
3420
3421         * DetailsViewCommandEventArgs.cs:
3422         * FormViewCommandEventArgs.cs:
3423         * GridViewCommandEventArgs.cs: Corrected constructor.
3424
3425 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
3426
3427         * GridViewCancelEditEventArgs.cs:
3428         * GridViewCancelEditEventHandler.cs:
3429         * GridViewCommandEventArgs.cs:
3430         * GridViewCommandEventHandler.cs:
3431         * GridViewDeletedEventArgs.cs:
3432         * GridViewDeletedEventHandler.cs:
3433         * GridViewDeleteEventArgs.cs:
3434         * GridViewDeleteEventHandler.cs:
3435         * GridViewEditEventArgs.cs:
3436         * GridViewEditEventHandler.cs:
3437         * GridViewPageEventArgs.cs:
3438         * GridViewPageEventHandler.cs:
3439         * GridViewRowEventArgs.cs:
3440         * GridViewRowEventHandler.cs:
3441         * GridViewSelectEventArgs.cs:
3442         * GridViewSelectEventHandler.cs:
3443         * GridViewSortEventArgs.cs:
3444         * GridViewSortEventHandler.cs:
3445         * GridViewUpdatedEventArgs.cs:
3446         * GridViewUpdatedEventHandler.cs:
3447         * GridViewUpdateEventArgs.cs:
3448         * GridViewUpdateEventHandler.cs: Added new delegates.
3449
3450 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
3451
3452         * FormViewUpdatedEventArgs.cs: Corrected constructor.
3453
3454 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
3455
3456         * FormViewCommandEventArgs.cs: Corrected name of class.
3457
3458 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3459
3460         * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
3461         bug #62726.
3462
3463 2004-08-10  Sanjay Gupta <gsanjay@novell.com>
3464
3465         * FormViewCommandEventArgs.cs:
3466         * FormViewCommandEventHandler.cs:
3467         * FormViewDeletedEventArgs.cs:
3468         * FormViewDeletedEventHandler.cs:
3469         * FormViewDeleteEventArgs.cs:
3470         * FormViewDeleteEventHandler.cs:
3471         * FormViewInsertedEventArgs.cs:
3472         * FormViewInsertedEventHandler.cs:
3473         * FormViewInsertEventArgs.cs:
3474         * FormViewInsertEventHandler.cs:
3475         * FormViewModeEventArgs.cs:
3476         * FormViewModeEventHandler.cs:
3477         * FormViewPageEventArgs.cs:
3478         * FormViewPageEventHandler.cs:
3479         * FormViewUpdatedEventArgs.cs:
3480         * FormViewUpdatedEventHandler.cs:
3481         * FormViewUpdateEventArgs.cs:
3482         * FormViewUpdateEventHandler.cs: Added new delegates.
3483
3484 2004-08-10  Sanjay Gupta <gsanjay@novell.com>
3485
3486         * DetailsViewCommandEventArgs.cs:
3487         * DetailsViewCommandEventHandler.cs:
3488         * DetailsViewDeletedEventArgs.cs:
3489         * DetailsViewDeletedEventHandler.cs:
3490         * DetailsViewDeleteEventArgs.cs:
3491         * DetailsViewDeleteEventHandler.cs:
3492         * DetailsViewInsertedEventArgs.cs:
3493         * DetailsViewInsertedEventHandler.cs:
3494         * DetailsViewInsertEventArgs.cs:
3495         * DetailsViewInsertEventHandler.cs:
3496         * DetailsViewModeEventArgs.cs:
3497         * DetailsViewModeEventHandler.cs:
3498         * DetailsViewPageEventArgs.cs:
3499         * DetailsViewPageEventHandler.cs:
3500         * DetailsViewUpdatedEventArgs.cs:
3501         * DetailsViewUpdatedEventHandler.cs:
3502         * DetailsViewUpdateEventArgs.cs:
3503         * DetailsViewUpdateEventHandler.cs: Added new delegates.
3504
3505 2004-08-09  Sanjay Gupta <gsanjay@novell.com>
3506
3507         * AuthenticateEventArgs.cs:
3508         * AuthenticateEventHandler.cs:
3509         * CreateUserErrorEventArgs.cs:
3510         * CreateUserErrorEventHandler.cs: Added new delegates.
3511
3512 2004-08-05  Sanjay Gupta <gsanjay@novell.com>
3513
3514         * IButtonControl.cs:
3515         * ICallbackContainer.cs:
3516         * ICompositeControlDesignerAccessor.cs:
3517         * IPostBackContainer.cs: Added new interfaces.
3518
3519 2004-08-03  Sanjay Gupta <gsanjay@novell.com>
3520
3521         * AdType.cs:
3522         * AutoCompleteType.cs:
3523         * ContentDirection.cs:
3524         * DataControlCellType.cs:
3525         * DataControlRowState.cs:
3526         * DataControlRowType.cs:
3527         * DetailsViewMode.cs:
3528         * DynamicImageParameterMode.cs:
3529         * FormViewMode.cs:
3530         * HotSpotMode.cs:
3531         * ImageFieldMode.cs:
3532         * LiteralMode.cs:
3533         * LogoutAction.cs:
3534         * Orientation.cs:
3535         * PagerButtons.cs:
3536         * PathDirection.cs:
3537         * ScrollBars.cs:
3538         * SiteMapNodeItemType.cs:
3539         * SiteMapNodeType.cs:
3540         * SiteMapViewType.cs:
3541         * SortDirection.cs:
3542         * TableCaptionAlign.cs:
3543         * TableHeaderScope.cs:
3544         * TableViewMode.cs:
3545         * TreeNodeSelectAction.cs:
3546         * TreeNodeTypes.cs:
3547         * TreeViewImageSet.cs:
3548         * WizardStepType.cs: Added enumerations
3549
3550 2004-08-02  Duncan Mak  <duncan@ximian.com>
3551
3552         * ButtonType.cs:
3553         * LoginFailureAction.cs:
3554         * LoginTextLayout.cs: Added enumerations.
3555
3556 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3557
3558         * BaseValidator.cs: in Validate(), when the control is not visible or
3559         enabled, return inmediately after setting IsValid to true. Fixes bug
3560         #61831.
3561
3562 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3563
3564         * DataList.cs: s/HasChildren/HasControls()/.
3565
3566 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3567
3568         * DataList.cs: style.
3569
3570 2004-07-27 Alon Gazit <along@mainsoft.com>
3571         * DataList.cs: Replaced foreach statement with for statement, 
3572         in order to improve performence.
3573
3574 2004-07-27 Alon Gazit <along@mainsoft.com>
3575         * WebControl.cs: changed RenderBeginTag()to use TagKey instead of 
3576         TagName.
3577         * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use 
3578         switch statements in order to improve performance.
3579
3580 2004-06-10 Alon Gazit <along@mainsoft.com>
3581         * WebControl.cs: fixed LoadViewState(). 
3582         Creates new attributes state bag only when the current is null.
3583
3584 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3585
3586         * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
3587
3588 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3589
3590         * Calendar.cs: set the title class attribute if we have it. Fixes bug
3591         53671.
3592
3593 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3594
3595         * Style.cs: added SetBit.
3596
3597 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3598
3599         * Calendar.cs:
3600         * CompareValidator.cs:
3601         * ImageButton.cs:
3602         * Style.cs:
3603         * WebControl.cs: Added protected missing members and attributes.
3604
3605 2004-05-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3606
3607         * TextBox.cs: don't save the Text if in ViewState if it's a password.
3608         Save it if the control is not visible or not enabled. Fixes bug #58497.
3609
3610 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3611
3612         * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
3613         Fixes bug #58097.
3614
3615 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
3616         * Parameter.cs: 
3617         * SqlDataSourceCommandEventArgs:
3618         * XmlDataSource.cs : removed temporary workarounds for CLS 
3619         compliance as System.Data is now CLS compliant
3620
3621 2004-05-06 Alon Gazit <along@mainsoft.com>
3622         * WebControl.cs: fixed LoadViewState() and SaveViewState(). 
3623         Before the change the Enabled property wasn't updated when a postback
3624         event was raised.
3625         * ListControl.cs: fixed SelectedIndex property implementation.
3626         Prevents throwing ArgumentOutOfRangeException (that should not be
3627         thrown), when the list is empty.
3628
3629 2004-04-28 Alon Gazit <along@mainsoft.com>
3630         * WebControl.cs: fixed LoadViewState(). 
3631         Always loading the saved attributes collection.
3632
3633 2004-04-18 Alon Gazit <along@mainsoft.com>
3634         * Repeater.cs: fixed InstantiateItem() and DataSource property.
3635         The change in DataSource prevents throwing ArgumentException while
3636         setting property value to null.
3637         The change in InstantiateItem() prevents NullReferenceException.
3638
3639 2004-04-07  Lluis Sanchez Gual <lluis@ximian.com>
3640
3641         * BaseValidator.cs: Store Display property in the correct ViewState
3642         property. Don't render anything if Display is ValidatorDisplay.None.
3643
3644 2004-03-30  Lluis Sanchez Gual <lluis@ximian.com>
3645
3646         * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
3647           since it is already a physical path. Fixes bug #55334.
3648
3649 2004-02-13  Jackson Harper  <jackson@ximian.com>
3650
3651         * Calendar.cs: Match MS postback data. This allows sites that
3652         parse the postback data manually to work.
3653         
3654 2004-02-04 Alon Gazit <along@mainsoft.com>
3655         * EditCommandColumn.cs: fixed InitializeCell().
3656         The rendered LiteralControl should contain "&nbsp;" and not " ".
3657
3658 2004-02-01 Alon Gazit <along@mainsoft.com>
3659
3660         * DataGrid.cs: fixed a problem in the paging mechanism in the method
3661         InitializePager().
3662         the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
3663         while clicking the "..." link in the second page.
3664
3665 2004-01-28 Alon Gazit <along@mainsoft.com>
3666
3667         * Calendar.cs: prevent NullReferenceException in RenderAllDays().
3668
3669 2004-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3670
3671         * Calendar.cs: when rendering days, add a LiteralControl containing the
3672         day before OnDayRender is called. Only generate the default links for
3673         days when IsSelectable is true after OnDayRender. Fixes bug #53372.
3674
3675 2004-01-21  Martin Baulig  <martin@ximian.com>
3676
3677         * XmlHierarchyData.cs: Make this compile with csc.
3678
3679         * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
3680         accessor since the base class doesn't have one.
3681
3682 2004-01-18 Alon Gazit <along@mainsoft.com>
3683
3684         * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
3685         
3686 2004-01-18 Alon Gazit <along@mainsoft.com>
3687
3688         * Style.cs: CopyFrom method shouldn't copy a value that is equal to
3689         Property default value.
3690         * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to 
3691         Property default value. 
3692
3693 2004-01-15 Alon Gazit <along@mainsoft.com>
3694
3695         * RadioButtonList.cs: RepeatLayout property should affect the rendered
3696         html.   
3697
3698 2004-01-15 Alon Gazit <along@mainsoft.com>
3699         * FontInfo.cs: Add validation check to Size property.   
3700
3701 2004-01-07 Alon Gazit <along@mainsoft.com>
3702         * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
3703         merge the column's style to the cell's style and not to
3704         the item's(row) style.  
3705
3706 2004-01-04 Alon Gazit <along@mainsoft.com>
3707         * RangeValidator.cs: Fixed ControlPropertiesValid().
3708         
3709 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3710
3711         * Xml.cs: mono-stylized and removed warnings.
3712
3713 2004-1-1 Alon Gazit <along@mainsoft.com>
3714         * RadioButtonList.cs: update RenderItem() so that each RadioButton
3715         is enabled or disabled like the RadioButtonList.
3716         * CheckBoxList.cs: update RenderItem() so that each CheckBox
3717         is enabled or disabled like the CheckBoxList.   
3718
3719 2004-1-1 Alon Gazit <along@mainsoft.com>
3720         * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
3721         The Header or Footer Style shouldn't merge with the cells Style.                 
3722         
3723 2004-1-1 Alon Gazit <along@mainsoft.com>
3724         * DataGridColumn.cs: Headers and Footers are initialized  
3725         with the relevant Style object.  
3726
3727 2003-12-30 Alon Gazit <along@mainsoft.com>
3728         * RepeatInfo.cs: Fixed DoVerticalRendering () and 
3729         DoHorizontalRendering().
3730         Current implementation produces few extra html tags.
3731            
3732 2003-12-29  Alon Gazit <along@mainsoft.com>
3733
3734         * CheckBox.cs: change the implementation of LoadPostData. 
3735         Currently, while the AutoPostBack property equals true ,
3736         it isn't possible to perform uncheck.
3737
3738 2003-12-19  Jackson Harper <jackson@ximian.com>
3739
3740         * TableCell.cs: Setting a cells text should clear its control
3741         collection as per la specification. This fixes bug #51825.
3742         
3743 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3744
3745         * DataGridColumn.cs: stylized LoadViewState.
3746         * DataGridColumnCollection.cs: when TrackViewState is called, also
3747         call it on all the existing columns. Fixes bug #52334.
3748
3749 2003-12-18  Alon Gazit <along@mainsoft.com>
3750
3751         * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style 
3752         is empty.
3753
3754 2003-12-18  Alon Gazit <along@mainsoft.com>
3755
3756         * TableStyle.cs: merge TableStyle properties when Style is empty.
3757
3758 2003-12-16  Alon Gazit <along@mainsoft.com>
3759
3760         * HyperLink.cs: Change Text property implementation. in MS when the Text
3761         property is set, all the controls in the HyperLink are being deleted. 
3762         This fixes bug #52239.   
3763
3764 2003-12-15  Alon Gazit <along@mainsoft.com>
3765         * RepeatInfo.cs: Fixed DoVerticalRendering () and 
3766         DoHorizontalRendering().
3767         Both methods add additional empty table row in the head of each item
3768         table when the variable named isTable equals true (happenes with the
3769         default instantiation of RepeatInfo). These additional rows should be
3770         added when isTable equals false.
3771         This fixes bug #52225.   
3772
3773 2003-12-15  Alon Gazit <along@mainsoft.com>
3774
3775         * RepeatInfo.cs: Fixed DoVerticalRendering() and
3776         DoHorizontalRendering().
3777         Both methods add to rendered Header a colspan attribute according to the
3778         rows count. after the change the colspan is added according to the
3779         columns count.   
3780
3781 2003-12-15  Alon Gazit <along@mainsoft.com>
3782         * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
3783         In .NET if the checkbox is disabled ,its text appears disabled too.
3784         In Mono the text appears enabled. the fix is in Render().
3785         This fixes bug #52180.
3786
3787 2003-12-15  Alon Gazit <along@mainsoft.com>
3788         * Repeater.cs: Change the implementation of CreateControlHierarchy().
3789         The current implementation renders extra Header and footer 
3790         without Repeater.DataSource assign. 
3791         This fixes bug #52179.
3792
3793 2003-12-15  Alon Gazit <along@mainsoft.com>
3794         * DataGrid.cs: Change the implementation of the property 
3795         BackImageUrl. The current implementation has no influence 
3796         on the rendered Html.
3797
3798 2003-12-15  Alon Gazit <along@mainsoft.com>
3799         * WebControl.cs: Change the implementation of the property 
3800         Enabled. Before the change the WebControl also looked at 
3801         parent.Enabled . fixed bug #52171.
3802
3803 2003-12-11  Jackson Harper <jackson@ximian.com>
3804
3805         * RepeatInfo.cs: When rendering vertically figure out how many
3806         colmns are not going to be filled in in the last row, and adjust
3807         things accordingly. This fixes bug #51863.
3808         
3809 2003-12-10  Alon Gazit <along@mainsoft.com>
3810         * TableRow.cs: Change the implementation of the properties 
3811         HorizontalAlign and  VerticalAlign. The current implementation      
3812         has no influence on the rendered Html.
3813
3814 2003-12-10  Alon Gazit <along@mainsoft.com>
3815         * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
3816         property's set method.
3817         
3818 2003-12-09  Jackson Harper <jackson@ximian.com>
3819
3820         * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
3821         Increment counter when moving to start. Fixes bug #51926.
3822         
3823 2003-12-08  Jackson Harper <jackson@ximian.com>
3824
3825         * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
3826         Benjamin Jemlich. Fixes bug #51823.
3827         
3828 2003-12-07  Alon Gazit <along@mainsoft.com>
3829         * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
3830         property is set to false. Fixes bug #58120.
3831         
3832 2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3833
3834         * TableItemStyle.cs: merge TableItemStyle properties when Style is
3835         empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
3836
3837 2003-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3838
3839         * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
3840         #51648.
3841
3842 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3843
3844         * WebControl.cs: don't create the attributes when GetAttribute is
3845         called.
3846
3847 2003-12-01  Jackson Harper <jackson@ximian.com>
3848
3849         * WebControl.cs: Only allow access keys to be null or a single
3850         char. Patch by Alon Gazit <along@mainsoft.com>.
3851         
3852 2003-11-30  Jackson Harper <jackson@ximian.com>
3853
3854         * CheckBoxList.cs: A checkbox will have null post data if it is
3855         unselected. This fixes bug #51516.
3856         
3857 2003-11-29  Jackson Harper <jackson@ximian.com>
3858
3859         * DataGrid.cs: Display paging controls even when there is no
3860         data. Path by Mohammad DAMT. Fixes bug #51487.
3861         
3862 2003-11-29  Jackson Harper <jackson@ximian.com>
3863
3864         * DataGrid.cs: Call TrackViewState when loading bound columns view
3865         state. So that their state is saved. This fixes bug #51424. Also
3866         set ReadOnly.
3867         
3868 2003-11-26  Jackson Harper <jackson@ximian.com>
3869
3870         * BaseDataList.cs: Change && to || We will call that a typo so no
3871         one gets embarrased.
3872         
3873 2003-11-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3874
3875         * BaseDataList.cs: allow setting null as Datasource.
3876
3877         * DataGrid.cs: keep autogenerated columns in the ViewState.
3878
3879         Patches by Alon Gazit <along@mainsoft.com>.
3880
3881 2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
3882
3883         * SqlDataSource*: Implement almost everything. Data access is
3884         still missing.
3885
3886 2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
3887
3888         * Calendar.cs (SaveViewState):
3889             - We were allocating a 11 item array, we only used 10 items,
3890               so only allocate 10.
3891             - We only need to save the selected dates if there are any.
3892         * DataGrid.cs (SaveViewState):
3893         * DataGridColumn.cs (SaveViewState):
3894         * DataGridColumnCollection.cs (SaveViewState):
3895             - Only return the array if there is anything in it
3896         * Style.cs (SaveViewState):
3897             - Only save the bits if there were changes.
3898         * WebControl.cs (SaveViewState), (LoadViewState):
3899             - Don't save Enabled into the viewstate here, we already
3900               do it in the property. This just caused *EVERY* control
3901               to have a non-null state, taking up lots of extra room
3902               in the ViewState.
3903             - The style will always be created with this control's
3904               viewstate, so the style will always return null for the
3905               viewstate. As such, we do not need to store it. We can
3906               also reduce the triplet to a pair because of this.
3907
3908 2003-11-22  Jackson Harper <jackson@ximian.com>
3909
3910         * ValidationSummary.cs: Fix number of messages and message array computation.
3911
3912 2003-11-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3913
3914         * Xml.cs: Corrected attribute
3915         * XmlBuilder.cs: Added
3916
3917 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3918
3919         * Xml.cs: class status based fixes.
3920
3921 2003-11-19  Jackson Harper  <jackson@ximian.com>
3922
3923         * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
3924         
3925 2003-11-19  Jackson Harper  <jackson@ximian.com>
3926
3927         * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
3928         teh applications base directory. This fixes bug #51092.
3929         
3930 2003-11-18  Todd Berman  <tberman@gentoo.org>
3931
3932         * ControlParameter.cs:
3933         * CookieParameter.cs:
3934         * FormParameter.cs:
3935         * QueryStringParameter.cs:
3936         * SessionParameter.cs: added public .ctor ()
3937         * Parameter.cs: added public .ctor (), internal SetOwnerCollection
3938         and handling, as well as internal ParameterValue for easy access.
3939         NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
3940         * ParameterCollection.cs: implementation redux.
3941
3942 2003-11-18  Todd Berman  <tberman@gentoo.org>
3943
3944         * ParameterCollection.cs: Implemented
3945         * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
3946         ToString () now matches asp.net
3947
3948 2003-11-17 Ben Maurer  <bmaurer@users.sourceforge.net>
3949
3950         * ControlParameter.cs:
3951         * CookieParameter.cs:
3952         * FormParameter.cs:
3953         * Parameter.cs:
3954         * QueryStringParameter.cs: New v2 files. Mostly
3955         implemented, still need a few methods.
3956
3957 2003-11-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3958
3959         * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
3960         Gazit <along@mainsoft.com>.
3961
3962 2003-11-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3963
3964         * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
3965         Patch by Alon Gazit <along@mainsoft.com>.
3966
3967 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
3968
3969         * DataBoundControl.cs: Implement 
3970         * ListControl.cs: inherit from the above.
3971         * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
3972
3973 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
3974
3975         * BaseDataList.cs:
3976         * DataGrid.cs:
3977         * DataList.cs:
3978         * Repeater.cs: add v2 databinding stuff
3979         * XmlDataSource.cs: make it load the xml.
3980
3981 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
3982
3983         * XmlDataSource.cs:
3984         * XmlDataSourceView.cs:
3985         * XmlHierarchicalDataSourceView.cs:
3986         * XmlHierarchicalEnumerable.cs:
3987         * XmlHierarchyData.cs: Implement
3988
3989 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
3990
3991         * SiteMapDataSourceView.cs: Implement.
3992
3993 2003-11-07 Jackson Harper <jackson@ximian.com>
3994
3995         * ImageButton.cs: This is a workaround for bug #49819. It appears
3996         that the .x and .y values are not being posted, and only the x
3997         value is being posted with the ctrl's id as the key.
3998         
3999 2003-11-07 Jackson Harper <jackson@ximian.com>
4000
4001         * DataGrid.cs (CreateControlHierarchy): Current page index is
4002         alolowed to equal page count. This prevents an exception being
4003         thrown when both are zero.
4004         
4005 2003-11-06 Jackson Harper <jackson@ximian.com>
4006
4007         * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
4008         * BaseValidator.cs: Disable base control so the isValid flag is
4009         not reset.
4010         
4011 2003-11-03 Jackson Harper <jackson@ximian.com>
4012
4013         * TemplateColumn.cs: Use the same renderer for selected items as
4014         normal items. This fixes bug #49744.
4015         
4016 2003-11-03 Jackson Harper <jackson@ximian.com>
4017
4018         * DataList.cs:
4019         * WebControl.cs: Fix argument out of range exceptions on
4020         properties. Patch by Yaron Shkop.
4021         
4022 2003-11-03 Jackson Harper <jackson@ximian.com>
4023
4024         * TemplateColumn.cs: If the item is selected but there is no
4025         editItemTemplate use the itemTemplate. This matches MS behvoir.
4026         
4027 2003-11-03 Jackson Harper <jackson@ximian.com>
4028
4029         * Repeater.cs: Always set alternating items to the AlternatingItem
4030         type, when instantiating alternating items use the itemTemplate if
4031         the alternatingItem template is null. This matches MS behavoir and
4032         fixes bug #50157.
4033         
4034 2003-11-03 Jackson Harper <jackson@ximian.com>
4035
4036         * DataGridPagerStyle.cs: Name of view state attribute is
4037         PagerVisible not Visible. Call owner.OnPagerChanged when the pager
4038         visibility is changed. Patch by Yaron Shkop.
4039         
4040 2003-11-03 Jackson Harper <jackson@ximian.com>
4041
4042         * RepeatInfo.cs: When doing horizontal rendering use the repeat
4043         columns as the number of columns in a row. This fixes bug #49016.
4044         
4045 2003-11-03 Jackson Harper <jackson@ximian.com>
4046
4047         * PagedDataSource.cs (PageCount): Return page count of 1 if there
4048         paging is disabled. Patch by Yaron Shkop.
4049         * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
4050         * TableStyle.cs (AddAttributesToRender): Render border style
4051         collapse. Patch by Yaron Shkop.
4052         * TableStyle.cs:
4053         * TableItemStyle.cs:
4054         * DataGridPagerStyle.cs: Call base copy and merge even if style is of
4055         the wrong type. Patch by Yaron Shkop.   
4056         
4057 2003-11-03 Jackson Harper <jackson@ximian.com>
4058
4059         * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
4060         
4061 2003-11-02 Ben Maurer  <bmaurer@users.sourceforge.net>
4062
4063         * BulletStyle.cs:
4064         * BulletedListDisplayMode.cs:
4065         * BulletedListEventHandler.cs:
4066         * BulletedList.cs:
4067         * BulletedListEventArgs.cs: V2 controls (yay!)
4068
4069 2003-10-30 Jackson Harper <jackson@ximian.com>
4070
4071         * Repeater.cs: Throw an exception if the datasource is set to
4072         something that does not implement either IListSource or
4073         IEnumerable. This fixes bug #50155.
4074         
4075 2003-10-30 Jackson Harper <jackson@ximian.com>
4076
4077         * DataGridPagerStyle.cs: Do not allow page button counts to be set
4078         to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
4079         
4080 2003-10-29 Jackson Harper <jackson@ximian.com>
4081
4082         * ButtonColumn.cs: Format string and text to format were
4083         inversed. This fixes bug #50171.
4084         
4085 2003-10-29 Jackson Harper <jackson@ximian.com>
4086
4087         * DataGridColumn.cs: If an item style is set apply it to the
4088         cell. This fixes bug #50173.
4089         
4090 2003-10-29 Ben Maurer  <bmaurer@users.sourceforge.net>
4091
4092         * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
4093         old debugging value.
4094
4095 2003-10-29 Jackson Harper <jackson@ximian.com>
4096
4097         * PagedDataSource.cs:
4098         * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
4099         end of the last page. Fixes bug #5085.
4100         
4101 2003-10-29 Jackson Harper <jackson@ximian.com>
4102
4103         * CheckBox.cs: Do not change the status of a checkbox when there
4104         is no post data. This fixes bug #49091.
4105         * CheckBoxList.cs: Do not change the status of the checkboxes when
4106         there is no post data. This fixes bug #49093.
4107         
4108 2003-10-26 Ben Maurer  <bmaurer@users.sourceforge.net>
4109
4110         * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
4111         RadioButton. Fixes #50132
4112
4113 2003-10-25 Ben Maurer  <bmaurer@users.sourceforge.net>
4114
4115         * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
4116         paging from working. Fixes #48814.
4117
4118 2003-10-25 Ben Maurer  <bmaurer@users.sourceforge.net>
4119
4120         * DataGrid.cs: A few typos kept us from viewing datagrids
4121         that were based on customized collections.
4122
4123 2003-10-24 Ben Maurer  <bmaurer@users.sourceforge.net>
4124
4125         * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
4126
4127 2003-10-23 Ben Maurer  <bmaurer@users.sourceforge.net>
4128
4129         * Calendar.cs: render the next month button so that aligns to the
4130         right.
4131
4132 2003-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4133
4134         * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
4135         was just changing && by || after the first Match.
4136
4137 2003-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4138
4139         * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
4140         Patch by Yaron Shkop.
4141
4142 2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4143
4144         * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
4145         that fixes bug #49744. Now the selection doesn't lose its data.
4146
4147 2003-10-21 Ben Maurer  <bmaurer@users.sourceforge.net>
4148
4149         * EditCommandColumn.cs: Implement; fix #49736
4150
4151 2003-10-21 Ben Maurer  <bmaurer@users.sourceforge.net>
4152
4153         * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
4154         the forground color. bug #49738
4155
4156 2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4157
4158         * Calendar.cs: fixed bug #49727.
4159
4160 2003-10-18 Ben Maurer  <bmaurer@users.sourceforge.net>
4161
4162         * TableStyle.cs: fix #49740.
4163
4164 2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4165
4166         * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
4167         * ValidationSummary.cs: fixes bug #49669.
4168
4169 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4170
4171         * Calendar.cs: apply the calendar style to the new Table, not to itself.
4172         Fixes #49406.
4173
4174         * CheckBox.cs: render the hidden fields if AutoPostBack.
4175
4176         * Style.cs: don't render empty width/height. Small improvement in
4177         CopyFrom.
4178
4179         * Table.cs: fixed condition for border width.
4180
4181         * TableStyle.cs:
4182         (CopyFrom): always call the base class to copy other attributes. Fixes
4183         bug #49408. Don't render empty 'rules' attribute.
4184
4185         * WebControl.cs: track viewstate when enabled. Don't overwrite source
4186         control attributes in CopyBaseAttributes.
4187
4188         * ChangeLog: fixed dates.
4189
4190
4191 2003-10-08  Gaurav Vaish <gvaish_mono AT lycos.com>
4192
4193         * WebControl.cs         : Attributes { get; }       - Is Complete.
4194         * ValidationSummary.cs  : AddAttributesToRender(HtmlTextWriter)
4195                                                             - Completed.
4196
4197 2003-10-08  Gaurav Vaish <gvaish_mono AT lycos.com>
4198
4199         * BaseValidator.cs      : DetermineRenderUplevel()  - Completed.
4200                                 : RegisterValidatorCommonScript()
4201                                                - More code, I need HELP!
4202                                 : RegisterValidatorDeclaration()
4203                                                - More code, I need HELP!
4204
4205 2003-09-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4206
4207         * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
4208         #48802.
4209
4210 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4211
4212         * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and 
4213         ClearViewState only called when no items.
4214
4215 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4216
4217         * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
4218
4219 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4220
4221         * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
4222
4223 2003-09-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4224
4225         * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
4226         Shkop).
4227
4228 2003-09-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4229
4230         * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
4231         Shkop).
4232
4233 2003-09-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4234
4235         * CheckBox.cs: render the 'disabled' attribute in the correct tag.
4236         * WebControl.cs: fixed Enabled property and save it in ViewState.
4237
4238         Fixes bug #48802.
4239
4240 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4241
4242         * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
4243
4244 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4245
4246         * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
4247         bug #48671.
4248
4249 2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4250
4251         * FontInfo.cs: fixed Name property as suggested by Rich Alimi
4252         <rich@velvetsea.net>.
4253
4254 2003-09-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4255
4256         * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
4257         Skripsky <juraj@hotfeet.ch>
4258
4259 2003-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4260
4261         * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
4262         fixes rendering of the end tag.
4263
4264 2003-08-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4265
4266         * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
4267         (Yaron Shkop). Closes bug #48060.
4268
4269 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4270
4271         * CheckBox.cs: in LoadPostData, only return
4272         true when the new data is different from the one we had. Fixed
4273         conditions to save Checked state. Thanks to yaronshkop@hotmail.com
4274         (Yaron Shkop).
4275
4276 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4277
4278         * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
4279
4280 2003-08-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4281
4282         * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
4283         of Enable in ViewState. Fixes bug #47865.
4284
4285 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4286
4287         * Style.cs: the MARKED bit is not send set in ViewState unless something
4288         is changed. Fixed TrackViewState condition.
4289         
4290         * WebControl.cs: save the base ViewState *after* ControlStyle is done,
4291         because it uses the same ViewState as the control. Fixes bug #47725.
4292
4293 2003-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4294
4295         * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
4296         that fixes databinding when only DataTextField or DataNavigateUrlField
4297         is set.
4298
4299 2003-08-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4300
4301         * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
4302         behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
4303         values before assigning a data source and other issues.
4304
4305 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4306
4307         * CheckBox.cs: save viewstate when needed and correctly handle post
4308         data. Fixes bug #47462.
4309
4310 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4311
4312         * ButtonColumn.cs: Removed additional attributes
4313         * CheckBox.cs: Added attribute
4314         * DataGrid.cs: Added attributes
4315         * HyperLinkColumn.cs: Changed attributes, added lamespec
4316         * Style.cs: Removed attributes
4317         * TextBox.cs: Added/ removed attributes
4318
4319 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4320
4321         * AdRotator.cs: Added all attributes
4322         * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
4323         * BaseValidator.cs: Added all attributes
4324         * BoundColumn.cs: Added all attributes
4325         * Button.cs: Added all attributes
4326         * ButtonColumn.cs: Added all attributes, added lamespec
4327         * Calendar.cs: Added all attributes, added error checks, throws more exceptions
4328         * CheckBox.cs: Added all attributes
4329         * CheckBoxList.cs: Added all attributes
4330         * CompareValidator.cs: Added all attributes
4331         * CustomValidator.cs: Added all attributes
4332         * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
4333         * DataGridColumn.cs: Added all attributes
4334         * DataGridColumnCollection.cs: Added all attributes
4335         * DataGridPagerStyle.cs: Added all attributes
4336         * DataGridTableInternal.cs: Made DataGridTableInternal internal
4337         * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
4338         * DropDownList.cs: Added all attributes
4339         * FontInfo.cs: Added all attributes
4340         * HyperLink.cs: Added all attributes
4341         * HyperLinkColumn.cs: Added all attributes
4342         * Image.cs: Added all attributes
4343         * ImageButton.cs: Added all attributes
4344         * Label.cs: Added all attributes
4345         * LinkButton.cs: Added all attributes
4346         * ListBox.cs: Added all attributes, added error checks, throws more exceptions
4347         * ListControl.cs: Added all attributes
4348         * ListItem.cs: Added all attributes
4349         * ListItemCollection.cs: Added attribute
4350         * Literal.cs: Added all attributes
4351         * Panel.cs: Added all attributes
4352         * RadioButton.cs: Added all attributes
4353         * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
4354         * RangeValidator.cs: Added all attributes
4355         * RegularExpressionValidator.cs: Added all attributes
4356         * Repeater.cs: Added all attributes
4357
4358 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4359
4360         * RequiredFieldValidator.cs: Added all attributes
4361         * Style.cs: Added all attributes
4362         * Table.cs: Added all attributes
4363         * TableCell.cs: Added all attributes, added error checks, throws more exceptions
4364         * TableCellCollection.cs: Added attribute
4365         * TableRow.cs: Added all attributes
4366         * TableRowCollection: Added attribute
4367         * TableStyle.cs: Added all attributes, improved error messages
4368         * TemplateColumn.cs: Added all attributes
4369         * TextBox.cs: Added all attributes, added error checks, throws more exceptions
4370         * ValidationSummary.cs: Added all attributes
4371         * WebControl.cs: Added all attributes
4372         * Xml.cs: Added all attributes
4373
4374 2003-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4375
4376         * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
4377         * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
4378
4379 2003-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4380
4381         * CheckBoxList.cs: fixes bug reported on the list about the state of
4382         the CheckButtons not being preserved across posts.
4383
4384 2003-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4385
4386         * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
4387
4388 2003-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4389
4390         * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
4391
4392 2003-06-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4393
4394         * ListControl.cs: save viewstate data when any of the 3 values is not
4395         null. Fixed condition to save selection indices. Closes bug #45493.
4396
4397 2003-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4398
4399         * DataGrid.cs: fixed bug #43823.
4400
4401 2003-05-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4402
4403         * DataGrid.cs: fixed delegate type for SortCommand.
4404
4405 2003-05-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4406
4407         * DataGridColumnCollection.cs: added missing return in RemoveAt.
4408
4409 2003-05-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4410
4411         * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
4412         Don't save ViewState is the number of columns is 0.
4413
4414 2003-05-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4415
4416         * DataGrid.cs: get the right item Type for the property we're reading
4417         fromt the data source.
4418
4419 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4420
4421         * Label.cs:
4422         * TextBox.cs: added control builder attribute.
4423
4424 2003-03-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4425
4426         * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
4427
4428 2003-03-17  George Kodinov <gkodinov@openlinksw.co.uk>
4429
4430         * Unit.cs: Called the correct method to get the Numeric locale for the
4431         double conversion
4432
4433 2003-02-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4434
4435         * ButtonColumn.cs: fixed a couple of infinite loop problems and render
4436         correctly the header of the column.
4437
4438         * DataGridTableInternal.cs: don't assign a default ID to this control.
4439
4440         * LinkButton.cs: raise bubble event in OnCommand.
4441
4442         * TableCellCollection.cs: fixed the index returned by Add.
4443
4444         * TableRowCollection.cs: ditto.
4445
4446 2003-02-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4447
4448         * Xml.cs: don't call MapPathSecure when setting DocumentSource.
4449
4450 2003-02-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4451
4452         * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
4453         for reporting the bug and providing the fix.
4454
4455 2003-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4456
4457         * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
4458         CreateColumnSet. Set the owner of the column when auto generated.
4459         In PrepareControlHierarchyForItem, fixed for loop bound.
4460
4461         * LinkButtonInternal.cs: fixed infinite recursion bug.
4462
4463         Fixes bug #37124.
4464
4465 2003-01-22  Zdravko Tashev <ztashev@openlinksw.co.uk>
4466
4467         * Xml.cs: a few fixes.
4468
4469 2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4470
4471         * DataList.cs: handle the exception when adding new keys to
4472         DataKeysArray.
4473
4474 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4475
4476         * BaseDataList.cs: what can I say for this one? I spent so many time
4477         until I finally found this that I'm gonna miss this f....g bug... ;-).
4478         Farewell. Now we can get events from image buttons inside Data*.
4479
4480         * DataList.cs: now the value stored in ViewState for item count is
4481         correct.
4482
4483 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4484
4485         * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
4486         Header and Footer.
4487         * DataGridColumn.cs: added SetOwner method.
4488         * DataGridColumnCollection.cs: set the owner of the column when added.
4489
4490 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4491
4492         * BoundColumn.cs: typo.
4493         * DataGrid.cs: use 'as' instead of casting. Typo.
4494         * HyperLinkColumn.cs: call OnColumnChanged when any property change.
4495         Mono-stylized.
4496
4497 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4498
4499         * HyperLink.cs: fixes bug #36336.
4500
4501 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4502
4503         * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
4504
4505 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4506
4507         * BaseValidator.cs: return an empty string in GetControlValidationValue
4508         when GetValue returned null.
4509
4510         * CompareValidator.cs: fixed EvaluateIsValid.
4511
4512         * RegularExpressionValidator.cs: fixed EvaluateIsValid.
4513
4514 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4515
4516         * Xml.cs: use MapPathSecure to get the path of the document.
4517
4518 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4519
4520         * DataList.cs: fixed header & footer.
4521
4522 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4523
4524         * DataList.cs: for header and footer don't use data source.
4525         Instantiate in the DataListItem, not in the DataList.
4526         databind-template.aspx works now.
4527
4528 2002-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4529
4530         * BaseDataList.cs:
4531         (Render): call RenderContents (), not base.RenderContents ().
4532
4533         * DataList.cs: style.
4534
4535         But I still haven't found what i'm looking for....
4536
4537 2002-11-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4538
4539         * Calendar.cs: fixed loading/saving selected dates.
4540         * SelectedDatesCollection.cs: added internal function to get the
4541         underlying ArrayList.
4542
4543         Calendar navigation works again. Selecting dates too.
4544
4545 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4546
4547         * DataList.cs: added a few attributes and fixed infinite recursion.
4548
4549 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4550
4551         * ListItemCollection.cs: fixed LoadViewState.
4552
4553 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4554
4555         * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
4556         Commented out some code until it works.
4557
4558 2002-10-29      Gaurav Vaish <gvaish_mono@lycos.com>
4559
4560         * BaseCompareValidator.cs - Fixed operator bug in 
4561                                     Compare(string, string, ...)
4562         * CompareValidator.cs     - EvaluateIsValid()            : Implemented.
4563
4564 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
4565
4566         * BoundColumn.cs        - InitializeCell(TableCell, int, ListItemType)
4567                                                       : Implemented.
4568                                 - All Properties      : Now make use of ViewState.
4569
4570 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
4571
4572         * BaseValidator.cs      - Uncomment NotImplementedException.
4573
4574 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
4575
4576         * BaseValidator.cs      - Minor changes in TODO comments.
4577
4578 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
4579
4580         * BaseValidator.cs      - DetermineRenderUpLevel()       : Uncomment
4581                                   the NotImplementedException being thrown.
4582         * DataGridPagerStyle.cs - Mode { set; }                  : Implemented.
4583         * DataGridLinkButton.cs - Added new class (private)      : Implemented.
4584         * DataGrid.cs           - InitializePager(DataGridItem, int,
4585                                   PagedDataSource)               : Implemented.
4586
4587 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
4588
4589         * DataList.cs          - PrepareControlHierarchy()       : Implemented.
4590
4591 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
4592
4593         * DataList.cs          - RenderContents(HtmlTextWriter)  : Implemented.
4594                                - GetItem(ListItemType, int)      : Removed TODO.
4595                                - CreateControlHierarchy(bool)    : Implemented.
4596                                - CreateItem(int, ListItemType)   : Implemented.
4597                                - CreateItem(int, ListItemType,
4598                                        bool, object)             : Implemented.
4599                                - InitializeItem(DataItem)        : Implemented.
4600         * DataGrid.cs          - CreateControlHierarchy(bool)    : Bug fix.
4601                             The ViewState["_!ItemCount"],
4602                                 ViewState["_!DataSource_ItemCount"]
4603                                   are shared by DataList and DataGrid, and hence
4604                                   should share the same name.
4605                                - ResolveDataSource(object, string)
4606                                      : Removed. Use System.Web.UI.Utils.DataSourceHelper
4607                                        ::GetResolvedDataSource(object, string).
4608
4609
4610 2002-09-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4611
4612         * DataGrid.cs: fixed compilation
4613
4614 2002-09-12      Gaurav Vaish <gvaish_mono@lycos.com>
4615
4616         * PagedDataSource.cs   - FirstIndexInPage : Fixed bug.
4617         * DataGrid.cs          - CreateControlHierarchy(bool)
4618                                     : working towards completion.
4619                                - ResolveDataSource(object, string)
4620                                     : stubbed new method
4621                                - CreateItem(....)
4622                                     : stubbed new method
4623                         Well. It's almost done.
4624         * DataGridTableInternal.cs
4625                                - Added new internal class.
4626
4627 2002-08-28      Gaurav Vaish <gvaish_mono@lycos.com>
4628
4629         * DataSourceInternal.cs       - Added new class (internal).
4630
4631 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4632
4633         * FontUnit.cs:
4634         * HorizontalAlign.cs:
4635         * Unit.cs:
4636         * VerticalAlign.cs: fixes based on class status page.
4637         
4638         * HorizontalAlignConverter.cs: implemented.
4639         * VerticalAlignConverter.cs: implemented.
4640
4641         * FontUnitConverter.cs: implemented GetStandardValues ().
4642
4643         * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
4644
4645 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
4646
4647         * DataGrid.cs                 - AutoCreateColumns: Bug fixes.
4648
4649 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
4650
4651         * DataGrid.cs                 - AutoCreateColumns: completed, hopefully!
4652
4653 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
4654
4655         * DataGrid.cs                 - Working on the undocumented protected
4656                               method CreateColumnSet. AutoCreateColumns method
4657                               stubbed. Left CreateControlHierarchy for the time
4658                               being, looks like I'm going insane. ;-)
4659
4660 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
4661
4662         * Button.cs                   - Steffen's OnCommand bug fix.
4663
4664 2002-08-12      Gaurav Vaish <gvaish_mono@lycos.com>
4665
4666         * DataGrid.cs                 - Added protected method (skeleton)
4667                                         CreateColumnSet(PagedDataSource, bool)
4668                                       Still trying to know how will it be used
4669                                       and what for...
4670
4671 2002-08-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4672
4673         * PagedDataSource.cs: fixed compilation.
4674
4675 2002-08-08      Gaurav Vaish <gvaish_mono@lycos.com>
4676
4677         * DataGrid.cs                 - Added private method
4678                                         CreatePagedDataSource
4679                                       - Started work on
4680                                         CreateControlHierarchy(bool)
4681         * PagedDataSource.cs          - Bug fixed.
4682                                         CurrentPageIndex is writable.
4683
4684 2002-08-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4685
4686         * DataGrid.cs: fixed typo.
4687         * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
4688
4689 2002-08-06      Gaurav Vaish <gvaish_mono@lycos.com>
4690
4691         * DataGridColumn.cs           - Added internal methods to get the
4692                                         various styles (needed in DataGrid.cs)
4693         * DataGrid.cs                 - Completed the method
4694                                         PrepareControlHierarchy()
4695
4696 2002-08-06      Gaurav Vaish <gvaish_mono@lycos.com>
4697
4698         * DataGrid.cs                 - Wokring on PrepareControlHierarchy()
4699                                       - Added private method
4700                              PrepareControlHierarchyForItem()
4701
4702 2002-08-05      Gaurav Vaish <gvaish_mono@lycos.com>
4703
4704         * DataGrid.cs                 - Completed method
4705                              OnBubbleEvent(object, EventArgs)
4706
4707 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4708
4709         * Xml.cs: implemented document/transform load.
4710
4711 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4712
4713         * Calendar.cs: added myself to the list of authors.
4714         * DropDownList.cs: fixed a few properties.
4715         * ListControl.cs: fixed SelectedIndex.
4716
4717 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4718
4719         * Calendar.cs: lots of fixes. Render days.  Still left to persist
4720         selected days when changing month.
4721
4722         * Unit.cs: fixed Percentage and Pixel.
4723
4724         * WebControl.cs: a few properties are now using ControlStyle instead
4725         of ViewState to persist.
4726
4727 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4728
4729         * BaseValidator.cs: it works now.
4730         * DataGridColumn.cs: added attribute and made it abstract.
4731         * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
4732
4733 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4734
4735         * TextBox.cs: default for Wrap is true.
4736         (OnPreRender): don't save Text if there are no listeners on TextChanged.
4737
4738 2002-07-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4739
4740         * DropDownList.cs:
4741         (ToolTip): fixed.
4742
4743         * ListItem.cs:
4744         (LoadViewState): fixed.
4745
4746         * ListItemCollection.cs:
4747         (TrackViewState): use items instead of 'this' in foreach.
4748
4749         * Style.cs:
4750         (LoadViewState): more checking of parameters.
4751
4752         * WebControl.cs: implemented LoadViewState and SaveViewState.
4753         
4754
4755 2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4756
4757         * ListItem.cs: there was no code to unset the flags!!!
4758
4759 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4760
4761         * FontUnit.cs: use a hashtable for mapping size name to value.
4762         * HyperLink.cs: fixed a bug and a typo.
4763         * Unit.cs: some fixes to internal constructor.
4764
4765 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4766
4767         * ListControl.cs: fixed a couple of range checks.
4768         * WebControl.cs: MS lies! Not all WebControls must be rendered inside
4769         an HtmlForm (p.e., Label).
4770
4771 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4772
4773         * AdRotator.cs:
4774         * Button.cs:
4775         * Calendar.cs:
4776         * CheckBox.cs:
4777         * CheckBoxList.cs:
4778         * DataList.cs:
4779         * DropDownList.cs:
4780         * HyperLink.cs:
4781         * HyperLinkColumn.cs:
4782         * Image.cs:
4783         * ImageButton.cs:
4784         * Label.cs:
4785         * LinkButton.cs:
4786         * ListBox.cs:
4787         * Panel.cs:
4788         * PlaceHolder.cs:
4789         * RadioButton.cs:
4790         * RadioButtonList.cs:
4791         * Table.cs:
4792         * TableRow.cs:
4793         * TextBox.cs:
4794         * WebControl.cs: removed attributes added by mistake (i used
4795         GetCustomAttributes (true), d'oh!).
4796
4797         * DataListItem.cs: implemented RenderItem.
4798
4799         * Repeater.cs: implemented CreateItem and InitializeItem.
4800
4801 2002-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4802
4803         * BaseDataList.cs: a couple of fiex and added attributes.
4804         * DataGrid.cs: little fixes.
4805
4806 2002-07-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4807
4808         * CheckBoxList.cs:
4809         * DataGrid.cs:
4810         * DataList.cs:
4811         * DropDownList.cs:
4812         * ListBox.cs:
4813         * PlaceHolder.cs:
4814         * RadioButton.cs:
4815         * RadioButtonList.cs:
4816         * TableRow.cs:
4817         * WebControl.cs:
4818         * Xml.cs: forgot to add using System.ComponentModel.
4819
4820         * BaseValidator.cs: use explicitly 
4821         System.ComponentModel.AttributeCollection as there is another class
4822         with the same name under System.Web.UI.
4823
4824 2002-07-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4825
4826         * AdRotator.cs:
4827         * Button.cs:
4828         * Calendar.cs:
4829         * CheckBox.cs:
4830         * CheckBoxList.cs:
4831         * DataGrid.cs:
4832         * DataList.cs:
4833         * DropDownList.cs:
4834         * HyperLink.cs:
4835         * Image.cs:
4836         * ImageButton.cs:
4837         * Label.cs:
4838         * LinkButton.cs:
4839         * ListBox.cs:
4840         * Panel.cs:
4841         * PlaceHolder.cs:
4842         * RadioButton.cs:
4843         * RadioButtonList.cs:
4844         * Table.cs:
4845         * TableRow.cs:
4846         * TextBox.cs:
4847         * WebControl.cs:
4848         * Xml.cs: added/fixed all attributes used by xsp.
4849
4850         * BaseValidator.cs: some fixes.
4851
4852 2002-07-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4853
4854         * Table.cs:
4855         (AddAttributesToRender): correctly default to border=1.
4856
4857 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4858
4859         * AdRotator.cs:
4860         (LoadAdFile): make the dictionary null after every iteration.
4861
4862         * LinkButton.cs:
4863         * ListControl.cs:
4864         * ListItem.cs: fixed warnings.
4865
4866 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
4867
4868         * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
4869
4870 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4871
4872         * DataGridColumn.cs:
4873         * DataGridPagerStyle.cs:
4874         * DataList.cs:
4875         * DataListItem.cs:
4876         * Image.cs:
4877         * LinkButton.cs:
4878         * ListControl.cs:
4879         * ListItem.cs:
4880         * ListItemCollection.cs:
4881         * Repeater.cs:
4882         * ServerValidateEventArgs.cs:
4883         * Style.cs:
4884         * TableRow.cs:
4885         * WebControl.cs:
4886         * Xml.cs: more class status page based changes.
4887
4888 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4889
4890         * Button.cs:
4891         (.ctor): fixed to render the correct tag.
4892         (IPostBAckEventHandler.RaisePostBackEvent): fixed.
4893
4894 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4895
4896         * WebControl.cs:
4897         (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
4898         WebControl derived classes should be rendered inside a HtmlForm.
4899
4900 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4901
4902         * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
4903         processing methods.
4904
4905 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4906
4907         * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
4908         * RepeatInfo.cs: implemented DoHorizontalRendering.
4909
4910 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4911
4912         * System.Web.UI.WebControls/Repeater.cs:
4913         (Controls):
4914         (OnDataBinding): fixed stack overflow.
4915
4916 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4917
4918         * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
4919         * RepeatInfo.cs: implemented DoHorizontalRendering.
4920
4921 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4922
4923         * WebControl.cs:
4924         (CopyBaseAttributes): copy Attributes and don't throw exception.
4925
4926 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4927
4928         * ListBox.cs: mono-stylized.
4929         (AddAttributesToRender): call parent class method.
4930
4931 2002-06-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4932
4933         * Style.cs: fixed IsEmpty and Width.
4934
4935         * Table.cs: mono-stylized.
4936         (TableRowControlCollection.AddAt): fixed.
4937         (AddAttributesToRender): fixed.
4938         
4939         * TableCell.cs: mono-stylized.
4940         (.ctor): use PreventAutoID.
4941         (AddAttributesToRender): fixed.
4942         (AddParsedSubObject): fixed.
4943
4944         * TableRow.cs: mono-stylized. Added
4945         ParseChildren attribute.
4946
4947         * TableStyle.cs:
4948         (get_GridLine): fixed.
4949
4950 2002-06-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4951
4952         * Panel.cs: fixed stack overflow.
4953         * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
4954         and SingleConverter.
4955
4956 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4957
4958         * RadioButton.cs: mono-stylized and some little fixes.
4959
4960         * TextBox.cs: mono-stylized.
4961         (MaxLength): fixed typo.
4962
4963         (AddAttributesToRender): don't render the text between the tags for
4964         SingleLine, use value attribute for it. Don't render the text for
4965         Password.
4966
4967         (OnPreRender): don't throw exception and call base.OnPreRender.
4968
4969         (Render): for MultiLine, render the text between the opening and
4970         closing tags encoded as HTML.
4971
4972 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4973
4974         * ImageButton.cs:
4975         (AddAttributesToRender): fixer another stack overflow.
4976
4977         * WebControl.cs:
4978         (TagName): modified to use TagKey instead of tagKey as the property
4979         can be overriden.
4980
4981 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4982
4983         * LinkButton.cs: mono-stylized.
4984         (AddParsedSubObject):
4985         (RenderControls): little fixes.
4986
4987         * WebControl.cs:
4988         (AddAttributesToRender): fixed usage of IEnumerator.
4989
4990 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4991
4992         * Literal.cs: beautified.
4993
4994 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4995
4996         * Label.cs: beautified and fixed a couple of 'classic' bugs.
4997
4998         * WebControl.cs: use Span as default tag when no other provided in 
4999         constructor. That is what MS renders.
5000
5001 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5002
5003         * Button.cs:
5004         (AddAttributesToRender): fixed (classic) stack overflow.
5005
5006         * CheckBox.cs: mono-stylized.
5007         (AutoPostBack): fixed stack overflow.
5008         (Render): fixed alignment issues. Also set the For attribute always
5009         for the label.
5010
5011 2002-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5012
5013         * AdRotator.cs: GetData does not work as it should, but now it returns
5014         useful data (only the first ad in the file).  Set the NavigateUrl
5015         property in the hyperlink if available.
5016
5017         * HyperLink.cs: fixed constructor and a couple of stack overflows.
5018
5019         * Image.cs: added an attribute and fixed stack overflow.
5020
5021         * WebControl.cs:
5022         (RenderBeginTag): fixed.
5023         (TagName): don't call Enum.IsDefined twice.
5024
5025 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5026
5027         * WebControl.cs: added attributes PersistChildrenAttribute and 
5028         ParseChildrenAttribute.
5029
5030 2002-05-24  Duncan Mak  <duncan@ximian.com>
5031
5032         * DataGridItem.cs (SetItemType): Changed function signature to
5033         match 1.0 spec.
5034
5035         * ListItemCollection.cs (this): Changes the visibility level of
5036         the indexer.
5037
5038         * Repeater.cs (OnItemCommand):
5039         (OnItemCreated):
5040         (OnItemDataBound): Added necessary casts.
5041
5042 2002-05-07  Duncan Mak  <duncan@ximian.com>
5043
5044         * Button.cs (AddAttributesToRender): 
5045         * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
5046         GetClientValidatedEvent method.
5047
5048 2002-03-27      Gaurav Vaish <gvaish@iitk.ac.in>
5049
5050         * Removed extra methods, corrected access modifiers to several
5051           methods.
5052
5053 2002-03-26      Gaurav Vaish <gvaish@iitk.ac.in>
5054
5055         * <SeveralFiles>.cs        - Added some attributes
5056         * FontUnitConverter.cs     - Added stubs for GetStandardValues*(..)
5057             methods. Will complete them later. Right now, busy with
5058             the attributes part.
5059         * RepeaterItem.cs          - Completed.
5060         
5061          Oh God! Mercy! I will die applying attributes. I look at the missing
5062           part in the class-status - daemon! Kyrie eleison!
5063
5064 2002-03-19      Gaurav Vaish <gvaish@iitk.ac.in>
5065
5066            Some bug fixes
5067
5068         * AdRotator.cs             - Added definition for Font.
5069         * BaseCompareValidator.cs  - Added definition for Controls.
5070         * Calendar.cs              - SelectMonthText definition corrected.
5071         * DataList.cs              - Added definition for SeparatorTemplate.
5072         * BorderStyle.cs           - Namespace correction. It belongs not to UI,
5073                                      but to UI.WebControls.
5074
5075 2002-03-17      Gaurav Vaish <gvaish@iitk.ac.in>
5076
5077         Finally, I have made it. Today I did a second build for the
5078          System.Web assembly. It compiled 195 classes today.
5079         I am waiting eagerly for the runtime to come up so that the objects
5080          may be tested to their last levels. Several of the methods are still
5081          under the tag of "TODO" throwing NotImplementedException. Well, I
5082          hope to remove them soon, but how far is this soon - even I don't
5083          know, though I am happy to make the build a success even before
5084          the vacations to come.
5085
5086 2002-03-07      Gaurav Vaish <gvaish@iitk.ac.in>
5087
5088         Yesterday and today I tried to do some building of the aseembly,
5089          but was dumped with uncoutably infinite errors. ;-)
5090         I have put the copies of the recent errors on my home page, want
5091          to have a look at them? See:
5092           http://mastergaurav.virtualave.net/mono/
5093         I don't know what to do with these errors. Oh! The buggy me! How
5094          will I overcome myself. Hopefully, by when my vacations over, I
5095          should have made a repository where the build will not fail.
5096
5097 2002-03-05      Gaurav Vaish <gvaish@iitk.ac.in>
5098
5099         I am now going to do a build that will include the
5100          System.Web.UI.WebControls namespace. Hoping that I will make it
5101          soon. My exams are coming near and I have to pack up soon.
5102
5103
5104 2002-03-04      Gaurav Vaish <gvaish@iitk.ac.in>
5105
5106 Comments:
5107         And with this, ie, today's work, all the objects mentioned in the
5108         namespace appear in the implementation. But it may not be worth
5109         trying to go for a build because of dependence of several of the
5110         internal methods that may clash with already available assembly
5111         System.Web.
5112         
5113         Also, the classes lack possible attributes, like those informing
5114         about child-controls etc. But I have to first create the attribute
5115         classes before I attach the attributes to the classes.
5116
5117         * CustomValidator.cs          - Completed. In process realized that
5118                      I have to complete / rejuvinate BaseValidator class.
5119         * BaseValidator.cs            - Complete rejuvination. Completed 80%
5120                     of the job. All that is left is Render(HtmlTextWriter),
5121                     DetermineRenderUplevel(), RegisterValidatorCommonScript()
5122                     RegisterValidatorDeclaration()
5123         * DataGridPagerStyle.cs       - Completed. That adds one more missle
5124                     in my artillery.
5125         * DataKeyCollection.cs        - Completed. Petty small.
5126         * Repeater.cs                 - Work started off. This is a quite
5127                     heavy class. Hooh!
5128         * DataGridItemEventArgs.cs,
5129         * DataGridShortCommandEventArgs.cs,
5130         * DataListItemEventArgs.cs,
5131         * MonthChangedEventArgs.cs,
5132         * RepeaterItemEventArgs.cs,
5133         * ServerValidateEventArgs.cs,
5134         * DataGridPageChangedEventArgs.cs
5135                                       - Damn, I marked them "*", while they
5136                     did not exist.
5137         * Repeater.cs                 - Done all except for an undocumented
5138                     method CreateControlHierarchy(bool). Though the method
5139                     is quite clear by its name, but it will take some time
5140                     for me to come with some material to flush in.
5141
5142 2002-03-03      Gaurav Vaish <gvaish@iitk.ac.in>
5143
5144         * SelectedDatesCollection.cs  - Completed.
5145         * PagedDataSource.cs          - Completed. Pathetically nice class.
5146         * RegularExpressionValidator.cs
5147                                       - Completed. Ridiculously small and
5148                     annoyinglyc crazy-driving class, basically the method
5149                     EvaluateIsValid().
5150         * RangeValidator.cs           - Completed.
5151         * DataGridColumn.cs           - Completed.
5152         * EditCommandColumn.cs        - All is complete except for the
5153                     InitializeCell(TableCell, int, ListItemType) method.
5154         * DataListItem.cs             - All done except for a longish method
5155                     RenderItem(HtmlTextWriter, bool, bool)
5156
5157 2002-03-02      Gaurav Vaish <gvaish@iitk.ac.in>
5158
5159         * RepeaterItemCollection.cs   - Completed.
5160                     I love *Collection classes. I am planning to make a
5161                     program that will generate a *Collection class. It's so
5162                     simple and the same. ;-)
5163         * DataGridColumnCollection.cs - Completed.
5164                     ... except probably for *ColumnCollection classes, where
5165                     you have to put in some more effort. Still, these class
5166                     generation can be automated.
5167         * DataListItemCollection.cs   - Completed.
5168                     See, how easily, in less than a quarter of a minute, I
5169                     completed this class - manually. Copy-Paste/Cut-Replace.
5170
5171 2002-02-21      Gaurav Vaish <gvaish@iitk.ac.in>
5172
5173         * DataGrid.cs                 - Following methods implemented:
5174                     TrackViewState(), LoadViewState(object), SaveViewState(),
5175                     On* -- The event raisers.
5176                     OnBubbleEvent(object, EventArgs) is still incomplete.
5177         * DataGridItem.cs             - Initial Implementation
5178         * DataGridItemCollection.cs   - Completed.
5179
5180 2002-02-08      Gaurav Vaish <gvaish@iitk.ac.in>
5181
5182         * DataGrid.cs                 - Initial Implementation. Worked
5183                     primarily with some properties.
5184
5185 2002-02-07      Gaurav Vaish <gvaish@iitk.ac.in>
5186
5187         * ListBox.cs                  - Completed. Implemented
5188                    LoadPostData(string, NameValueCollection)
5189         * RequiredFieldValidator.cs   - Completed. Pretty simple class.
5190
5191 2002-02-06      Gaurav Vaish <gvaish@iitk.ac.in>
5192
5193         * ListBox.cs                  - Implemented the following:
5194                    RaisePostDataChangedEvent()
5195
5196 2002-02-02      Gaurav Vaish <gvaish@iitk.ac.in>
5197
5198         * ListBox.cs                  - Supports the following properties:
5199                    BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
5200                    ToolTip.
5201                   Methods:
5202                    AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
5203                    RenderContents(HtmlTextWriter)
5204
5205
5206 2002-02-01      Gaurav Vaish <gvaish@iitk.ac.in>
5207
5208         * TargetConverter.cs          - Completed
5209         * TemplateColumn.cs           - Completed
5210         * DataList.cs                 - Corrected the get-er methods for the
5211                  *Style objects. Corrected the get/set-er methods for ViewState
5212                    related objects.
5213                  Addded support for properties:
5214                    GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
5215                    RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
5216                    SelectedItem, SelectedItemStyle, SelectedItemTemplate,
5217                    SeparatorStyle, SeparatorItemTemplate.
5218                  Events:
5219                    CancelCommand, DeleteCommand, EditCommand, ItemCommand,
5220                    ItemCreated, ItemDataBound, UpdateCommand.
5221                  Methods:
5222                    CreateControlStyle(), LoadViewState(object),
5223                    SaveViewState(), TrackViewState
5224                  Event handlers:
5225                    OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
5226                    OnEditCommand, OnItemCommand, OnItemCreated,
5227                    OnItemDataBound, OnUpdateCommand
5228                  Added dummy methods for some undocumented methods:
5229                    CreateControlHierarchy(bool), CreateItem(int, ListItemType),
5230                    CreateItem(int, ListItemType, bool, object),
5231                    PrepareControlHierarchy(), InitializeItem(DataListItem)
5232         * ListBox.cs                  - Started working.
5233
5234
5235
5236 2002-01-31      Gaurav Vaish <gvaish@iitk.ac.in>
5237
5238         * RepeaterInfo.cs             - Initial Implementation. Done all
5239                                         except for RepeatDirection.Vertical
5240         * TableStyle.cs               - Completed
5241
5242 2002-01-30      Gaurav Vaish <gvaish@iitk.ac.in>
5243
5244         * DropDownList.cs             - Completed
5245         * ListItemCollection.cs       - Added method FindByValueInternal to
5246                                         assist in the derived classes.
5247                                         Discovered bug in FindByValue. Removed
5248         * UnitConverter.cs            - Completed
5249         * PlaceHolder.cs              - What can be simpler than this?
5250         * PlaceHolderControlBuilder.cs
5251                                       - Uh! Damn cool one.
5252         * RadioButtonList.cs          - Initial Implementation. All is done
5253                                         except for the implementation of
5254                                         method IRepeatInfoUser.RenderItem(...)
5255         * ValidatedControlConverter.cs
5256           ^^^^^^^^^^^^^^^^^^^^^^^^^   - Looks complete. Doubtful though !!
5257         * ValidationSummary.cs        - Initial Implementation.
5258         * WebColorConverter.cs        - Initial Implementation
5259
5260 2002-01-27      Gaurav Vaish <gvaish@iitk.ac.in>
5261
5262         * FontNamesConverter.cs       - Completed
5263         * FontUnitConverter.cs        - Partial Implementation
5264         * ListItemControlBuilder.cs   - Completed
5265
5266 2002-01-27      Gaurav Vaish <gvaish@iitk.ac.in>
5267
5268         * TextBox.cs                  - All done except *Render* methods
5269         * TextBoxControlBuilder.cs    - Completed
5270         * Xml.cs                      - Partial Implementation
5271
5272 2002-01-26      Gaurav Vaish <gvaish@iitk.ac.in>
5273
5274         * RadioButton.cs              - Completed
5275         * TextBox.cs                  - Partial Implementation
5276
5277 2002-01-25      Gaurav Vaish <gvaish@iitk.ac.in>
5278
5279         * Panel.cs                    - Completed
5280         * TableItemStyle.cs           - Completed
5281
5282 2002-01-18      Gaurav Vaish <gvaish@iitk.ac.in>
5283
5284         * TableCellCollection.cs      - Completed
5285         * TableRowCollection.cs       - Completed
5286         * TableHeaderCell.cs          - Completed
5287         * TableRow.cs                 - Completed
5288
5289 2002-01-09      Gaurav Vaish <gvaish@iitk.ac.in>
5290
5291         * TableCellControlBuilder.cs  - Completed
5292         * Table.cs                    - Completed
5293         * TableCell.cs                - Completed
5294
5295 2002-01-07      Gaurav Vaish <gvaish@iitk.ac.in>
5296
5297         * CheckBoxList.cs             - Completed
5298         * ButtonColumn.cs             - Completed
5299         * Button.cs                   - Completed
5300
5301 2001-12-28      Gaurav Vaish <gvaish@iitk.ac.in>
5302
5303         * HyperLink.cs                - Completed
5304         * Image.cs                    - Completed
5305         * ImageButton.cs              - Completed
5306         * Label.cs                    - Completed
5307         * LabelControlBuilder.cs      - Completed
5308         * LinkButton.cs               - Completed
5309         * LinkButtonControlBuilder.cs - Completed
5310         * Literal.cs                  - Completed
5311         * LieteralControlBuilder.cs   - Completed
5312         * FontUnit.cs                 - Completed
5313
5314
5315 2001-12-27      Gaurav Vaish <gvaish@iitk.ac.in>
5316
5317         * Calendar.cs                 - Completed the functions of Render*,
5318                                         ViewStates (Track/View/Save),
5319                                         RaisePostBackEvent.
5320                                         Left: RenderAllDays (partially)
5321
5322 2001-12-21      Gaurav Vaish <gvaish@iitk.ac.in>
5323
5324         * Calendar.cs                 - Added some more functions
5325         * Style.cs                    - Completed
5326         * ListItem.cs                 - Completed
5327         * ListItemCollection.cs       - Completed
5328
5329   Made the first successful build of System.Web.dll that included
5330   System.Web.UI.WebControls!
5331
5332 2001-12-20      Gaurav Vaish <gvaish@iitk.ac.in>
5333
5334         FontInfo.cs                 - Complete revamp. Completed
5335
5336 2001-12-19      Gaurav Vaish <gvaish@iitk.ac.in>
5337
5338         ListItemCollection.cs       - Completed
5339         ListItem.cs                 - Initial Implementation
5340         Style.cs                    - Initial Implementation
5341
5342   Right now I am in a total mood to do a successful build. Creating so many
5343   classes, completing classes in System.Web System.Web.UI namespaces.
5344
5345 2001-12-18      Gaurav Vaish <gvaish@iitk.ac.in>
5346
5347         TODO                        - Properly added
5348         CheckBox.cs                 - Completed
5349         BaseDataList.cs             - Completed
5350         DayRenderEventArgs.cs       - Completed
5351         RepeaterItem.cs             - Initial implementation
5352
5353 2001-12-17      Gaurav Vaish <gvaish@iitk.ac.in>
5354
5355         BaseCompareValidator.cs     - Completed
5356         AdRotator.cs                - Completed
5357
5358 2001-12-15      Gaurav Vaish <gvaish@iitk.ac.in>
5359
5360         CommandEventArgs.cs         - Completed
5361         DataGridCommandEventArgs.cs - Completed
5362         RepeaterCommandEventArgs.cs - Completed
5363         DataListCommandEventArgs.cs - Completed
5364         CompareValidator.cs         - Partial Implementation
5365
5366 2001-12-02      Gaurav Vaish <gvaish@iitk.ac.in>
5367
5368         CheckBoxList.cs            - Partial Implementation.
5369                                      All except "Render"
5370
5371 2001-12-01      Gaurav Vaish <gvaish@iitk.ac.in>
5372
5373         ListControl.cs             - Completed
5374
5375 2001-11-30      Gaurav Vaish <gvaish@iitk.ac.in>
5376
5377         CheckBox.cs                - Completed
5378         ListControl.cs             - Initial Implementation
5379         CheckBoxList.cs            - Started with it, but first needed
5380                                      ListControl. Left it.
5381
5382 2001-11-29      Gaurav Vaish <gvaish@iitk.ac.in>
5383
5384         CalendarDay.cs             - Making a note that this
5385                                      has been implemented
5386         Calendar.cs                - Making a note that have made some changes.
5387                                      Unimplmented functions throw
5388                                      NotImplementedException
5389         CheckBox.cs                - Can now "Render" and "LoadPostData"
5390
5391
5392 2001-11-08      Gaurav Vaish <gvaish@iitk.ac.in>
5393         WebControl.cs              - Total Revamp, Partial Implementation
5394         AdRotator.cs               - Able to load files
5395         AdCreatedEventArgs.cs      - Implemented
5396
5397 2001-11-05      Gaurav Vaish <gvaish@iitk.ac.in>
5398         Calendar.cs                - Initial Implementation
5399         ButtonColumn.cs            - Initial Implementation
5400         Button.cs                  - Initial Implementation
5401         BoundColumn.cs             - Initial Implementation
5402         BaseCompareValidator.cs    - Minor Changes
5403         DataList.cs, BaseValidator.cs, BaseDataList.cs
5404                                    - Added more functions, other changes
5405         
5406 2001-10-28      Gaurav Vaish <gvaish@iitk.ac.in>
5407         WebControl.cs              - Initial Implementation
5408         DataList.cs                - Initial Implementation
5409         BaseValidator.cs           - Initial Implementation
5410         BaseDataList.cs            - Initial Implementation
5411
5412 2001-10-27      Gaurav Vaish <gvaish@iitk.ac.in>
5413
5414         AdCreatedEventArgs.cs      - Initial Implementation
5415         AdCratedEventHandler.cs    - Implemented
5416         AdRotator.cs               - Initial Implementation
5417         BorderStyle.cs             - Implemented
5418         ButtonColumnStyle.cs       - Implemented
5419         CalendarSelectionMode.cs   - Implemented
5420         DayNameFormat.cs           - Implemented
5421         FirstDayOfWeek             - Implemented
5422         FontInfo.cs                - Partial Implementation
5423         FontSize.cs                - Implemented
5424         GridLines.cs               - Implemented
5425         HorizontalAlign.cs         - Implemented
5426         HyperLink.cs               - Initial Implementation
5427         ImageAlign.cs              - Implemented
5428         IRepeatInfoUser.cs         - Implemented
5429         ListItemType.cs            - Implemented
5430         ListSelectionMode.cs       - Implemented
5431         NextPrevFormat.cs          - Implemented
5432         PagerMode.cs               - Implemented
5433         PagerPosition.cs           - Implemented
5434         RepeatDirection.cs         - Implemented
5435         RepeatLayout.cs            - Implemented
5436         TextAlign.cs               - Implemented
5437         TextBoxMode.cs             - Implemented
5438         TitleFormat.cs             - Implemented
5439         UnitType.cs                - Implemented
5440         ValidationCompareOperator.cs
5441                                    - Implemented
5442         ValidationDataType.cs      - Implemented
5443         ValidationSummaryDisplayMode.cs
5444                                    - Implemented
5445         ValidatorDisplay.cs        - Implemented
5446         VerticalAlign.cs           - Implemented
5447
5448
5449
5450 i/ File Created 2001-11-13