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