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