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