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