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