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