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