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