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