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