2010-07-16 Marek Habersack <mhabersack@novell.com>
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / ChangeLog
1 2010-07-16  Marek Habersack  <mhabersack@novell.com>
2
3         * Login.cs: implemented RenderOuterTable (4.0)
4
5         * FormViewRow.cs: added internal property RenderJustCellContents
6         which makes the control render only its children (4.0)
7
8         * FormView.cs: implemented RenderOuterTable property and the
9         ModifiedOuterTableStylePropertyName method (4.0)
10
11 2010-07-15  Marek Habersack  <mhabersack@novell.com>
12
13         * WebControl.cs: implemented verifying that no inline style
14         property is set for controls which support the RenderOuterTable
15         property (4.0)
16
17         * IRenderOuterTable.cs: internal helper interface for controls
18         which support the RenderOuterTable property (for now only
19         ChangePassword, 3 more to come)
20
21         * ChangePassword.cs: implemented RenderOuterTable property and the
22         corresponding behavior of not rendering surrounding table when the
23         property is set to false (4.0).
24         Modified BaseChangePasswordContainer to not inherit from Table
25         anymore. Table is an instance variable (always used as the
26         template container in 2.0) which is optionally (and by default)
27         used to contain the templates.
28
29         * PlaceHolder.cs, View.cs, WizardStepBase: added EnableTheming
30         property
31
32         * MultiViewControlBuilder.cs: added
33
34 2010-07-14  Marek Habersack  <mhabersack@novell.com>
35
36         * Menu.cs: fixed skip link rendering (no child controls are added
37         in the process, writing directly to HtmlTextWriter). Fixes tests
38         for 4.0
39         If StaticSubMenuIndent equals Unit.Empty on 4.0, default to using
40         16px as the value of the margin-left CSS attribute.
41
42 2010-07-13  Marek Habersack  <mhabersack@novell.com>
43
44         * BoundField.cs: implemented HtmlEncodeFormatString property
45         (3.5+) and modified the way FormatDataValue works accordingly.
46
47         * ListBox.cs, CheckBoxList.cs, ListControl.cs: VerifyMultiSelect
48         is not part of the official API. MultiSelect capability validation
49         is performed using an internal virtual method MultiSelectOk ().
50
51         * BaseDataList.cs: OnPagePreLoad is not part of the official API
52
53         * BaseDataBoundControl.cs, BaseDataList.cs, DataListItem.cs,
54         ValidationSummary.cs: implemented 4.0 SupportsDisabledAttribute
55         property.
56
57         * Wizard.cs: wizard table doesn't contain any instances of
58         HtmlAnchor or Image controls. Moved rendering of the skip link
59         anchor to the TableCellNamingContainer class, which does that in
60         RenderChildren by directly writing to the passed writer. Fixes 4.0
61         rendering and all the failing Wizard tests.
62
63 2010-07-08  Marek Habersack  <mhabersack@novell.com>
64
65         * CheckBoxList.cs: RepeatLayout property update for new values of
66         the RepeatLayout enum in 4.0
67
68         * TreeView.cs: in 4.0, checkbox renders the value of the current
69         node's ToolTip, if anything, and not Text.
70
71         * RepeatLayout.cs: added two new members, UnorderedList and
72         OrderedList (4.0)
73
74         * ImageMap.cs: implemented missing Enabled property (2.0+)
75         RaisePostBackEvent must be protected and virtual (2.0+)
76         NavigateUrl is ignored if the control is disabled (4.0)
77
78 2010-07-07  Marek Habersack  <mhabersack@novell.com>
79
80         * TreeView.cs: 4.0 rendering changes.
81         When using registered CSS classes, the node style must use them in
82         reverse order.
83
84 2010-07-06  Marek Habersack  <mhabersack@novell.com>
85
86         * HyperLink.cs: the associated image is not rendered using the
87         Image control.
88
89 2010-07-02  Marek Habersack  <mhabersack@novell.com>
90
91         * Menu.cs: 4.0 API updates.
92
93         * GridView.cs: implemented 4.0 properties -
94         SortedAscendingCellStyle, SortedAscendingHeaderStyle,
95         SortedDescendingCellStyle, SortedDescendingHeaderStyle,
96         ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
97         along with associated rendering changes.
98
99         * DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
100         renamed ShowPage to SetPageIndex and made it public.
101         Added 4.0 interfaces to inheritance list and implemented them.
102
103         * DataKeyArray.cs: added internal constructor which accepts IList
104         instead of ArrayList. Changed the 'keys' field type to IList.
105
106         * ContainedTable.cs: the 'id' attribute must be rendered last.
107
108         * CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
109         TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.
110
111         * Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
112         Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
113         Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
114         added new 4.0 property, SupportsDisabledAttribute.
115
116 2010-06-21  Marek Habersack  <mhabersack@novell.com>
117
118         * BaseValidator.cs, BulletedList.cs, Calendar.cs, CheckBox.cs,
119         CheckBoxList.cs, DataGrid.cs, DropDownList.cs, GridView.cs,
120         HyperLink.cs, ImageButton.cs, LinkButton.cs, ListBox.cs,
121         ListControl.cs, Menu.cs, RadioButton.cs, RadioButtonList.cs,
122         RepeatInfo.cs, Repeater.cs, TextBox.cs, TreeView.cs,
123         ValidationSummary.cs, WebControl.cs: use WebControl.IsEnabled
124         instead of Enabled wherever necessary.
125
126 2010-06-16  Marek Habersack  <mhabersack@novell.com>
127
128         * FormView.cs: row values must be retrieved with inclusion of
129         keys. Fixes bug #607722
130
131 2010-06-03  Marek Habersack  <mhabersack@novell.com>
132
133         * Parameter.cs, ControlParameter.cs, SessionParameter.cs,
134         CookieParameter.cs, FormParameter.cs, ProfileParameter.cs,
135         QueryStringParameter.cs: Evaluate is 'protected internal virtual'
136         in 4.0.
137
138         * RouteParameter.cs: implemented.
139
140 2010-04-28  Marek Habersack  <mhabersack@novell.com>
141
142         * CheckBoxList.cs: do not modify list item status in LoadPostData
143         when the list control is disabled.
144         If an item is selected and it was unchecked by the user, deselect
145         it. Fixes bug #600415
146
147 2010-04-13  Marek Habersack  <mhabersack@novell.com>
148
149         * GridView.cs: make sure Header and Footer visibility are set when
150         binding the data. Fixes bug #595567
151
152         * ImageField.cs, CheckBoxField.cs: OnDataBindField must expect
153         sender to be something else than DataControlFieldCell. Fixes bug
154         #595568
155
156 2010-04-07  Marek Habersack  <mhabersack@novell.com>
157
158         * FormParameter.cs, CookieParameter.cs, ProfileParameter.cs,
159         QueryStringParameter.cs, SessionParameter.cs: implemented
160         constructor overloads which take DbType as one of the arguments.
161
162 2010-04-01  Marek Habersack  <mhabersack@novell.com>
163
164         * FormView.cs: do not show the pager if PagerSettings.Visible is
165         false. Fixes bug #578863
166
167 2010-03-29  Marek Habersack  <mhabersack@novell.com>
168
169         * GridView.cs: main table must be created and added to the
170         controls collection before any OnRowCreated event is fired.
171
172 2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
173
174         * TreeView.cs: use enums instead of strings for attributes.
175
176 2010-03-06  Marek Habersack  <mhabersack@novell.com>
177
178         * XmlDataSource.cs: reload document when one of Data, DataFile,
179         Transform or TransformFile properties is set. Fixes bug
180         #585968. Fix based on patch from Jeffrey Alvarez
181         <kuritsu@gmail.com>, thanks.
182
183 2010-02-19  Marek Habersack  <mhabersack@novell.com>
184
185         * SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781
186
187 2010-02-18  Marek Habersack  <mhabersack@novell.com>
188
189         * ListItemCollection.cs: ItemsEnabled and associated code removed
190         - there's no need to alter ListItem's Enabled property when
191         loading view state.
192
193         * ListControl.cs: SaveViewState doesn't set the items collection's
194         ItemsEnabled property as it was removed from ListItemCollection
195
196         * CheckBoxList.cs: LoadPostData never unselects any item. A better
197         fix for bug #377703
198         RenderItem renders items as disabled when Enabled is false, but if
199         Enabled is true, item is rendered according to the value of its
200         own Enabled property. Fixes bug #578770
201
202         * TreeView.cs: RegisterStyle must copy CssClass in addition to
203         other style properties. Fixes bug #580692
204
205 2010-01-18  Marek Habersack  <mhabersack@novell.com>
206
207         * Parameter.cs: added missing 3.5 APIs - constructors taking
208         DbType as one of the parameters, ConvertDbTypeToTypeCode,
209         ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
210
211 2010-01-15  Marek Habersack  <mhabersack@novell.com>
212
213         * ChangePassword.cs: BaseChangePasswordContainer forwards
214         EnsureChildControls call to its owner, so that finding controls in
215         the container works correctly.
216
217 2009-11-30  Marek Habersack  <mhabersack@novell.com>
218
219         * WebControl.cs: HasAttributes made available as internal for 1.1
220         Avoid calling the Attributes getter many times in
221         CopyBaseAttributes.
222         If TrackViewState is called and attributes state bag already
223         exists, mark all items in the latter as dirty.
224
225         * CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
226         create the Attributes collection if not necessary.
227
228 2009-11-16  Marek Habersack  <mhabersack@novell.com>
229
230         * TreeNodeCollection.cs: whenever a node is added, let the owner
231         know about it.
232
233         * TreeNode.cs: added internal property HadChildrenBeforePopulating
234         which is used to let TreeView know about an error condition where
235         a populate-on-demand node contains children added outside the
236         OnTreeNodePopulate event
237
238         * TreeView.cs: if a node has any child nodes and PopulatOnDemand
239         is set, throw an exception from RenderNode. This is the behavior
240         of .NET
241
242 2009-11-13  Marek Habersack  <mhabersack@novell.com>
243
244         * TableRowCollection.cs: added .NET compatibility NREX throws to
245         several methods.
246         Whenever a row is added/removed, its Container property is
247         set. Fixes bug #551666
248
249         * TableRow.cs: introduced an internal property, Container, which
250         is set by TableRowCollection whenever this row is added/removed
251         to/from the collection. This allows the row to notify the
252         collectio and, in consequence, collection owner that TableSection
253         has been set and thead/tbody/tfoot elements need to be
254         generated. Fixes bug #551666
255
256 2009-11-10  Marek Habersack  <mhabersack@novell.com>
257
258         * PasswordRecovery.cs:
259         {Question,Success,UserName}TemplateContainer must all be populated
260         the first time the property is accessed, so that calling
261         FindControl on the container returns valid and expected
262         results. If the associated template is not defined, though,
263         populating is postponed till CreateChildControls is called -
264         that's where default, empty, template will be created. This is
265         required to fix YetAnotherForum's password recovery control.
266         Mail template used in SendPasswordByMail must match the one used
267         in .NET (it has to end with a newline) as YAF parses the message
268         to retrieve user name and password and breaks if the last line
269         doesn't end with a newline character.
270
271 2009-10-30  Marek Habersack  <mhabersack@novell.com>
272
273         * PasswordRecovery.cs: mail message replacements should include <%
274         Password %> and <% UserName %> and matching should be
275         case-insensitive. Fixes bug #545370
276
277 2009-10-28  Marek Habersack  <mhabersack@novell.com>
278
279         * ListControl.cs: OnDataBinding must call base implementation
280         before performing the binding, so that DataSource can be assigned
281         from within the handler.
282
283 2009-10-13  Marek Safar  <marek.safar@novell.com>
284
285         * WebColorConverter.cs: Delegate ConvertFrom to
286         ColorTranslator.FromHtml, it is correctly implemented and knows
287         many more tricks.
288
289 2009-10-13  Marek Habersack  <mhabersack@novell.com>
290
291         * WebColorConverter.cs: don't use a dictionary to check for valid
292         color names, use Color.IsKnownColor instead. Update for bug
293         #546173 fix.
294         Added more CSS2 color name mappings.
295
296 2009-10-12  Marek Habersack  <mhabersack@novell.com>
297
298         * WebColorConverter.cs: when converting from color name, check if
299         the returned color's name is a member of the
300         System.Drawing.KnownColor enumeration to test for error condition,
301         as some colors might be #000000. Preserve the old error check as a
302         fallback only. 
303         Map "captiontext" and "background" color names to
304         "ActiveCaptionText" and "Desktop", respectively, before passing
305         them to Color.FromName (). Fixes bug #546173
306
307 2009-10-02  Marek Habersack  <mhabersack@novell.com>
308
309         * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
310         and IPersistedSelector.DataKey.
311
312         * BaseDataBoundControl.cs: slight optimizations to FindDataSource
313
314 2009-09-28  Marek Habersack  <mhabersack@novell.com>
315
316         * DataBoundControl.cs: Initialize sets RequiresDataBinding
317         properly, only when we're not data-bound already, when we aren't
318         in postback or when we are in postback, but with viewstate
319         enabled. Fixes bug #542076
320
321 2009-09-01  Marek Habersack  <mhabersack@novell.com>
322
323         * ObjectDataSourceView.cs: ExecuteSelect must call
324         QueryTotalRowCount after executing the select method (that's what
325         .NET does)
326
327 2009-08-25  Marek Habersack  <mhabersack@novell.com>
328
329         * WebColorConverter.cs: inform the user that the might need to
330         check if libgdiplus is installed when parsing a color name
331         fails. Fixes bug #533749
332
333 2009-08-21  Marek Habersack  <mhabersack@novell.com>
334
335         * Menu.cs: separator image is rendered next to the item in
336         horizontal layout and is preceeded by 3px spacer (unless
337         itemSpacing is set) to make output match .NET. Fixes bug #474716
338
339         * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
340         type of the node, if node is a of a custom type. Fixes bug #475997
341
342 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
343
344         * Parameter.cs: add new DbType property.
345
346 2009-06-16  Marek Habersack  <mhabersack@novell.com>
347
348         * IPersistedSelector.cs: removed AspNetHostingPermission
349         attributes from the 4.0 profile.
350
351         * IDataBoundControl.cs, IDataBoundItemControl.cs,
352         IDataBoundListControl.cs, IFieldControl.cs: added
353
354         * DetailsView.cs: control implements 4.0 IDataBoundItemControl
355         interface.
356
357         * DataBoundControl.cs: implemented 4.0 property DataSourceObject
358         (internal for 2.0) and made the InternalPerformDataBinding method
359         internal for the 4.0 profile.
360
361 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
362
363         * ContentControlBuilderInternal.cs: detect missing
364         ContentPlaceHolderID attribute when parsing instead of throwing a
365         nullref later on.
366
367 2009-05-29  Marek Habersack  <mhabersack@novell.com>
368
369         * ListItem.cs: when tracking view state is turned on after
370         attributes have been set, make sure that the associated state bag
371         begins tracking state and that all of its existing items are
372         marked as dirty. Do the same after loading view state. Fixes bug
373         #507836
374
375 2009-04-29  Marek Habersack  <mhabersack@novell.com>
376
377         * DataBoundControl.cs: added InternalGetDataSource method, used by
378         DynamicData
379
380 2009-04-28  Marek Habersack  <mhabersack@novell.com>
381
382         * GridView.cs: implemented ColumnsGenerator and enabled its use in
383         CreateColumns.
384
385         * DetailsView.cs: implemented the RowsGenerator property and
386         enabled its use in CreateFieldSet.
387
388 2009-04-07  Marek Habersack  <mhabersack@novell.com>
389
390         * TreeView.js: removed nodeText parameter from the JS calls.
391
392         * TreeView.cs: encode | characters into U+007C, so that
393         RaiseCallbackEvent doesn't get confused.
394         Removed nodeText parameter from the JS calls.
395
396 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
397
398         * TreeNode.cs: reset the path data for all child nodes too.
399         * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
400         node tree, set the correct index for the nodes so that the Path is
401         correct.
402
403 2009-04-06  Marek Habersack  <mhabersack@novell.com>
404
405         * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
406         full definition of treeview's node contents.
407         Added new function, TreeView_PopulateNode, which partially takes
408         over role of the PopulateNode function generated in
409         TreeView.OnPreRender (see below). Fixes bug #492307
410
411         * TreeView.cs: RaiseCallbackEvent needs to recreate the event
412         target's parental tree all the way from the root to the node and
413         populate only the leaf (requested) node. This avoids calling the
414         TreeNodePopulate handler more times than needed. Fixes bug #492307
415         OnPreRender: moved the script code to constants and the script
416         body is now generated using StringBuilder instead of a series of
417         String.Format calls.
418         GetClientExpandEvent: adjusted code for new TreeView JavaScript
419         API.
420
421 2009-03-17  Marek Habersack  <mhabersack@novell.com>
422
423         * Unit.cs: introduced a field to tell the difference between empty
424         (as in Unit.Empty) and 0px units.
425
426 2009-03-06  Marek Habersack  <mhabersack@novell.com>
427
428         * WebControl.cs: if savedState is not an instance of Pair in
429         LoadViewState, do not attempt to load from it.
430
431 2009-02-10  Marek Habersack  <mhabersack@novell.com>
432
433         * ImageButton.cs: AddAttributesToRender renders the onclick
434         attribute only if any of the following is true:
435           - OnClientClick is not empty
436           - Validation is enabled for the control
437           - PostBackUrl is used
438         PostBackOptions now indicate that control requires the javascript
439         protocol for the handler.
440         RaisePostBackEvent passes String.Empty as the argument.
441         Fixes bug #463939
442
443 2009-02-09  Marek Habersack  <mhabersack@novell.com>
444
445         * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
446         array of objects containing the result, if the result isn't one of
447         DataSet, DataTable or IEnumerable. Fixes bug #471767
448
449 2009-02-06  Marek Habersack  <mhabersack@novell.com>
450
451         * Style.cs: if CssClass is null, return String.Empty. Fixes bug
452         #473303
453         Added a range check to the BorderStyle property.
454
455 2009-02-05  Marek Habersack  <mhabersack@novell.com>
456
457         * Login.cs: check the value of DisplayRememberMe when creating
458         the child controls. Fixes #468359
459
460 2009-01-20  Marek Habersack  <mhabersack@novell.com>
461
462         * Substitution.cs: added. Fixes bug #467460
463
464 2009-01-13  Marek Habersack  <mhabersack@novell.com>
465
466         * XmlBuilder.cs: updates related to ControlBuilder cleanup.
467
468 2008-12-01  Marek Habersack  <mhabersack@novell.com>
469
470         * Style.cs: WriteStyleAttributes must not use the fontinfo field
471         directly, it has to be done via the Font property. Fixes bug
472         #449793
473
474 2008-11-15  Marek Habersack  <mhabersack@novell.com>
475
476         * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
477         ChangePassword.cs, DetailsViewPagerRow.cs: implements
478         INonBindingContainer interface.
479
480         * Wizard.cs: implement INonBindingContainer interface for several
481         private/internal classes.
482
483 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
484
485         * ImageButton.cs: clicking an image causes a postback.
486         Bug #439004 fixed.
487
488 2008-10-24  Marek Habersack  <mhabersack@novell.com>
489
490         * CheckBox.cs: register for event validation in Render ().
491
492 2008-10-21  Marek Habersack  <mhabersack@novell.com>
493
494         * XmlDataSource.cs: DataFile may be an URL.
495
496 2008-10-17  Marek Habersack  <mhabersack@novell.com>
497
498         * ImageMap.cs: added the SupportsEventValidation attribute to the
499         class.
500         Validate the event in RaisePostBackEvent ().
501         Register for event validation in Render ().
502
503         * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
504
505         * TextBox.cs: validate the event in LoadPostData ().
506         Register for event validation in AddAttributesToRender ().
507
508         * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
509         Register for event validation in Render ().
510
511         * RadioButton.cs: validate the event in LoadPostData ().
512         Register for event validation in InternalAddAttributesToRender.
513
514         * CheckBox.cs, RadioButtonList.cs: validate the event in
515         RaisePostDataChangedEvent.
516
517         * Menu.cs: added the SupportsEventValidation attribute to the
518         class.
519         Validate the event in RaisePostBackEvent ().
520         Register for event validation in GetClientEvent ().
521
522         * DetailsView.cs, GridView.cs: validate the event in
523         RaisePostBackEvent ().
524         Register for validation in GetCallbackScript () and in OnPreRender
525
526         * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
527         ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
528
529 2008-10-14  Marek Habersack  <mhabersack@novell.com>
530
531         * CompositeDataBoundControl.cs: renamed the itemcount ViewState
532         item from "_ItemCount" to "_!ItemCount" for .NET
533         compatibility. This item is accessed and used by some commercial
534         ASP.NET controls.
535
536         * DataBoundControl.cs: OnPagePreLoad must force databinding also
537         when the request is not a postback.
538
539 2008-10-13  Marek Habersack  <mhabersack@novell.com>
540
541         * Table.cs, TableRowCollection.cs, TableRow.cs: render table
542         sections when necessary. Fixes bug #434555
543
544 2008-10-08  Marek Habersack  <mhabersack@novell.com>
545
546         * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
547         evaluation now. This makes it support complex expressions.
548
549 2008-09-30  Sebastien Pouliot  <sebastien@ximian.com> 
550
551         * RoleGroupCollection.cs: Fix recursive calls (wrong target)
552         [Found using Gendarme's BadRecursiveInvocationRule]
553
554 2008-09-28  Sebastien Pouliot  <sebastien@ximian.com>
555
556         * XmlDataSource.cs: Make sure the result of the multiplication is a
557         long (not an integer casted into a long since it could overflow).
558         [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
559
560 2008-09-17  Juraj Skripsky  <js@hotfeet.ch>
561
562         * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
563
564 2008-09-13  Atsushi Enomoto  <atsushi@ximian.com>
565
566         * IPersistedSelector.cs : new in 3.5 SP1.
567
568 2008-09-13  Atsushi Enomoto  <atsushi@ximian.com>
569
570         * DataBoundControlMode.cs : new 3.5 SP1 type.
571
572 2008-08-25  Marek Habersack  <mhabersack@novell.com>
573
574         * DataBoundControl.cs: set RequiresDataBinding to true in
575         Initialize only if not in a postback, if not data bound and if the
576         view state is enabled. Fixes bug #398318
577         UpdateViewData removes the OnDataSourceViewChanged handler before
578         connecting to the datasource and restores it before returning to
579         the caller.
580         OnLoad gets the data source before initialization, to avoid
581         premature OnDataSourceViewChanged triggers. Fixes bug #398318
582         Do not reconnect to the data source if we already have a valid one.
583
584 2008-08-18  Marek Habersack  <mhabersack@novell.com>
585
586         * Unit.cs: rewrote the unit parser in a slightly slower, but more
587         correct, way. Fixes bug #417502
588
589 2008-07-28  Marek Habersack  <mhabersack@novell.com>
590
591         * TreeView.cs: when TreeView is displaying a site map and there is
592         no node selected by the user, select the node corresponding to the
593         current page, if any.
594
595 2008-07-24  Marek Habersack  <mhabersack@novell.com>
596
597         * DataGrid.cs: removed the private class TableID and moved its
598         code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
599         with the owner parameter now. Fixes bug #400377
600
601         * ChildTable.cs: refactoring - moved code from TableID previously
602         defined in DataGrid.cs to here and made the class available under
603         different names for both 1.x and 2.x profiles. Fixes bug #400377
604
605         * MailDefinition.cs: look for the mail body file in the correct
606         path. Patch from Jackson Harper <jaharper@novell.com>,
607         thanks! Fixes bug #408699
608
609         * PasswordRecovery.cs: do not ask password recovery question if
610         it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
611         thanks! Fixes bug #408696
612
613 2008-07-16  Marek Habersack  <mhabersack@novell.com>
614
615         * XmlDataSource.cs: check if Page isn't null before stringifying
616         it in GetDataKey (), fixes bug #409492
617
618 2008-07-13  Roei Erez  <roeie@mainsoft.com>
619
620         * GridView.cs: When the RowDataBound event is invoked, the value
621         of GridView1.DataKeys should contains all the keys up untill the
622         current row, and not be empty.
623         I only changed the order of the user event invocation and the addition
624         to the collection.
625
626 2008-07-13  Roei Erez  <roeie@mainsoft.com>
627
628         * TreeView.cs: In case of multiple tree node bingings, select 
629         The first one and not the last one.
630
631 2008-07-10  Roei Erez  <roeie@mainsoft.com>
632
633         * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key 
634         to be case insensitive.
635
636 2008-07-03  Marek Habersack  <mhabersack@novell.com>
637
638         * CheckBox.cs: do not render the language="javascript" attribute
639         in the 2.0 profile.
640
641 2008-07-02  Marek Habersack  <mhabersack@novell.com>
642
643         * GridView.cs: minor optimizations (removed a foreach loop,
644         replaced calls to Array.Length with a variable containing the
645         length).
646
647 2008-06-30  Marek Habersack  <mhabersack@novell.com>
648
649         * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
650         CustomValidator.cs: hush the warnings
651
652 2008-06-10  Noam Lampert  <noaml@mainsoft.com>
653
654         * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
655
656 2008-05-30  Marek Habersack  <mhabersack@novell.com>
657
658         * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
659         DataControlFieldCollection.cs, DataControlField.cs,
660         PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
661         event accessors (to avoid locks).
662
663 2008-05-18  Marek Habersack  <mhabersack@novell.com>
664
665         * HierarchicalDataBoundControl.cs: Modified GetData method to check if
666         DataSource implements IHierarchicalEnumerable and if so constructs and
667         returns a new instance of ReadOnlyDataSourceView. This provides functional
668         compatibility with the Microsoft.NET framework. Fixes bug
669         #395209. Patch contributed by James Fitzsimons
670         <james.fitzsimons@gmail.com>, thanks!
671
672 2008-05-06  Marek Habersack  <mhabersack@novell.com>
673
674         * Calendar.cs: do not create dateInfo in the constructor - culture
675         might be not set yet at this point. Fixes bug #323566
676         Added a private property, DateInfo, which creates the dateInfo
677         when requested.
678
679 2008-05-05  Sebastien Pouliot  <sebastien@ximian.com>
680
681         * BulletedList.cs: Avoid calling ToString on a string.
682         * ButtonField.cs: Throw, not just create, the exceptions. 
683         * HyperLinkField.cs: Throw, not just create, the exceptions. 
684         * ImageField.cs: Throw, not just create, the exception. Avoid calling
685         ToString on a string.
686         * ListControl.cs: Avoid calling ToString on a string.
687         [All issues were found using Gendarme]
688
689 2008-04-30  Marek Habersack  <mhabersack@novell.com>
690
691         * SiteMapDataSource.cs: when no starting node is found, return
692         null instead of Provider.RootNode. Fixes bug #323994
693
694 2008-04-24  Marek Habersack  <mhabersack@novell.com>
695
696         * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
697         ConnectionString, ProviderName or DataSourceMode properties only
698         when the new value differs from the old one. Fixes bug #359392
699
700 2008-04-16  Marek Habersack  <mhabersack@novell.com>
701
702         * ObjectDataSourceView.cs: ExecuteSelect should return an empty
703         aray when no data has been retrieved from the specified source
704         type. Fixes bug #380106
705
706 2008-04-15  Marek Habersack  <mhabersack@novell.com>
707
708         * MailDefinition.cs: dispose of streams the way it should
709         be done.
710
711 2008-04-10  Marek Habersack  <mhabersack@novell.com>
712         
713         * RadioButton.cs: adjust 'name' and 'value' attribute values to
714         match MS.NET. Fixes bug #378024
715         
716         * CheckBoxList.cs: set the Selected property to the value in POST
717         data only if the item in question was enabled before postback
718         occurred. Fixes bug #377703
719
720         * ListControl.cs: make sure the owned items' Enabled property is
721         set to the same value what ListControl's. Fixes bug #377703
722
723         * ListItemCollection.cs: fixed SetDirty to store the index of the
724         last dirtied item properly. Fixes bug #377703
725         For the 2.0 profile, set the ListItem instances Enabled property
726         to the value of the owning ListControl (internal ItemsEnabled
727         property was added to make it possible). Fixes bug #377703
728
729 2008-04-08  Dean Brettle <dean@brettle.com>
730
731         * DataBoundControl.cs (InternalPerformDataBinding), 
732         HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
733         WebControl.cs (Render): fixed cast errors when a ControlAdapter
734         that wasn't of the type corresponding to the control was used.
735
736 2008-04-03  Marek Habersack  <mhabersack@novell.com>
737
738         * DataList.cs: use the value of SelectedIndex, not selectedIndex,
739         to return the key value in the SelectedValue property. Fixes bug
740         #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
741
742 2008-03-12  Vladimir Krasnov  <vladimirk@mainsoft.com>
743
744         * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
745         should hide checkbox only if DataItem is not defined
746
747 2008-03-09  Dean Brettle <dean@brettle.com> 
748
749         * DetailsView.cs, ListControl.cs, DataBoundControl.cs, 
750         FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs: 
751         added support for using ControlAdapters when present.
752         
753         * WebControl.cs: fixed implementation of IsEnabled to match 
754         documentation.
755
756         * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of 
757         RenderMenuItem() if an adapter is present.  MenuAdapter.RenderItem() 
758         calls back to new Menu.RenderItem() internal method which calls
759         RenderMenuItem() with the appropriate parameters.
760
761 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
762
763         * GridView.cs:
764         at Update and Delete use not read only coppies of dictionaries
765         in event argumens, that allows user to change them before corresponding
766         DataSource's method is called.
767
768 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
769
770         * Login.cs: render id attribute of root element correctly.
771
772 2008-02-18  Marek Habersack  <mhabersack@novell.com>
773
774         * FormView.cs: the ItemCreated must be fired before data is bound
775         to the FormView. Fixes bug #360434
776
777 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
778
779         * Login.cs: render id attribute of root element correctly.
780
781 2008-02-05  Marek Habersack  <mhabersack@novell.com>
782
783         * FileUpload.cs: make sure FileContent always returns the input
784         stream positioned at the beginning. Fixes bug #356846
785
786 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
787
788         * Calendar.cs: resolve Next/Prev. month link date correctly.
789
790 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
791
792         * TreeView.cs: add XPFileExplorer icon set.
793
794 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
795
796         * Menu.js: dynamic nodes are positioned after hover style of 
797         parent node is applied.
798
799 2008-01-24  Vladimir Krasnov  <vladimirk@mainsoft.com>
800
801         * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
802         than one datasource using the same object with the same select method
803
804 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
805
806         * ValidationSummary.cs:
807         refactoring: If page contents instance of IScriptManager, it calls 
808         it's API instead Page.ClientScript.                                                                     
809
810 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
811
812         * Menu.cs: fixed rendering.
813
814 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
815
816         * Wizard.cs:
817         manage history state on "MovePrevious" action.  
818
819 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
820
821         * BulletedList.cs:
822         resolve BulletImageUrl,
823         register for event validation.  
824
825 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
826
827         * TreeView.cs:
828         * TreeView.js:
829         upgrade client side script due to changes in webform.js.                
830
831 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
832
833         * BaseCompareValidator.cs:
834         * BaseValidator.cs:
835         * CompareValidator.cs:
836         * CustomValidator.cs:
837         * RangeValidator.cs:
838         * RegularExpressionValidator.cs:
839         * RequiredFieldValidator.cs:
840         refactoring: If page contents instance of IScriptManager, validators call 
841         it's API instead Page.ClientScript.                                                                     
842
843 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
844
845         * Button.cs:
846         * ImageButton.cs:
847         * LinkButton.cs:
848         for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
849         in GetPostBackOptions.                  
850
851 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
852
853         * DetailsView.cs: render invisible rows correct.
854
855 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
856
857         * DataControlField.cs: prevent infinite recursion
858
859 2008-01-01  Vladimir Krasnov  <vladimirk@mainsoft.com>
860
861         * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
862         expiration timespan
863
864 2007-12-31  Vladimir Krasnov  <vladimirk@mainsoft.com>
865
866         * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
867         CacheDependency keys
868
869 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
870
871         * TreeView.cs: revert changes from r91230
872
873 2007-12-18  Vladimir Krasnov  <vladimirk@mainsoft.com>
874
875         * ListControl.cs: fixed Load/SaveViewState, removed selected indices
876         storing
877         * ListItem.cs: fixed Load/SaveViewState, added selected state storing
878         * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
879         rebuild the collection if was'nt changed
880
881 2007-12-13  Marek Habersack  <mhabersack@novell.com>
882
883         * Menu.cs, TreeView.cs: optimize use of String.Format in
884         OnPreRender.
885         Speed optimization - use String.Concat instead of String.Format in
886         some cases.
887
888         * GridView.cs, DetailsView.cs: optimize use of String.Format in
889         OnPreRender.
890
891         * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
892         WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
893         ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
894         optimization - use String.Concat instead of String.Format in some cases.
895
896 2007-12-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
897
898         * Menu.cs: fixed rendering without head tag on page
899
900 2007-11-19  Vladimir Krasnov  <vladimirk@mainsoft.com>
901
902         * Calendar.cs: performance optimizations:
903         BuildLink fixed, StringBuilder used.
904         TodaysDate DateTime.Today call cahced.
905
906 2007-11-19  Vladimir Krasnov  <vladimirk@mainsoft.com>
907
908         * Unit.cs: performance optimization: ToString fixed, string.Concat used
909         instead of string.Format
910
911 2007-11-19  Vladimir Krasnov  <vladimirk@mainsoft.com>
912
913         * Style.cs: performance optimization: suppress finalizer added
914
915 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
916
917         * BoundField.cs:
918         * ImageField.cs:
919         evaluate bound value using ThisExpession ("!") properly 
920
921 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
922
923         * WebControl.cs: enabled state restored properly.
924
925 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
926
927         * TextBox.cs:
928         refactoring for NET_2_0:
929         Text is removed from view state in case of need at SaveViewState phase.          
930
931 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
932
933         * ListControl.cs:
934         SelectedValue/SelectedIndex is set during DataBinding always.    
935
936 2007-11-06  Marek Habersack  <mhabersack@novell.com>
937
938         * DataGrid.cs: add RenderTable before the DataGridItems, so that
939         numbering of children is the same what on MS.NET.
940         If there are any data items, require a postback script.
941         Fixes bug #319449
942         
943         * ChildTable.cs: removed DOS EOLs.
944
945 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
946
947         * Login.cs: 
948         does not perform authentication if Page.IsValid returns false;
949         the fix makes control works with disabled client side validation.
950
951 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
952
953         * DataList.cs: 
954         state of DataList.Items are restored correct on PostBack
955         such Items.Count and ItemType.
956
957 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
958
959         * BaseValidator.cs: 
960         validator is rendered correct if EnabledClientClient is false.
961
962 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
963
964         * Image.cs: fixed management state of Enabled property.
965         * WebControl.cs: refactoring in management state of Enabled property.
966
967 2007-10-23  Marek Habersack  <mhabersack@novell.com>
968
969         * ListBox.cs, Table.cs: use Render{Begin,End}Tag
970         instead of the Write* counterparts when rendering contents.
971
972 2007-10-18  Marek Habersack  <mhabersack@novell.com>
973
974         * Menu.js: a workaround for an IE bug. IE recalculates element's
975          offsetWidth when the element's _height_ is set - which in case of
976          elements with overflowing content results in a value that's just
977          slightly smaller than the client window width. In effect, a long
978          submenu will also be very wide, which isn't desirable. Fixes bug
979          #322809
980
981 2007-10-15  Marek Habersack  <mhabersack@novell.com>
982
983         * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
984         Type.GetType.
985
986         * BulletedList.cs: html encode the item text. Fixes bug #333550.
987
988 2007-10-01  Marek Habersack  <mhabersack@novell.com>
989
990         * ListItem.cs: make HasAttributes available for the 1.1 profile as
991         well.
992
993         * DropDownList.cs: render custom ListItem attributes in the 1.1
994         profile. Fixes bug #326288
995
996 2007-09-27  Marek Habersack  <mhabersack@novell.com>
997
998         * Button.cs: added missing OnPreRender method.
999
1000 2007-09-25  Marek Habersack  <mhabersack@novell.com>
1001
1002         * WebControl.cs: added an internal method, BuildScriptAttribute,
1003         which merges the specified JavaScript code in an attribute, with
1004         the value of that attribute specified by the user.
1005
1006         * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
1007         preserve user-specified attribute value, if present.
1008
1009         * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
1010         after doing its job. AutoPostBack handling makes sure to preserve
1011         user-specified attribute value, if present. Fixes bug #327816.
1012
1013 2007-09-21  Marek Habersack  <mhabersack@novell.com>
1014
1015         * ListItem.cs: don't save StateBag in the control state - the
1016         class is not serializable and therefore ObjectStateFormatter
1017         cannot convert it. Instead have the sb object save its own state
1018         and store the returned value. Fixes bug #326288.
1019
1020 2007-09-20  Marek Habersack  <mhabersack@novell.com>
1021
1022         * LoginView.cs: implemented RoleGroups support. Fixes bug
1023         #324633.
1024
1025 2007-09-19  Marek Habersack  <mhabersack@novell.com>
1026
1027         * GridView.cs: copy attributes from GridView to the child table,
1028         as this is where the rendering takes place. Fixes bug #326309.
1029
1030 2007-09-18  Marek Habersack  <mhabersack@novell.com>
1031
1032         * Calendar.cs: correctly apply day cell style. Fixes bug #315903
1033
1034 2007-09-17  Marek Habersack  <mhabersack@novell.com>
1035
1036         * Calendar.cs: style attribute value must be enclosed in quotes.
1037
1038         * TableStyle.cs: do not capitalize the align styles. Fixes bug
1039         #313766.
1040
1041 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1042
1043         * ListControl.cs: partially restored r85314
1044         whenever a property that can affect data binding
1045         is set, make sure to set RequiresDataBinding.
1046
1047 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
1048
1049         * DataBoundControl.cs: fixed DataBind flow:
1050         prevent double binding when not necessary.
1051         fixed bug #81146        
1052
1053 2007-08-31  Marek Habersack  <mhabersack@novell.com>
1054
1055         * GridView.cs: instead of not adding hidden fields to the rows,
1056         mark the cells they would contain as invisible. Fixes bug #82615.
1057
1058 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1059
1060         * Menu.cs:
1061         * Menu.js:
1062         make Menu work in multi form environment.
1063
1064 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1065
1066         * ListControl.cs: fixed selected items state management.
1067
1068 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1069
1070         * BaseCompareValidator.cs:
1071         * BaseValidator.cs:
1072         * CompareValidator.cs:
1073         * CustomValidator.cs:
1074         * RangeValidator.cs:
1075         * RegularExpressionValidator.cs:
1076         * RequiredFieldValidator.cs:
1077         all Validators use RegisterExpandoAttribute for 
1078         not XHTML compliant attributes.
1079
1080 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
1081
1082         * Panel.cs: client script consider MultiForm environment.
1083
1084 2007-08-21  Marek Habersack  <mhabersack@novell.com>
1085
1086         * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
1087         it's unused.
1088
1089 2007-08-20  Marek Habersack  <mhabersack@novell.com>
1090
1091         * ContentPlaceHolderBuilder.cs: store place holder id in the
1092         parser's internal place holder id list for later reference. Fixes
1093         bug #82485.
1094
1095 2007-08-19  Vladimir Krasnov  <vladimirk@mainsoft.com>
1096
1097         * BoundField.cs: FormatDataValue, refactored multiple use of ToString
1098
1099 2007-08-14  Marek Habersack  <mhabersack@novell.com>
1100
1101         * ObjectDataSourceView.cs: remove unused variable.
1102
1103         * ChangePassword.cs: remove unused variable.
1104         The change password button id changed to
1105         "ChangePasswordPushButton", the cancel button id changed to
1106         "CancelPushButton". The change makes the generated ids the same
1107         what on MS.NET. Fixes bug #82418.
1108
1109         * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
1110
1111 2007-08-14  Vladimir Krasnov  <vladimirk@mainsoft.com>
1112
1113         * ParameterCollection.cs: fixed IndexOfString, should use ordinal
1114         compare
1115
1116 2007-08-07  Vladimir Krasnov  <vladimirk@mainsoft.com>
1117
1118         * Menu.cs: performance refactoring, used AddAttribute overload without
1119         encoding on known attribute values, optimized DynamicMenu rendering
1120
1121 2007-08-07  Vladimir Krasnov  <vladimirk@mainsoft.com>
1122
1123         * TreeView.cs: refactoring, used AddAttribute overload without encoding
1124         on known attribute values,
1125         used Page.ClientScript.GetWebResourceUrl call instead of
1126         AssemblyResourceLoader.GetResourceUrl
1127
1128 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
1129
1130         * AccessDataSource.cs: does not subscribed on view changed event.
1131         * ObjectDataSource.cs: fixed state management.
1132         * SqlDataSource.cs:     fixed state management.  
1133
1134 2007-08-05  Vladimir Krasnov  <vladimirk@mainsoft.com>
1135
1136         * Button.cs, 
1137         DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs, 
1138         RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs, 
1139         TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs, 
1140         BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs, 
1141         RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs, 
1142         ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs, 
1143         TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs: 
1144         refactoring, used AddAttribute overload without encoding on known attribute 
1145         values
1146
1147 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
1148
1149         * DropDownList.cs: fixed onchange attibute.
1150
1151 2007-07-26  Vladimir Krasnov  <vladimirk@mainsoft.com>
1152
1153         * ListItemCollection.cs: fixed LoadViewState, items restored from
1154         viewstate were not saved, fixes bug #82192
1155
1156 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1157
1158         * BaseValidator.cs: All client scripts are rendered 
1159         according IsMultiForm property.
1160
1161 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
1162
1163         * TreeView.cs: refactoring:
1164         * TreeView.js:
1165         used ClientScriptManager.GetCallbackEventReference API instead calling 
1166         WebForm_DoCallback explicit.
1167                 
1168 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1169
1170         * BaseValidator.cs: for NET_2_0: fixed client side validation.
1171         validation is performed in WebForm_DoPostback, 
1172         and there is no need to do it twice in ValidatorOnSubmit.
1173
1174 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
1175
1176         * Calendar.cs: fixed: correct 'id' attribute is rendered.
1177
1178 2007-07-10  Vladimir Krasnov  <vladimirk@mainsoft.com>
1179
1180         * ListItemCollection.cs: optimized SetDirty method
1181
1182 2007-07-05  Vladimir Krasnov  <vladimirk@mainsoft.com>
1183
1184         * ListControl.cs:
1185         * ListItem.cs:
1186         * ListItemCollection.cs: controls based on ListControl should not save
1187         view state before than TrackViewState called
1188
1189 2007-07-04  Vladimir Krasnov  <vladimirk@mainsoft.com>
1190
1191         * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
1192         ControlStyle is not created
1193
1194 2007-07-02  Marek Habersack  <mhabersack@novell.com>
1195
1196         * WebControl.cs: Revert r80368, as it wasn't the correct
1197         fix. Fixes bug #81945.
1198
1199         * ListControl.cs: if there are no items in the collection, do not
1200         return an empty ArrayList from GetSelectedIndicesInternal. Fixes
1201         bug #81945 and properly fixes bug #78533.
1202
1203         * ListItemCollection.cs: if there are no items in collection,
1204         return null.
1205
1206 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1207
1208         * GridView.cs:
1209         the Pager is created but unvisible for only one page. 
1210         the Patch submitted by Dumitru Ban [dban@dako.ro]       
1211
1212 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1213
1214         * FormView.cs:
1215         * DetailView.cs:
1216         * GridView.cs:
1217         does not requires data binding if any ITemplate property is set.
1218
1219 2007-06-24  Vladimir Krasnov  <vladimirk@mainsoft.com>
1220
1221         * CheckBox.cs: fixed Render, HasAttributes called instead
1222         Attributes.Count
1223
1224 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
1225
1226         * GridView.cs: fixed AllowPaging feature:
1227         When the AllowPaging is true the GridView control should automatically 
1228         hide the pager row when the data source contains fewer than 2 records.  
1229         patch Patch submitted by Dumitru Ban [dban@dako.ro]     
1230
1231 2007-06-20  Marek Habersack  <mhabersack@novell.com>
1232
1233         * WebControl.cs: if savedState is a Triplet, take the actual state
1234         data from savedState.First. Also make sure that the data is a
1235         Pair. Fixes bug #78533.
1236
1237         * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
1238         to keep private entries.
1239         * XmlDataSource.cs: as above
1240         
1241 2007-05-31  Vladimir Krasnov  <vladimirk@mainsoft.com>
1242
1243         * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
1244         to ClientScriptManager
1245
1246 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
1247
1248         * ObjectDataSourceView.cs:
1249         * SiteMapDataSource.cs:
1250         * SqlDataSource.cs:
1251         * SqlDataSourceView.cs:
1252         DataSourceChanged and DataSourceViewChanged are raised in right case, when
1253         different properties changed their value.                               
1254
1255 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1256
1257         * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1258         when changed, DataSourceViewChanged event is raised.
1259         
1260         * SqlDataSourceView: fixed SelectCommand property:
1261         when changed, DataSourceViewChanged event is raised.
1262
1263 2007-05-25  Marek Habersack  <mhabersack@novell.com>
1264
1265         * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1266         TypeConverter attributes on the property being converted.
1267
1268 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1269
1270         * Menu.cs: fixed: alt attribute is rendered as well.
1271
1272 2007-05-16  Marek Habersack  <mhabersack@novell.com>
1273
1274         * CompareValidator.cs: formatting changes
1275
1276 2007-05-15  Marek Habersack  <mhabersack@novell.com>
1277
1278         * ObjectDataSourceView.cs: refactoring - use
1279         HttpApplication.LoadType to look up types.
1280
1281 2007-05-10  Marek Habersack  <mhabersack@novell.com>
1282
1283         * Table.cs: render rows, not controls
1284
1285         * HyperLink.cs: RenderContents must check if the render method
1286         delegate is present and, if yes, call the base RenderContents.
1287
1288         * LinkButton.cs: as above.
1289
1290         * Label.cs: as above.
1291
1292         * TableCell.cs: as above.
1293         This change makes the HeaderTemplate in the Wizard control work.
1294         
1295         * Wizard.cs: if a next/previous step handler modifies
1296         ActiveStepIndex do not, respectively, increase/decrease the
1297         current step, but use whatever was set in the handler.
1298
1299 2007-05-09  Marek Habersack  <mhabersack@novell.com>
1300
1301         * TreeNodeStyleCollection.cs: do not set font's underline flag to
1302         false, set it to its own value instead.
1303
1304         * TreeView.cs: if level style exists and has ChildNodesPadding
1305         set, it takes precedence over the node style setting (if any).
1306
1307 2007-05-08  Marek Habersack  <mhabersack@novell.com>
1308
1309         * TreeView.cs: children padding is rendered only before and after
1310         the children are rendered, not between them. Also, render padding
1311         only if there are any nodes to follow the current one.
1312
1313 2007-05-07  Marek Habersack  <mhabersack@novell.com>
1314
1315         * Wizard.cs: additional checks to see whether the wizard needs to
1316         move to a next step or not. Fixes bug #81532. Patch sent by Mike
1317         Morano <mmorano@mikeandwan.us>, thanks!
1318
1319 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1320
1321         * FormView.cs: fixed:
1322         avoid NullReferenceException when used EditTemplate w/o binding 
1323         directive such Eval or Bind.     
1324
1325 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1326
1327         * MenuItem.cs: fixed: 
1328         when 'Value' property is not set, value of 'Text' property is used 
1329         instead and vice versa.
1330
1331 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1332
1333         * TreeNode.cs: fixed: 
1334         when 'Value' property is not set, value of 'Text' property is used 
1335         instead and vice versa.
1336
1337 2007-05-04  Marek Habersack  <mhabersack@novell.com>
1338
1339         * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1340         the physical path of the ad file.
1341
1342 2007-05-03  Marek Habersack  <mhabersack@novell.com>
1343
1344         * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1345
1346 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1347
1348         * ControlPropertyNameConverter.css:
1349         * FontUnitConverter.cs:
1350         * UnitConverter.cs:
1351         * ValidatedControlConverter.cs:                 
1352         added missing API.      
1353
1354 2007-05-03  Marek Habersack  <mhabersack@novell.com>
1355
1356         * TreeNode.cs: correct version of the fix in r76488. Nodes
1357         retrieved from a navigation data source which have empty URL will
1358         not be selectable.
1359
1360         * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1361         to investigate the special cases it solved a bit more.
1362
1363 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1364
1365         * SqlDataSourceView.cs:
1366         make CancelSelectOnNullParameter property works.
1367
1368 2007-05-01  Marek Habersack  <mhabersack@novell.com>
1369
1370         * BaseValidator.cs: do not use User-Agent directly, we must take
1371         ClientTarget into account.
1372
1373 2007-04-30  Marek Habersack  <mhabersack@novell.com>
1374
1375         * TreeView.cs: bring rendering closer to the MS.NET rendering.
1376
1377         * SqlDataSource.cs: do not catch the exception if ProviderName is
1378         not null or empty (as per docs and what MS.NET does).
1379
1380 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1381
1382         * ChangePassword.cs:
1383         does not accept invalid new password.   
1384
1385 2007-04-18  Igor Zelmanovich  <igorz@mainsoft.com>
1386
1387         * Xml.cs:
1388         * XmlDataSource.cs:
1389         added MonoLimitation attributes         
1390
1391 2007-04-18  Igor Zelmanovich  <igorz@mainsoft.com>
1392
1393         * BaseValidator.cs: for TARGET_J2EE: 
1394         used Page.Request.Browser to determine RenderUplevel
1395
1396 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1397
1398         * GridView.cs:
1399         when databound with AutoGenerateColumns = true, 
1400         data source enumerator created only once.       
1401
1402 2007-04-18  Marek Habersack  <mhabersack@novell.com>
1403
1404         * SiteMapDataSource.cs: query the site map for the current node
1405         when configured to use it as the start point. Fixes bug #81376,
1406         patch from Mike Morano <mmorano@mikeandwan.us>.
1407
1408         * Calendar.cs: change year/month format to be culture aware. Fix
1409         for bug #81390. Patch submitted by Atsushi Enomoto
1410         <atsushi@ximian.com>
1411
1412 2007-04-17  Daniel Nauck  <dna@mono-project.de>
1413
1414         * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1415
1416 2007-04-17  Marek Habersack  <mhabersack@novell.com>
1417
1418         * BaseValidator.cs: use the new uplevel browser detection code.
1419
1420 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1421
1422         * SqlDataSourceView.cs: fixed: InitializeParameters:
1423         restored flow, broken in r75137.
1424
1425 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1426
1427         * Menu.cs: popup menu is posed correctly if menu is placed within 
1428         container with position=relative
1429
1430 2007-04-12  Marek Habersack  <mhabersack@novell.com>
1431
1432         * LoginView.cs: do not call CreateChildControls directly from the
1433         IsAuthenticated setter since that would destroy the controls the
1434         user might've configured from their Page_PreRender method.
1435         Do not use IsAuthenticated in CreateChildControls since that
1436         prevents the _correct_ template from being instantiated before the
1437         control is transferred to the user's OnPreRender handler. Fixes
1438         bug #81344.
1439
1440 2007-04-11  Marek Habersack  <mhabersack@novell.com>
1441
1442         * ImageButton.cs: implement the Enable property and do not
1443         register for post back if the control isn't enabled.
1444
1445 2007-04-06  Marek Habersack  <mhabersack@novell.com>
1446
1447         * GridView.cs: don't render invisible fields. Fixes bug #80061.
1448
1449         * DetailsView.cs: don't render invisible fields.
1450
1451 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1452
1453         * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1454
1455 2007-04-05  Marek Habersack  <mhabersack@novell.com>
1456
1457         * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1458         describes - tests show this is what's happening on MS.NET as
1459         well.
1460
1461 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1462
1463         * GridView.cs:
1464         * BaseDataBoundControl.cs:
1465         Break recursion when the property is set from within the OnSelect handler 
1466         in user's code. fixes bug #81175.       
1467
1468 2007-04-05  Marek Habersack  <mhabersack@novell.com>
1469
1470         * SiteMapDataSource.cs: fix GetStartNode for situations when the
1471         current URL is not defined in the sitemap file. Fixes bug
1472         #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1473
1474 2007-04-03  Marek Habersack  <mhabersack@novell.com>
1475
1476         * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1477
1478 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1479
1480         * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1481         endings.
1482
1483 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1484
1485         * ObjectDataSourceView.cs: fixed events so they are raized at the
1486         right times.  Added many tests to verify the correct time.
1487         * SqlDataSourceView.cs: fixed events so they are raized at the right
1488         times.  Added many tests to verify the correct time.
1489
1490 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1491
1492         * Menu.cs:
1493         * TreeView:
1494         avoid Exception if HierarchicalDataSourceView.Select() returns null.
1495
1496 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1497
1498         * ObjectDataSource.cs:
1499         * ObjectDataSourceView.cs:
1500         * SqlDataSource.cs:
1501         * SqlDataSourceView.cs:
1502         fixed flow: changes in Insert/Update/DeleteParameters does not 
1503         cause DataSourceViewChanged event.                              
1504
1505 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1506
1507         * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1508         only if data binding doesn't occur.
1509
1510 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1511
1512         * GridView.cs: fixed: PageIndex considers PageCount.    
1513
1514 2007-03-20  Marek Habersack  <mhabersack@novell.com>
1515
1516         * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1517
1518         * LoginStatus.cs: render login/logout controls with the CssClass
1519         set from the parent control. Fixes bug #81196
1520
1521 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1522
1523         * DataGrid.cs: fixed Save/Load view state, applying styles.     
1524
1525 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1526
1527         * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters. 
1528
1529 2007-03-09  Marek Habersack  <mhabersack@novell.com>
1530
1531         * Login.cs: Make command name comparison case-insensitive in
1532         OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1533
1534 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1535
1536         * DataGrid.cs: fixed: 
1537         Auto-generated columns are restored properly on postback from view state.
1538
1539 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1540
1541         * Style.cs: fixed:
1542         when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl) 
1543         is called, WebControl parameter is passed as argument to 
1544         FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1545
1546 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1547
1548         * DataList.cs:
1549         * DataListItem.cs:
1550         fixed applying styles if ExtractTemplateRows=true.
1551
1552 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1553
1554         * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1555         is Enabled=false and no selected items.
1556
1557 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1558
1559         * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1560
1561 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1562
1563         * CheckBoxList.cs:
1564         * BulletedList.cs:
1565         * ListControl.cs:
1566         * ListItem.cs:
1567         * RadioButtonList.cs:
1568         fixed: list controls consider ListItem.Attributes property on render. 
1569
1570 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1571
1572         * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes 
1573         are rendered in 'input' tag. 
1574
1575 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1576
1577         * DropDownList.cs:
1578         * ListBox.cs:
1579         used "ONLY_1_1" instead "!NET_2_0"      
1580
1581 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1582
1583         * BaseDataBoundControl.cs:
1584         * DataBoundControl.cs:
1585         * HierarchicalDataBoundControl.cs:
1586         refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1587         method in BaseDataBoundControl to find a data source control.
1588
1589 2007-03-05  Marek Habersack  <mhabersack@novell.com>
1590
1591         * Unit.cs: Support parsing of units in the form ".9em" etc.
1592
1593 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1594
1595         * TemplateColumn.cs: fixed: if ItemTemplate is null, "&nbsp;" is rendered.
1596
1597 2007-03-05  Marek Habersack  <mhabersack@novell.com>
1598
1599         * BaseValidator.cs: make validators work correctly with
1600         ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1601         
1602 2007-03-04  Marek Habersack  <mhabersack@novell.com>
1603
1604         * HierarchicalDataBoundControl.cs: Use the method described below
1605         to get the data source named in DataSourceID.
1606
1607         * BaseDataBoundControl.cs: add an internal method to find a data
1608         source control within all the naming containers above a given
1609         control. The method makes it possible to find controls that reside
1610         in master pages.
1611
1612 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1613
1614         * Repeater.cs: fixed: data-binding flow for 2.0 features.
1615
1616 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1617
1618         * Parameter.cs:
1619         * ParameterCollection.cs:       
1620         fixed GetValue/s  and UpdateValue/s. 
1621
1622 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1623
1624         * TreeNodeCollection.cs:
1625         fixed Save/Load viewstate. 
1626
1627 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1628
1629         * MenuItemCollection.cs:
1630         fixed Save/Load viewstate. 
1631
1632 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1633
1634         * CreateUserWizard.cs:
1635         * Wizard.cs:
1636         fixed CausesValidaion and ValidationGroup for navigation buttons. 
1637
1638 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1639
1640         * TreeNode.cs:
1641         * TreeView.cs:
1642         fixed LoadPostData to restore checked state for node's checkboxes. 
1643
1644 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1645
1646         * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only 
1647
1648 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1649
1650         * BaseDataBoundControl.cs: setting DataSource to null does not 
1651         call ValidateDataSource.
1652         * HierarchicalDataBoundControl.cs: ValidateDataSource does not 
1653         throw exception if argument is null. 
1654
1655 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1656
1657         * WebControl.cs: implemented IsEnabled and HasAttributes.
1658
1659 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1660
1661         * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1662
1663 2007-02-27  Marek Habersack  <grendello@gmail.com>
1664
1665         * FileUpload.cs: HasFile is true only if PostedFile is not null
1666         and it actually has an associated file.
1667
1668 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1669
1670         * LoginView.cs: fixed: 
1671         ViewChanging and ViewChanged are fired.
1672         optimized Save/Load control state.      
1673
1674 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1675
1676         * CreateUserWizard.cs: fixed: does not attempt to send email if 
1677         MailDefinition is not defined.
1678
1679 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1680
1681         * Login.cs: fixed:
1682         considers FormsAuthentication.ReturnUrl only if is placed in 
1683         the login page defined in web.config. 
1684
1685 2007-02-23  Marek Habersack  <grendello@gmail.com>
1686
1687         * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1688
1689         * CreateUserWizard.cs: support for sending mail when a new user is
1690         created. Patch from dban@dako.ro.
1691
1692 2007-02-22  Marek Habersack  <grendello@gmail.com>
1693
1694         * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1695         dban@dako.ro.
1696
1697 2007-02-20  Adar Wesley <adarw@mainsoft.com>
1698
1699         * ObjectDataSourceView.cs: fixed ViewState behavior to match MS.  Added relevant tests.
1700
1701 2007-02-20  Gert Driesen  <drieseng@users.sourceforge.net>
1702
1703         * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1704         instead of CurrentUICulture for DateFormatInfo.
1705
1706 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1707
1708         * SqlDataSource.cs: fixed ViewState behavior to conform to MS.  Added relevant tests.
1709         * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1710
1711 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1712
1713         * ChangePassword.cs: fixed:
1714         ChangePasswordContainer and SuccessContainer cannot be BindingContainer.                
1715
1716 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1717
1718         * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1719         Added more tests.
1720
1721 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1722
1723         * CheckBox.cs:
1724         * ListControl.cs:
1725         * TextBox.cs:
1726         implemented Form.SubmitDisabledControls feature.                        
1727
1728 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1729
1730         * GridView.cs: IsBindableType for decimal returns true.
1731
1732 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1733
1734         * Menu.js: client script: support IE6.
1735
1736 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1737
1738         * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1739
1740 2007-02-18  Eyal Alaluf <eyala@mainsoft.com>
1741
1742         * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1743           TARGET_J2EE is now centralized in ClientScriptManager.
1744         * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1745           GridView.js: Added a field to the controls JavaScript 'data' object. The
1746           form is initialized to the page 'theForm'. This is used for J2EE portlets
1747           callback support.
1748
1749 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1750
1751         * Wizard: fixed:
1752         first step is recognized as 'finish' if only two steps 
1753         and last step is 'complete'
1754
1755 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1756
1757         * BaseValidator: ControlPropertiesValid is called on PreRender
1758         * CompareValidator.cs:
1759         * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1760
1761 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1762
1763         * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1764
1765 2007-02-05  Vladimir Krasnov  <vladimirk@mainsoft.com>
1766
1767         * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1768         case insensitive
1769
1770 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1771
1772         * TreeView.js: refactoring:
1773         removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1774         
1775 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1776
1777         * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1778
1779 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1780
1781         * Literal.cs: implemented 2.0 feature - Mode.
1782         
1783 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1784
1785         * ViewCollection.cs: fixed public API.
1786
1787 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1788
1789         * RepeaterItem.cs: implemented IDataItemContainer interface.
1790
1791 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1792
1793         * TreeNodeStyle.cs: fixed public API.
1794
1795 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1796
1797         * MenuItemStyle.cs: fixed public API.
1798
1799 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1800
1801         * Calendar.cs:
1802         * DayRenderEventArgs.cs:
1803         implemented 2.0 feature - SelectUrl.
1804
1805 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1806
1807         * GridViewRowCollection.cs: implemented IsReadOnly property.
1808
1809 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1810
1811         * BaseValidator.cs: implemented SetFocusOnError feature.
1812
1813 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1814
1815         * Wizard.cs: refactoring:
1816         used ContainedTable for ID attribute is rendered properly.       
1817
1818 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1819
1820         * CreateUserWizard.cs: 
1821         * Wizard.cs: 
1822         fixed SideBar.
1823
1824 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1825
1826         * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled 
1827
1828 2007-02-09  Gert Driesen  <drieseng@users.sourceforge.net>
1829
1830         * FontUnit.cs: Fixed ToString () to use current locale.
1831
1832 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1833
1834         * BaseValidator.cs: fixed render, works in static mode properly 
1835         * CreateUserWizard.cs: fixed display mode for validators.               
1836
1837 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1838
1839         * FormView.cs:
1840         * FormViewPagerRow:             
1841         implemented FormViewPagerRow class      
1842
1843 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1844
1845         * DetailsView.cs: 
1846         header and footer visibility is set at creation.        
1847
1848 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1849
1850         * FormView.cs: fixed: 
1851         header and footer are not created with empty row.       
1852
1853 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1854
1855         * FormView.cs: fixed: 
1856         works properly with not ICollection data source.        
1857
1858 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1859
1860         * DetailsView.cs: fixed: 
1861         PageIndex, CreateChildControls, 
1862         works properly with not ICollection data source.        
1863
1864 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1865
1866         * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1867           property is rendered as a RenderURL for J2EE portlets.
1868
1869 2007-02-05  Vladimir Krasnov  <vladimirk@mainsoft.com>
1870
1871         * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1872         RegisterClientScriptInclude instead of RegisterClientScriptBlock
1873
1874 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1875
1876         * DataBoundControl.cs:
1877         * DetailsView.cs:
1878         * FormView.cs:
1879         PerformDataBinding is called with RequiresDataBinding was set false
1880
1881 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1882
1883         * FormView.cs:
1884         fixed validation flow.  
1885
1886 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1887
1888         * DetailsView.cs:
1889         fixed validation flow.  
1890
1891 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1892
1893         * CustomValidator.cs:
1894         ValidateEmptyText is considered on client side. 
1895
1896 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1897
1898         * Button.cs:
1899         * ButtonField.cs:
1900         * CommandField.cs:
1901         * DataControlButton.cs:
1902         * DataControlField.cs:
1903         * ImageButton.cs:
1904         * PagerSettings.cs:                                             
1905         Internal classes are used in databound controls for buttons 
1906         are derived from right types. It allows to have access to them by casting
1907         to public types. This trick is used in one of starter kits of MS.
1908
1909 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1910
1911         * Panel.cs: fixed: reverted r71441.
1912         * TreeView.cs: used internal RegisterWebFormClientScript API 
1913         to cause the relevant script be included.       
1914
1915 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1916
1917         * FormView.cs: fixed events ModeChanging and ModeChanged 
1918         to be raized in all relevant situations.
1919
1920 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1921
1922         * ValidationSammary.cs: fixed:
1923         control is rendered even if there is no validators on the page.
1924         important if the page contain a client side script that refer to the 
1925         id of the validation summary div.        
1926
1927 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1928
1929         * CheckBoxList.cs:
1930         * DropDownList.cs:
1931         * ListBox.cs:
1932         * RadioButtonList.cs:
1933         EnsureDataBound is called when PostData is processed to restore 
1934         'state' of control if EnableViewState is false                           
1935
1936 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1937
1938         * GridView.cs: fixed: 
1939         RowDataBound is fired for PagerRow.
1940         Styles are applied using MergeWith instead CopyFrom 
1941         to allow using custom styles for rows in code-behind.
1942
1943 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1944
1945         * GridView.cs: fixed: RowCommand event is fired properly.
1946
1947 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1948
1949         * GridView.cs: fixed: created rows are added in table after initialization.
1950         * BoundField.cs:        
1951
1952 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1953
1954         * Panel.cs: fixed 'background-image' attribute.
1955
1956 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1957
1958         * BaseDataBoundControl.cs:
1959         * DataBoundControl.cs:
1960         fixed DataBinding flow: RequiresDataBinding is set to false in 
1961         PerformSelect().                        
1962         * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1963
1964 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1965
1966         * DetailsView.cs:
1967         * FormView.cs:
1968         fixed DataBinding flow for Insert mode.
1969
1970 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1971
1972         * CheckBox.cs:
1973         does not RegisterRequiresPostBack if is not enabled.
1974
1975 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1976
1977         * TreeView.cs:
1978         * TreeView.js:
1979         fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1980
1981 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
1982
1983         * MultyView.cs: OnActiveViewChanged is called.
1984
1985 2007-01-29  Vladimir Krasnov  <vladimirk@mainsoft.com>
1986
1987         * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
1988         style attribute
1989
1990 2007-01-29  Adar Wesley <adarw@mainsoft.com>
1991
1992         * EditCommandColumn.cs: implemented CausesValidation and
1993         ValidationGroup and coresponding tests.
1994         * DataGrid.cs: fixed generated table to be compatible with MS 2.0
1995
1996 2007-01-28  Vladimir Krasnov  <vladimirk@mainsoft.com>
1997
1998         * WebControl.cs: added internal method AddDisplayStyleAttribute for
1999         display:inline-block style attribute
2000         * LinkButton.cs
2001         * HyperLink.cs
2002         * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
2003
2004 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2005
2006         * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
2007
2008 2007-01-24  Vladimir Krasnov  <vladimirk@mainsoft.com>
2009
2010         * TextBox.cs: implemented AutoCompleteType property, fixed
2011         AddAttributesToRender
2012
2013 2007-01-24  Ilya Kharmatsky <ilya -at- decode-systems.com>
2014         
2015         * DetailsView.cs: fixed problems with rendering of control, when
2016           empty data source is provided. Respective tests are provided 
2017           in DetailsViewTest.cs
2018           
2019 2007-01-21  Konstantin Triger <kostat@mainsoft.com>
2020
2021         * TreeView.js, DetailsView.js, Menu.js, GridView.js:
2022                 suppress exception if eval() fails.
2023
2024 2007-01-20  Miguel de Icaza  <miguel@novell.com>
2025
2026         * DataControlFieldCollection.cs (RemoveAt): remove unused
2027         variable. 
2028
2029         * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
2030         should not show up.
2031
2032         * RadioButton.cs (RaisePostDataChangedEvent): This method was not
2033         used in 1.0, so put the whole method in 2.0
2034
2035 2007-01-18  Adar Wesley <adarw@mainsoft.com>
2036
2037         * Xml.cs: added support for XPathNavigator, fixed DocumentContent
2038         to be compatible with MS 2.0, implemented EnableTheming, implemented
2039         SkinID, fixed Focus behavior.
2040
2041 2007-01-18  Vladimir Krasnov  <vladimirk@mainsoft.com>
2042
2043         * Menu.js, Menu.js: added null reference checking for every getTree or
2044         getMenu call
2045
2046 2007-01-18  Adar Wesley <adarw@mainsoft.com>
2047
2048         * SiteMapDataSource.cs: implemented logic of GetStartNode when
2049         StartingNodeOffset is positive.
2050
2051 2007-01-17  Konstantin Triger <kostat@mainsoft.com>
2052
2053         * BaseValidator.cs: ToString the validating property value or
2054                 if null return an empty string.
2055
2056 2007-01-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
2057
2058         * TreeView.cs: fixed RegisterStyle, style names should be without
2059         leading underscore. fixed RenderNode, node icons should be taken also
2060         from level styles
2061
2062 2007-01-17  Adar Wesley <adarw@mainsoft.com>
2063
2064         * Repeater.cs: refactored GetData to return data both from DataSource
2065         and DataSrouceID, Implemented EnableTheming, updated initialization of
2066         DataBinding according to the pattern of BaseDataBoundControl, fixed
2067         SelectArguments implementation to call the virtual 
2068         CreateDataSourceSelectArguments method.
2069
2070 2007-01-17  Konstantin Triger <kostat@mainsoft.com>
2071
2072         * GridView.cs: don't force creating rows collection when SelectedIndex
2073                 changes; EnsureDatabound on select.
2074
2075 2007-01-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
2076
2077         * TreeNode.cs: fixed Bind, fixed Value updating
2078
2079 2007-01-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
2080
2081         * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
2082
2083 2007-01-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
2084
2085         * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
2086         than zero
2087
2088 2007-01-15  Vladimir Krasnov  <vladimirk@mainsoft.com>
2089
2090         * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
2091         or equal to PageCount
2092
2093 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2094
2095         * Menu.cs: added z-index attribute to popup div's.
2096
2097 2007-01-15  Vladimir Krasnov  <vladimirk@mainsoft.com>
2098
2099         * FileUpload.cs: fixed FileName property, should return filename
2100         without full path on client side
2101
2102 2007-01-15 Ilya Kharmatsky  <ilya -at- decode-systems.com>
2103
2104         * ListControl.cs
2105         * CheckBoxList.cs
2106         * ListBox.cs
2107         Implemented the protected net_2_0 method 'VerifyMultiSelect' with
2108         proper overloading in derived types.
2109  
2110 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2111
2112         * TreeNode.cs
2113         considers INavigateUIData.NavigateUrl when bound.       
2114
2115 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
2116
2117         * CompleteWizardStep.cs
2118         * CreateUserWizard.cs
2119         * CreateUserWizardStep.cs
2120         * TemplatedWizardStep.cs
2121         * Wizard.cs
2122         make the design complied to .NET        
2123         build all possible controls at once and manage render by Visible property
2124
2125 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2126         * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
2127           PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
2128
2129 2007-01-14  Ilya Kharmatsky <ilyak-at-mainsoft.com>
2130         * BaseCompareValidator
2131         * CompareValidator
2132         Added support for CultureInvariantValues property, which should be 
2133         counted in new 2.0 methods such as - Compare, Convert etc. The code
2134         has been changed in such way, that the old - 1.1 method implementation 
2135         could use the new methods defined for 2.0 version.
2136
2137 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2138
2139         * XmlDataSource.cs: refactored to use cached collection.
2140         * SqlDataSource.cs: refactored to use cached collection;
2141                 don't throw exception on 'DefaultView'.
2142         * ObjectDataSource.cs: refactored to use cached collection.
2143
2144 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2145
2146         * ObjectDataSourceView.cs: consider parameter names and
2147                         DataObjectMethodAttribute during method resolution.
2148
2149 2007-01-11  Vladimir Krasnov  <vladimirk@mainsoft.com>
2150
2151         * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
2152         SqlDataSourceCommandEventArgs
2153
2154 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
2155
2156         * ObjectDataSourceView.cs: use case unsensitive comparer for
2157                 parameters collection.
2158
2159 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2160
2161         * LoginStatus.cs: fixed: not causes page validation.
2162
2163 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2164
2165         * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
2166         * CreateUserWizardStep.cs:
2167
2168 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2169
2170         * TreeView.cs: fixed: SelectedNode, CheckedNodes.
2171         * TreeNode.cs:
2172         * TreeNodeCollection.cs:                
2173
2174 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
2175
2176         * GridView.cs: fixed: header and footer does not appear in no items.
2177         * CompositeDataBoundControl.cs:
2178
2179 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
2180
2181         * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
2182
2183 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2184
2185         * GridView.cs: fixed: SelectedDataKey.
2186
2187 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2188
2189         * Panel.cs:
2190         * PanelStyle.cs:
2191         implemented 2.0 features.       
2192
2193 2007-01-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
2194
2195         * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
2196
2197 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2198
2199         * DataSourceCacheManager.cs:
2200         * ObjectDataSource.cs:
2201         * SqlDataSource.cs:
2202         fixed: cache considers parameters values changes.                               
2203
2204 2007-01-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
2205
2206         * DetailsView.cs: fixed DeleteItem, excluded keys for new values
2207         * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
2208         OnDeleting event
2209
2210 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2211
2212         * GridView.cs: fixed: show all rows when AllowPaging=false
2213
2214 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2215
2216         * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
2217
2218 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2219
2220         * ButtonField.cs: fixed: consider its CausesValidation property.
2221
2222 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2223
2224         * GridView.cs: fixed:
2225         ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
2226         causesValidation parameter is considered properly in UpdateRow.
2227         OldValues contains readonly fields values
2228
2229 2007-01-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
2230
2231         * SqlDataSourceView.cs: fixed InitializeParameters, added
2232         ParameterPrefix when check that param is already in collection
2233
2234 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2235
2236         * AdRotator.cs: fixed: considers absolute uri such html://......         
2237
2238 2007-01-07  Vladimir Krasnov  <vladimirk@mainsoft.com>
2239
2240         * SqlDataSourceView.cs: fixed insert, delete, update methods, added
2241         calls to OnDataSourceViewChanged
2242
2243 2007-01-07  Vladimir Krasnov  <vladimirk@mainsoft.com>
2244
2245         * added ProfileParameter.cs
2246
2247 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2248
2249         * Label.cs: fixed: according MSDN OnPreRender is not overridden.         
2250
2251 2007-01-04 Adar Wesley <adarw@mainsoft.com>
2252
2253         * ImageButton.cs: implemented GenerateEmptyAlternateText
2254
2255 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2256
2257         * FormView.cs: fixed data binding flow considers Insert mode.    
2258
2259 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2260
2261         * DataBoundControl.cs: fixed Init flow.  
2262
2263 2007-01-4   Adar Wesley <adarw@mainsoft.com>
2264
2265         * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2266
2267 2007-01-03  Marek Habersack  <grendello@gmail.com>
2268
2269         * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2270
2271 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2272
2273         * FormView.cs: fixed PageIndex property.
2274
2275 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2276
2277         * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2278         set accessor works differently in 2.0.           
2279
2280 2007-01-02  Vladimir Krasnov  <vladimirk@mainsoft.com>
2281
2282         * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2283         when values and old values are null
2284
2285 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2286
2287         * ListControl.cs: reverted r70112, fixed in r70319.      
2288
2289 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2290
2291         * DetailsView.cs: fixed CreateAutoGeneratedRows.                        
2292
2293 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2294
2295         * AutoGeneratedField.cs: is editable in Insest mode.
2296         * BoundField.cs: is editable in Insest mode.
2297         * CheckBoxField.cs: is editable in Insest mode.
2298         * DetailsView.cs: fixed DataBinding flow.                       
2299
2300 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2301
2302         * BaseDataBoundControl.cs:
2303         * CompositeDataBoundControl.cs: fixed DataBinding flow.
2304
2305 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2306
2307         * LinkButton.cs: show the validation summary when client validation
2308         and linkbuttons are used. Patch by Juraj Skripsky.
2309
2310 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2311
2312         * TextBox.cs: consider ToolTip property
2313
2314 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2315
2316         * ContainedTable.cs:
2317         * DataControlButton.cs:
2318         * DetailsView.cs: fixed EnablePagingCallbacks
2319         * DetailsView.js:
2320         * GridView.cs:
2321         * GridView.js: fixed EnableSortingAndPagingCallbacks
2322
2323 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2324
2325         * TreeView.cs: 
2326         ResolveClientUrl used with LineImagesFolder, ExpandImageUrl, 
2327         CollapseImageUrl and NoExpandImageUrl properties.
2328
2329 2006-12-28  Vladimir Krasnov  <vladimirk@mainsoft.com>
2330
2331         * SqlDataSource.cs: Added parameters update on OnInit
2332
2333 2006-12-28  Vladimir Krasnov  <vladimirk@mainsoft.com>
2334
2335         * LoginView.cs: fixed rendering LoggedInTemplate even after user
2336         logged out
2337
2338 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2339
2340         * DetailsView.cs:
2341         * GridView.cs:
2342         * FormView.cs:
2343         control's behavior depends on using DataSource or DataSourceID 
2344         property for binding    
2345
2346 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2347
2348         * CommandField.cs: fixed: 
2349         when ShowEditButton=false Update/Cancel button doesn't appear.   
2350         when ShowInsertButton=false Insert/Cancel button doesn't appear.         
2351
2352 2006-12-27  Vladimir Krasnov  <vladimirk@mainsoft.com>
2353
2354         * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2355
2356 2006-12-27  Vladimir Krasnov  <vladimirk@mainsoft.com>
2357
2358         * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2359         * ObjectDataSourceView.cs: fixed MergeParameterValues,
2360         call Parameter.ConvertValue
2361         fixed ConvertParameter to hanlde TypeCode.Empty
2362         * SqlDataSourceView.cs: fixed InitializeParameters,
2363         call Parameter.ConvertValue
2364         fixed ParameterPrefix property
2365         fixed CreateDbParameter, added usege of ParameterPrefix
2366
2367 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2368
2369         * ListControl.cs: fixed: when is used with DataSourceID data bind is not 
2370         perfomed on PostBack because Items collection is restored from View state.       
2371
2372 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2373
2374         * DataGridPagerStyle.cs:
2375         * DataList.cs:
2376         * DetailsView.cs:
2377         * FontInfo.cs:
2378         * Style.cs:
2379         * TableItemStyle.cs:
2380         * TableStyle.cs:
2381         * TreeNodeStyle.cs:
2382         * WebControl.cs:
2383         * Wizard.cs:                            
2384         fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate 
2385         for it's ControlStyle, but the shared ViewState is used to manage style's 
2386         viewstate instead.
2387
2388 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2389
2390         * CompleteWizardStep.cs:
2391         * CreateUserWizard.cs:
2392         * CreateUserWizardStep.cs:
2393         * TemplatedWizardStep.cs:
2394         * Wizard.cs:
2395         fixed:  CreateUserWizard works properly in advanced scenarios 
2396         such being used with additional steps or/and with custom templates.
2397         Styles are aplied  properly.
2398
2399 2006-12-21  Vladimir Krasnov  <vladimirk@mainsoft.com>
2400
2401         * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2402         parameters case insensetive search
2403         * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2404         case insensetive search
2405
2406 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2407
2408         * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2409
2410 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2411
2412         * TreeView.cs:
2413         * TreeNode.cs:
2414         TreeNodeCollapsed is not raised for leaf node.          
2415
2416 2006-12-14  Vladimir Krasnov  <vladimirk@mainsoft.com>
2417
2418         * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2419
2420 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2421
2422         * Calendar.cs: support DayNameFormat.Shortest
2423
2424 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2425
2426         * HiddenField.cs: implemented
2427
2428 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2429
2430         * FormView.cs: fixed: FillRowDataKey
2431         * DetailsView.cs: fixed: FillRowDataKey
2432
2433 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2434
2435         * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2436
2437 2006-12-14  Vladimir Krasnov  <vladimirk@mainsoft.com>
2438
2439         * Login.cs: refactored rendering, fixed OnAuthenticate event
2440
2441 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2442
2443         * GridView.cs: fixed: Update works not only for EditRow
2444         * TemplateField.cs:
2445         * CompositeDataBoundControl.cs:         
2446
2447 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2448
2449         * RadioButton.cs: fixed:
2450         When GroupName is not defined UniqueID is used instead for name attribute.
2451         CheckedChanged is raised only when control is checked.
2452
2453 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2454
2455         * Menu.cs: fixed: rendering.
2456
2457 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2458
2459         * Menu.cs: fixed: rendering.
2460
2461 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2462
2463         * ListControl.cs:
2464         * ListBox.cs:
2465         * DropDownList.cs:
2466         fixed rendering for 2.0                 
2467
2468 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2469
2470         * DetaisView.cs: fixed: rendering.
2471         * DataControlButton.cs:
2472         * PagerSettings.cs:             
2473
2474 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2475
2476         * FormView.cs: fixed: avoid empty row rendering.
2477
2478 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2479
2480         * AdRotator.cs: fixed: 
2481         MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a 
2482         root-relative path, or a relative path. If you use a root-relative path, 
2483         the path is relative to the same Web site. If you use a relative path, 
2484         the path is relative to the directory that contains the advertisement file.
2485
2486 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2487
2488         * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2489
2490 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2491
2492         * TreeView.cs: fixed: support for event validation.
2493
2494 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2495
2496         * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2497
2498 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2499
2500         * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2501
2502 2006-11-27  Vladimir Krasnov  <vladimirk@mainsoft.com>
2503
2504         * Wizard.cs: fixed GetStepType method that returned wrong type if the
2505         last step type is Complete.
2506         fixed ProcessEvent method, corrected FinishButtonClick behavior
2507
2508 2006-11-26  Marek Habersack  <grendello@gmail.com>
2509
2510         * Calendar.cs: Fixed event validation registration. Now it
2511         registers all the arguments that can be passed by this control to
2512         the application.
2513
2514 2006-11-25  Marek Habersack  <grendello@gmail.com>
2515
2516         * FileUpload.cs: Implementation of SaveAs
2517
2518         * TreeView.cs: A few optimizations for empty style collections.
2519
2520         * Menu.cs: A few optimizations for empty style collections. 
2521
2522 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2523
2524         * BoundField.cs: fixed: GetDesignTimeValue()
2525
2526 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2527
2528         * SiteMapDataSource.cs: fixed: GetViewNames()
2529
2530 2006-11-23  Vladimir Krasnov  <vladimirk@mainsoft.com>
2531
2532         * ChangePassword.cs: implemented functionality
2533         * MailDefinition.cs: implemented CreateMailMessage method
2534         * PasswordRecovery.cs: implemented functionality
2535
2536 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2537
2538         * CircleHotSpot.cs: fixed: 
2539         setting Radius with value <0 throws ArgumentOutOfRangeException.
2540
2541 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2542
2543         * CookieParameter.cs: fixed Evaluate method.
2544
2545 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2546
2547         * Parameter.cs: fixed Evaluate, ToString methods.
2548         * QueryStringParameter.cs: fixed Evaluate method.
2549         * SessionParameter.cs: fixed Evaluate method.
2550
2551 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2552
2553         * ImageMap.cs: fixed rendering.
2554
2555 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2556
2557         * HotSpot.cs: fixed: AccessKey and HotSpotMode 
2558         throw ArgumentOutOfRangeException.
2559
2560 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2561
2562         * ControlParameter.cs: fixed: Evaluate method 
2563         throws exceptions correctly.
2564
2565 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2566
2567         * CheckBox.cs: fixed: new 2.0 features such 
2568         LabelAttributes and InputAttributes.
2569
2570 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2571
2572         * GridView.cs: fixed: header, footer and empty rows are databound.
2573
2574 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2575
2576         * Style.cs: added internal helper method RemoveTextStyles.
2577
2578 2006-11-20  Igor Zelmanovich <igorz@mainsoft.com>
2579
2580         * Button.cs: fixed: support for event validation.
2581         * CheckBox.cs: fixed: support for event validation.
2582         * FormView.cs: fixed: support for event validation.
2583         * ImageButton.cs: fixed: support for event validation.
2584         * ListBox.cs: fixed: support for event validation.
2585         * TextBox.cs: fixed: support for event validation.
2586
2587 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2588
2589         * DropDownList.cs: fixed: support for event validation.
2590
2591 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2592
2593         * LinkButton.cs: optimized: support for event validation.
2594         * DataControlButton.cs: Added support for event validation.
2595         * DetailsView.cs: fixed: RowIndex for DetailsViewRow.   
2596
2597 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2598
2599         * LinkButton.cs: Added support for event validation.
2600
2601 2006-11-17  Marek Habersack  <grendello@gmail.com>
2602
2603         * ImageButton.cs: Added support for event validation.
2604
2605         * ListBox.cs: Added support for event validation.
2606
2607         * Calendar.cs: Added support for event validation.
2608
2609         * DropDownList.cs: Added support for event validation.
2610
2611         * FormView.cs: Added support for event validation.
2612
2613         * RadioButtonList.cs: Added support for event validation.
2614
2615         * TextBox.cs: Added support for event validation.
2616
2617         * BulletedList.cs: Added support for event validation.
2618
2619         * CheckBox.cs: Added support for event validation.
2620
2621         * Button.cs: Added support for event validation.
2622
2623 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2624
2625         * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2626
2627 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2628
2629         * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2630
2631 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2632
2633         * GridView.cs: fixed: Rows property, DataBinding flow.
2634         * DataBoundControl.cs:
2635         * BaseDataBoundControl.cs:              
2636         
2637 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2638
2639         * CompositeDataBoundControl.cs: fixed: 
2640         DataBind call Controls.Clear().
2641
2642 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2643
2644         * CompositeDataBoundControl.cs: fixed: 
2645         DataBind sets ChildControlsCreated=true.
2646
2647 2006-11-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
2648
2649         * Login.cs: fixed CreateChildControls, throws exception if needed
2650         control not found
2651         * LoginView.cs: fixed CreateChildControls, check templates for null
2652
2653 2006-11-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
2654
2655         * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2656         rendering, fixed history updating
2657         * WizardStepCollection.cs: fixed implemented interfaces
2658
2659 2006-11-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
2660
2661         * XmlDataSource.cs: CacheKeyDependency fixed
2662
2663 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2664
2665         * DetailsView.cs: fixed:  DataKeys, PageCount, DataBinding flow.
2666
2667 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2668
2669         * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2670
2671 2006-11-09  Vladimir Krasnov  <vladimirk@mainsoft.com>
2672
2673         * ParameterCollection.cs: fixed SetDirtyObject method
2674         * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2675         utilization for control's properties, implemented caching
2676         * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2677
2678 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2679
2680         * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2681
2682 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2683
2684         * DataBoundControl.cs: fixed: 
2685         ConfirmInitState method s called by 
2686         the DataBoundControl class in its OnLoad method.
2687
2688 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2689
2690         * FormView.cs: fixed: DataBinding flow.
2691
2692 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2693
2694         * CustomValidator.cs: implemented ValidateEmptyText fixture.
2695
2696 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2697
2698         * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2699
2700 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2701
2702         * Menu.cs: fixed: RenderEndTag.
2703         Dynamic menu is rendered when StaticDisplayLevels=1     
2704
2705 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2706
2707         * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2708
2709 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2710
2711         * FormView.cs: fixed: UpdateItem, DeleteItem.
2712
2713 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2714
2715         * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2716
2717 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2718
2719         * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2720
2721 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2722
2723         * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2724
2725 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2726
2727         * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2728
2729 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2730
2731         * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2732
2733 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2734
2735         * ListControl.cs: fixed: DataBinding for 2.0.
2736         for 1.x refactoring only.       
2737
2738 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2739
2740         * ChangePassword.cs: new class was implemented.
2741
2742 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2743
2744         * EmbeddedMailObject.cs: new class was implemented.
2745         * EmbeddedMailObjectsCollection.cs: new class was implemented.
2746         * MailDefinition.cs: new class was implemented.
2747
2748 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2749
2750         * PagerSettings.cs: fixed: CreatePagerControl.
2751
2752 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2753
2754         * CommandField.cs: fixed: 
2755         considers CaseValidation, ValidationGroup, ButtonType.
2756         * DataControlButton.cs: refactoring:
2757
2758 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2759
2760         * DetailsView.cs: implemented: GetCallbackScript method.
2761
2762 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2763
2764         * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2765
2766 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2767
2768         * FormFiew.cs: fixed: UpdateItem, InsertItem.
2769
2770 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2771
2772         * FormFiew.cs: fixed: PageIndex, rendering.
2773
2774 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2775
2776         * DropDownList.cs: fixed: rendering "name" attribute".
2777
2778 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2779
2780         * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2781         * DataControlButton.cs: 
2782         * CommandField.cs: CausesValidation feature must be implemented other way
2783
2784 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2785
2786         * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2787
2788 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2789
2790         * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2791
2792 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2793
2794         * DetailsView.cs: fixed: OnBubbleEvent works properly.
2795
2796 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2797
2798         * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2799
2800 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2801
2802         * DetailsView.cs: fixed: CurrentMode property.
2803
2804 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2805
2806         * DetailsView.cs: fixed: current state are not changed during paging.
2807
2808 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2809
2810         * DetailsView.cs: fixed: 
2811         in Insert mode Select not invoked from DataSource
2812                 
2813 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2814
2815         * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2816
2817 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2818
2819         * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2820         (corresponding test does not work because bug in ObjectDataSourceView)
2821
2822 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2823
2824         * DataBoundControl.cs: fixed: DataBind calls
2825         CreateDataSourceSelectArguments() and stores result in  SelectArguments
2826
2827 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2828
2829         * DetailsView.cs: 
2830         * DetailsView.js: 
2831         fixed: EnablePagingCallbacks feature.
2832         when postback is invoked after callback control state is restored
2833         properly. 
2834
2835 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2836
2837         * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2838
2839 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2840
2841         * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2842         (corresponding test does not work because bug in ObjectDataSourceView)
2843
2844 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2845
2846         * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2847         when postback is invoked after callback control state is restored
2848         properly. 
2849
2850 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2851
2852         * GridView.cs: fixed: Sorting feature.
2853         When sorting EditIndex and PageIndex are reseted
2854
2855 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2856
2857         * GridView.cs: fixed: Sorting feature.
2858         CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2859         (corresponding test does not work because bug in ObjectDataSourceView)
2860
2861 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2862
2863         * GridView.cs: fixed: 
2864         CreateDataSourceSelectArguments works according to MSDN.
2865         (corresponding test does not work because bug in ObjectDataSourceView)
2866
2867 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2868
2869         * ObjectDataSourceView.cs: fixed: 
2870         CanRetrieveTotalRowCount returns true if EnablePaging = false
2871
2872 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2873
2874         * DataBoundControl.cs: fixed: DataBind flow
2875         CreateDataSourceSelectArguments() is called 
2876         each time as DataBind() is called       
2877
2878 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2879
2880         * BoundField.cs: implemented ValidateSupportsCallback().
2881
2882 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2883
2884         * CommandField.cs: ValidateSupportsCallback(): exception's message.
2885
2886 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2887
2888         * FormView.cs: fixed: CurrentMode property.
2889
2890 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2891
2892         * FormView.cs:
2893         * GridView.cs:
2894         * DetailsView.cs: 
2895         * PagerSettings.cs: 
2896         reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2897                 
2898 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2899
2900         * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2901         fail.
2902
2903 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2904
2905         * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2906         instead, which takes care of the 0/0px case. Also set the ToolTip
2907         property. Fixes bug #79585.
2908
2909 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2910
2911         * DetailsView.cs: optimization for previous patch
2912
2913 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2914
2915         * FormView.cs: optimization for previous patch
2916
2917 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2918
2919         * DetailsView.cs:
2920         * DetailsViewRow.cs:
2921         implemented PrepareControlHierarchy()
2922         styles are applied correct
2923
2924 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2925
2926         * FormView.cs:
2927         implemented PrepareControlHierarchy()
2928         styles are applied correct
2929
2930 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2931
2932         * GridView.cs:
2933         * DataControlButton.cs:
2934         * DataControlField.cs:
2935         implemented PrepareControlHierarchy()
2936         styles are applied correct
2937         command buttons inherit ForeColor
2938
2939 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2940
2941         * WebControl.cs: fixed: CreateControlStyle()
2942
2943 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2944
2945         * FormView.cs:
2946         * GridView.cs:
2947         * DetailsView.cs: 
2948         * PagerSettings.cs: 
2949         corrected pager rendering: Color style applied to A tag,
2950         Input type="image" used if ImageUrl is not empty.
2951                 
2952 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2953
2954         * GridView.cs: corrected rendering 
2955         * ContainedTable.cs: added new helper class 
2956                 
2957 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2958
2959         * FormView.cs: fixed: 
2960         in Insert mode Select not invoked from DataSource
2961                 
2962 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2963
2964         * FormView.cs: fixed: 
2965         Pager is not shown when page count < 1
2966         in Edit mode use EmptyDataTemplate if there is no DataItem
2967         when page changed FormView stays in current state. 
2968                 
2969 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2970
2971         * FormView.cs: fixed: OnBubbleEvent works properly
2972                 
2973 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2974
2975         * DataBoundControl.cs: fixed: DataBind flow
2976         GetData return "empty" DataSourceView when no DataSource and DataSourceID
2977         was assigned to cause PerformDataBinding be called.     
2978                 
2979 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2980
2981         * DataList.cs: use ExtractTemplateRows to determine if the style is
2982         applied to the Table in a template or to its rows. Fixes bug #78058.
2983
2984 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2985
2986         * ListBox.cs: if the list is not enabled, don't require a postback.
2987         Fixes bug #79445.
2988
2989 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2990
2991         * HyperLink.cs: don't output the nabvigate url if disabled.
2992         * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
2993         the link URL if disabled.
2994         Fixes bug #79443.
2995
2996 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2997
2998         * RadioButtonList.cs: 
2999         make it to consider CausesValidation and ValidationGroup properties
3000                 
3001 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3002
3003         * CheckBoxList.cs: 
3004         make it to consider CausesValidation and ValidationGroup properties
3005                 
3006 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3007
3008         * RadioButton.cs: 
3009         Page.Validate() is called when CausesValidation=true
3010                 
3011 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
3012
3013         * CheckBox.cs: 
3014         make onclick attribute to consider ValidationGroup property.
3015         
3016 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3017
3018         * BulletedLis.cs: 
3019         make rendering of the href attribute to consider ValidationGroup property.
3020         Page.Validate() is called when CausesValidation=true
3021         
3022 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3023
3024         * ListBox.cs: 
3025         make rendering of the onchange attribute to consider ValidationGroup 
3026         property.
3027         Page.Validate() is called when CausesValidation=true
3028         
3029 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3030
3031         * DropDownList.cs: 
3032         make rendering of the onclick attribute to consider ValidationGroup property
3033         Page.Validate() is called when CausesValidation=true
3034         
3035 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3036
3037         * ListControl.cs: 
3038         VewState saving and restoring rolled back to 1.1 implementation 
3039         (fixed corresponding test), corrected public interface (there are no 
3040         overriden methods SaveControlState, LoadControlState and OnInit), 
3041         implemented CausesValidation and ValidationGroup properties.
3042         
3043 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
3044
3045         * TextBox.cs: 
3046         make rendering of the onclick attribute to consider ValidationGroup property
3047         Page.Validate() is called when CausesValidation=true
3048         
3049 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3050
3051         * LinkButton.cs: 
3052         implemented: RaisePostBackEvent, 
3053         refactoring: GetPostBackOptions used to build onclick client event
3054
3055 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3056
3057         * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
3058
3059 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
3060
3061         * BaseValidator.cs: implemented ValidationGroup feature on client side
3062         * ValidationSummary.cs: 
3063
3064 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
3065
3066         * TreeView.cs: corrected rendering
3067         * TreeNode.cs:  
3068
3069 2006-09-11  Konstantin Triger <kostat@mainsoft.com>
3070
3071         * Login.cs: ensure the urls are correctly resolved.
3072
3073 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3074
3075         * TreeView.cs: corrected rendering: styles are applied correct
3076         * TreeNode.cs:  
3077         * TreeNodeStyle.cs:     
3078
3079 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3080
3081         * TreeView.cs: corrected rendering: HoverNodeStyle works
3082         * TreeNode.cs:  
3083         * TreeView.js:  
3084
3085 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3086
3087         * TreeNodeStyle.cs: fixed: ViewState restored properly  
3088
3089 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3090
3091         * Style.cs:
3092         * TableStyle.cs:        
3093         * TableItemStyle.cs:    
3094         * DataGridPagerStyle.cs:        
3095         refactoring: makes Style class more flexible for inheriting and reuse   
3096
3097 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
3098
3099         * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked 
3100         state restored correct on PostBack.
3101         * TreeView.js   
3102
3103 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3104
3105         * ObjectDataSourceView.cs: correctly find the type when it is not in the
3106         executing assembly. Fixes bug #78321. Patch by Marek Habersack.
3107
3108 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3109
3110         * ControlParameter.cs: fix search for controls so that they use their
3111         NamingContainer, not the Page. Patch by Marek Habersack that fixes
3112         bug #78320.
3113
3114 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3115
3116         * Login.cs: fix problem with the login control and master pages.
3117         Patch by Marek Habersack that fixes bug #78219.
3118
3119 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3120
3121         * TreeView.cs: fixed: populating nodes.
3122         * TreeView.js   
3123
3124 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
3125
3126         * TreeNode.cs: fixed: ToggleExpandState.
3127
3128 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
3129
3130         * SqlDataSourceView.cs: return DataView from ExecuteSelect when
3131         DataSourceMode is DataSet.
3132
3133 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3134
3135         * TreeView.cs: fixed: populating nodes flow.
3136         * TreeNodeCollection.cs
3137         * TreeNode.cs
3138
3139 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3140
3141         * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.    
3142
3143 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3144
3145         * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.        
3146
3147 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3148
3149         * TreeView.cs: fixed: when specified value is not one of 
3150         the TreeNodeTypes values exception is threw.     
3151
3152 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
3153
3154         * TreeView.cs: fixed: when specified image set is not one of 
3155         the TreeViewImageSet values exception is threw.  
3156
3157 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
3158
3159         * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.       
3160
3161 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
3162
3163         * Style.cs: implemented SetBit().        
3164
3165 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3166
3167         * CompareValidator.cs: fixed controltocompare attribute.         
3168
3169 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
3170
3171         * Login.cs: fixed:
3172         when login attempt was not successful FailureText is shown.      
3173
3174 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3175
3176         * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage 
3177         is formatted correct. 
3178
3179 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
3180
3181         * CreateUserWizard.cs: 
3182         * CompleteWizardStep.cs: 
3183         * CreateUserWizardStep.cs: 
3184         * Wizard.cs:
3185          fixed: ContinueButtonClick occurs when the user clicks 
3186          the Continue button in the final user account creation step.
3187          ContinueDestinationPageUrl - redirected after clicking 
3188          the Continue button on the success page.       
3189
3190 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3191
3192         * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
3193         insted internal DataControlButton. 
3194
3195 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3196
3197         * Button.cs: implemented GetPostBackOptions + refactoring
3198
3199 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3200
3201         * ImageButton.cs: implemented 2.0 features
3202         OnClientClick attached to onclick attribute.
3203         PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3204         generate onclick attribute.
3205
3206 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3207
3208         * LinkButton.cs: typo fix
3209
3210 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3211
3212         * Button.cs: refactoring
3213
3214 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3215
3216         * LinkButton.cs: implemented 2.0 features
3217         OnClientClick attached to onclick attribute.
3218         PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3219         for href attribute.
3220
3221 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
3222
3223         * Button.cs: implemented 2.0 features
3224
3225 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
3226
3227         * Menu.cs: refactoring
3228         * Style.cs:
3229
3230 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3231
3232         * TreeView.cs: fixed data binding
3233
3234 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3235
3236         * TreeNodeBinding.cs: fixed ToString method
3237
3238 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3239
3240         * MenuItem.cs: typo fix
3241
3242 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3243
3244         * CreateUserWizardStep.cs: fixed validators message display
3245
3246 2006-08-25  Kornél Pál  <kornelpal@gmail.com>
3247
3248         * FileUpload.cs: Use assembly name constants.
3249
3250 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3251
3252         * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
3253         always creates ExtractTemplateValuesMethod delegate
3254
3255 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3256
3257         * TreeNodeBinding.cs: corrected public interface
3258         * TreeNodeStyle.cs: 
3259
3260 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3261
3262         * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3263         case, but there are many others.
3264
3265 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3266
3267         * Menu.cs: corrected rendering of static and dynamic items
3268         * Menu.js: 
3269
3270 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3271
3272         * Style.cs:
3273         * FontInfo.cs: 
3274         fixed: AddAttributesToRender method calls FillStyleAttributes,
3275         text styles applied correct.
3276
3277 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3278
3279         * FontInfo.cs: 
3280         fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3281         refactoring: Name and Names properties has same source in bag.
3282
3283 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3284
3285         * Style.cs: restored r63894: for 1.x is refactoring only
3286
3287 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3288
3289         * FontInfo.cs: 
3290         fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3291         added ClearDefaults method for 2.0.
3292
3293 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3294
3295         * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3296         should be false
3297
3298 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3299
3300         * SubMenuStyle.cs: fixed:
3301         Unit.ToString() already include unit (e.g. "3px")
3302
3303 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3304
3305         * Style.cs:
3306         * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3307         submitted for review and it only added tests for the 2.0 profile.
3308
3309 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3310
3311         * FormView.cs: added explicit implementation of
3312         IDataItemContainer.DataItemIndex, as documented
3313
3314 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3315
3316         * Style.cs: fixed:
3317         When style is registered with StyleSheet AddAttributesToRender method
3318         adds class attribute but not style to writer 
3319
3320 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3321
3322         * Menu.cs: fixed: 
3323         OnBubleEvent works properly - controls like Button, LinkButton nested into template
3324         can raise MenuItemClick event,
3325         ViewState of Items saved and restored properly.
3326
3327 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3328
3329         * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3330         MS.NET's behaviour.
3331
3332 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3333
3334         * Menu.cs: fixed databinding feature:
3335         ensure that items initialization occurs only once
3336
3337 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3338
3339         * Menu.cs, MenuItem.cs: fixed databinding feature
3340
3341 2006-08-09  Robert Jordan  <robertj@gmx.net>
3342
3343         * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3344         replace ResolveUrl with ResolveClientUrl to match MS.NET's
3345         behaviour. Fixes bug #77539.
3346
3347 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3348
3349         * HierarchicalDataBoundControl.cs: fixed DataBind flow
3350
3351 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3352
3353         * Content.cs:
3354         * Label.cs:
3355         * ListControl.cs:
3356         * MultiView.cs:
3357         * WebControl.cs: fixed ParseChildren attribute to be compliant
3358         to .net
3359
3360 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3361
3362         * MultiView.cs: fixed: EnableTheming property
3363
3364 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3365
3366         * Style.cs:
3367         * Label.cs:
3368         * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3369
3370 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3371
3372         * Style.cs: fixed restoring FontInfo from ViewState
3373
3374 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3375
3376         * XmlDataSource.cs: implemented caching functionality
3377
3378 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3379
3380         * PagerSettings.cs: Fixed the pager range calculation formula. The old
3381         one didn't work with more than 20 pages. Patch by Marek Habersack that
3382         closes bug #78328.
3383
3384 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3385
3386         * FormView.cs: fixes to make Render more similar to dotnet.
3387
3388 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3389
3390         * Wizard.cs: fixed return value of OnBubbleEvent
3391
3392 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3393
3394         * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3395         handle null result of GetData().
3396
3397 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3398
3399         * FormView.cs: use TableStyle for ControlStyle.
3400
3401 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3402
3403         * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3404
3405 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3406
3407         * FormView.cs: init DataKeys and fix null reference.
3408
3409 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3410
3411         * TreeView.cs: several changes to improve compatibility with MS.
3412         Patch by Marek Habersack that fixes bug #77551.
3413
3414 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3415
3416         * Style.cs: output the text-decoration value even when it is 'none'.
3417         Patch by Marek Habersack that fixes bug #78968.
3418
3419 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3420
3421         * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3422         include Decimal.
3423
3424 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3425
3426         * DetailsViewRowCollection.cs: returns this in SyncRoot.
3427
3428 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3429
3430         * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3431         and CellPadding.
3432
3433 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3434
3435         * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3436
3437 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3438
3439         * AutoGeneratedField.cs: fix the internal constructor according to test
3440         DetailsView_CreateAutoGenerateRow.
3441
3442 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3443
3444         * XmlDataSource.cs: implemented XSLT, removed properties from
3445         view state
3446         * XmlDataSourceView.cs: fixed default xpath
3447
3448 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3449
3450         * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3451
3452 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3453
3454         * Wizard.cs: fixed ActiveStep property
3455         fixed templated side bar
3456
3457 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3458
3459         * ImageField.cs: fix null reference bug.
3460
3461 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3462
3463         * DetailsView.cs: init DataKey property with empty collection.
3464         * DataKey.cs: fix unexpected exception bug.
3465         * DataControlField.cs: override ToString according to MSDN.
3466
3467 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3468
3469         * DetailsView.cs: create table style in CreateControlStyle.
3470
3471 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3472
3473         * DetailsView.cs: don't throw the exception which .Net does not throw.
3474
3475 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3476
3477         * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3478         to match .Net; fix PageCount to match record count.
3479
3480 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3481
3482         * Menu.cs: fixed properties default values, fixed rendering
3483         SkipLinkText
3484
3485 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3486
3487         * Wizard.cs: implemented SkipLinkText, TagKey
3488         fixed rendering bugs, fixed templated button bar rendering
3489         fixed side bar rendering
3490         * WizardStepBase.cs: fixed Name property
3491
3492 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3493
3494         * DetailsView.cs: fix the regressions, caused by the previous commit.
3495
3496 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3497
3498         * DetailsView.cs: correct handling the different default values of
3499         DetailsView.CellSpacing and Table.CellSpacing.
3500
3501 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3502
3503         * DetailsView.cs: create a pager row when needed.
3504
3505 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3506
3507         * DetailsView.cs:
3508         * GridView.cs:
3509         * PagedDataSource.cs:
3510         * FormView.cs:
3511         * ImageButton.cs:
3512         * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3513         support it. The GridView control will no longer throw an exception when
3514         rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3515
3516 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3517
3518         * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3519         Rows with empty collection; call EnsureChildControls from get Row;
3520         NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3521         implemented IPostBackContainer.GetPostBackOptions.
3522
3523 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3524
3525         * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3526         and FooterText are empty, to match .NET. Otherwise we have NullReference
3527         when .NET does not.
3528
3529 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3530
3531         * DetailsView.cs: Render fix.
3532
3533 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3534
3535         * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3536         property name.
3537
3538 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3539
3540         * DetailsView.cs: NullReferenceException fix
3541
3542 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3543
3544         * PagerSettings.cs: implemented PropertyGhanged event
3545
3546 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3547
3548         * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3549         with .Net; don't throw NotImplemented when base class implementation
3550         is available.
3551
3552 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3553
3554         * DetailsViewPagerRow.cs: add a stub for this class
3555
3556 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3557
3558         * GridView: fixed DataKeyNames property, moved to ControlState
3559         fixed PageCount property, initial PageCount ahould be zero
3560         fixed SelectedDataKey, should throw exception if not initialized
3561         fixed CreateColumns, wrong order of columns
3562         fixed CreateControlStyle,
3563         fixed InitializePager, no columnspan attrib on only one column
3564         fixed LoadControlState, SaveControlState added DataKeyNames
3565         fixed Render, RenderGrid should render within div tag
3566         implemented GetPostBackOptions
3567         * DataControlButton.cs: fixed Render, fixed style for img button
3568
3569 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3570
3571         * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3572         mode
3573
3574 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3575
3576         * CommandField.cs: fixed ValidateSupportsCallback
3577
3578 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3579
3580         * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3581         affect the flow yet.
3582
3583 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3584
3585         * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3586
3587 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3588
3589         * WebControl.cs: fix for AddAttributesToRender - add display
3590         style when appropriate
3591
3592 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3593
3594         * CommandField.cs: fixed InitializeCell, wrong order of command 
3595         buttons
3596         * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3597         should be rendered as label
3598         * BoundField.cs: empty null value should be rendered as nbsp
3599         * GridViewRowCollection.cs: fixed SyncRoot
3600
3601 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3602
3603         * SiteMapPath.cs: create Literal instead of Label according to the
3604         MSDN and test SiteMapPath_InitializeItem.
3605
3606 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3607
3608         * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3609         * Image.cs: in 2.0 there is no border attribute, but border-width
3610         style attribute
3611
3612 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3613
3614         * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3615
3616 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3617
3618         * DataList.cs: correctly initialize editable items when there's an
3619         EditItemTemplate. Patch by JarosÅ‚aw Pawlak.
3620
3621 2006-07-13  Juraj Skripsky <js@hotfeet.ch>
3622
3623         * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3624         unchanged.
3625
3626 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3627
3628         * BulletedList.cs: fixed Render, RenderBulletText, various properties
3629         * ListItem.cs, ListItemCollection.cs: added Enabled property that is 
3630         new in 2.0
3631
3632 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3633
3634         * MultiView.cs: 'initied' state variable was changed to views count in
3635         the views collection.
3636
3637 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3638
3639         * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3640         checkbox should have tooltip
3641         * HyperLinkField.cs: fixed InitializeCell, should create link control
3642         only in data cell (not in header or footer), initialization of 
3643         ControlStyle
3644         * ImageField.cs: fixed InitializeDataCell, initialization of 
3645         ControlStyle
3646
3647 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3648
3649         * MultiView.cs: removed exception throwing from ActiveViewIndex
3650
3651 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3652
3653         * DataControlFieldCollection.cs: added OnClearComplete override;
3654                 refactor to eliminate null reference exception.
3655
3656 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3657
3658         * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3659         * View.cs: fixed Visible property
3660
3661 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3662
3663         * ImageField.cs: fixing .net compliancy.
3664
3665 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3666
3667         * SiteMapPath.cs: fix the default PathSeparator value.
3668
3669 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3670
3671         * GridView.cs: always create Header/Fotter rows, but render only when
3672         ShowHeader/Footer is true. Compute Header/Footer rows from rows
3673         collection.
3674         * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3675         add ToolTip and Text to the created CheckBox,
3676         wrap exception thrown in OnDataBindField in httpException.
3677
3678 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3679
3680         * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3681
3682 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3683
3684         * DataControlField.cs: correct handling empty header/footer text.
3685         * TemplateField.cs: correct initialization according to
3686         DataControlRowState.
3687
3688 2006-07-05  Vladimir Krasnov  <vladimirk@mainsoft.com>
3689
3690         * Wizard.cs: added functionality for Templated WizardStep
3691         and CreateUserWizard
3692         * added CompleteWizardStep.cs,  CreateUserWizard.cs, 
3693         CreateUserWizardStep.cs, TemplatedWizardStep.cs
3694
3695 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3696
3697         * AutoGeneratedField.cs: correcting default dataType.
3698
3699 2006-07-03  Vladimir Krasnov  <vladimirk@mainsoft.com>
3700
3701         * DataControlField.cs: fixed Initialize, should always return false
3702
3703 2006-07-03  Lluis Sanchez  <lluis@novell.com>
3704
3705         * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3706
3707 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3708
3709         * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3710         setting RequiresDataBinding in OnLoad event.
3711         * GridView.cs: DataBind rows before other control can access the data.
3712         * BoundField.cs: add unique ID to control for postback parameters.
3713
3714 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3715
3716         * WebControl.cs: fix typo in EnableTheming.
3717
3718 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3719
3720         * MenuItemCollection.cs: save items if the collection is dirty.
3721         * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3722         Add item to collection before binding to let the state be correctly tracked.
3723         * Menu.cs: Add item to collection before binding to let the state be correctly
3724         tracked.
3725
3726 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3727
3728         * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3729         test against with "^...$" if necessary. MS.NET does this too.
3730
3731 2006-06-28  Vladimir Krasnov  <vladimirk@mainsoft.com>
3732
3733         * WizardStepCollection.cs: Fixed Add methods to initialize
3734         WizardStep.Wizard property
3735         * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3736         Fixed GetStepType, if only one step present, it should be FinishStep
3737         Fixed styles of tables for more accurate rendering, fixed Wizard 
3738         buttons order
3739
3740 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3741
3742         * FormView.cs: instantiate correct template when the bounding data source is
3743         empty.
3744
3745 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3746
3747         * FormView.cs: disabling setting out of range FormView.PageIndex.
3748
3749 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3750
3751         * FileUpload.cs: added
3752
3753 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3754
3755         * FormView.cs: handle CssClass attribute
3756
3757 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3758
3759         * Button.cs: do something in PostBackUrl.
3760         * Repeater.cs: when creating the RepeaterItemCollection, initialize
3761         'items' if it hasn't been done yet. Fixes bug #78417.
3762
3763 2006-06-14  Vladimir Krasnov  <vladimirk@mainsoft.com>
3764
3765         * BaseDataList.cs: added ConnectToDataSource method that called from 
3766         OnLoad, fixed GetData method
3767         * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3768         has been created
3769
3770 2006-06-14  Andrew Skiba <andrews@mainsoft.com>
3771
3772         * Menu.cs: add CssStyle value to the rendered class attribute
3773
3774 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3775
3776         * Calendar.cs: Make sure WebControls.Enabled is respected.
3777         * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3778         to 12:00am as MS.NET does the same.
3779         Fixes bug #71251.
3780
3781 2006-06-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
3782
3783         * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3784         DataSourceViewChanged, looks for a datasource in its parent control
3785         fixed GetData method, should not get data if datasource is null
3786
3787 2006-06-13  Konstantin Triger  <kostat@mainsoft.com>
3788
3789         * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3790
3791 2006-06-11  Konstantin Triger  <kostat@mainsoft.com>
3792
3793         * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3794
3795 2006-06-11  Konstantin Triger  <kostat@mainsoft.com>
3796
3797         * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3798
3799 2006-05-24  Vladimir Krasnov  <vladimirk@mainsoft.com>
3800
3801         * DataList.cs: Fixed LoadViewState method
3802
3803 2006-05-04  Lluis Sanchez  <lluis@novell.com>
3804
3805         * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3806
3807 2006-04-25  Konstantin Triger  <kostat@mainsoft.com>
3808
3809         * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3810
3811 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3812
3813         * FormView.cs: fix FormView.PageCount after data binding.
3814
3815 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3816
3817         * CheckBox.cs: certain attributes have to be rendered in the input tag,
3818         not the <span>. Fixes bug #71251.
3819
3820 2006-04-20  Konstantin Triger  <kostat@mainsoft.com>
3821
3822         * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3823         * FormView.cs: 
3824                 enable binding.
3825                 ensure rebinding when FormView.PageIndex is called.
3826                 and bind to the correct PageIndex.
3827
3828 2006-04-20  Konstantin Triger  <kostat@mainsoft.com>
3829
3830         * MenuItem.cs: when binding to IHierarchyData, check whether 
3831                 it implements INavigateUIData and retrieve NavigateUrl.
3832         * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3833         * Menu.cs:
3834                 Enable DataBinding by not throwing NotImplementedException in OnDataBound event. 
3835                 Provide basic CreateChildControls implementation by ensuring the control is bound. 
3836                 Ensure the child controls are created when the postback event is raised. 
3837                 Provide default implementation for SkipLinkText to let the default functionality to work.
3838
3839 2006-04-11  Lluis Sanchez  <lluis@novell.com>
3840
3841         * TreeNodeBinding.cs: Added HasPropertyValue property
3842           to check if some properties have a value in the
3843           state bag.
3844         * TreeNode.cs: Lazily get the dataPath. Instead of getting
3845           bound properties when they are requested, get all of
3846           them when the node is bound and store their values in
3847           the state bag. In this way it won't be necessary to
3848           query every time the datasource to get the values.
3849         * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3850         * TreeView.cs: Call base in OnInit(). Bind nodes after
3851           adding them to the list, to properly keep track of
3852           changes. Don't databind in postbacks.
3853
3854 2006-04-11  Chris Toshok  <toshok@ximian.com>
3855
3856         * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3857
3858 2006-04-06      Konstantin Triger <kostat@mainsoft.com>
3859
3860         * BaseDataList.cs: Fix searching control by DataSourceID.
3861         * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3862
3863         
3864 2006-04-06      Konstantin Triger <kostat@mainsoft.com>
3865
3866         * Login.cs: Added LayoutTemplate property support.
3867         * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3868                 DataBind: correctly bind child controls.
3869                 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3870
3871 2006-03-29  Robert Jordan  <robertj@gmx.net>
3872  
3873         * DataGrid.cs: if custom paging is enabled the persisted item count
3874         must be the count of the rendered items, otherwise paging from the
3875         last to a previous page won't work correctly. Fixes bug #77556.
3876  
3877 2006-03-29  Vladimir Krasnov  <vladimirk@mainsoft.com>
3878
3879         * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3880         when rendering disabled list control
3881
3882 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3883
3884         * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3885
3886 2006-03-28  Alexandre Miguel Pedro Gomes  <alexmipego@gmail.com>
3887
3888         * FontInfo.cs: Implemented ShouldSerializeNames
3889
3890 2006-03-23  Vladimir Krasnov  <vladimirk@mainsoft.com>
3891
3892         * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3893
3894 2006-03-23  Vladimir Krasnov  <vladimirk@mainsoft.com>
3895
3896         * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3897         validation
3898         in PrepareControlHierarchy fixed style applying to AlternatingItem
3899
3900 2006-03-22  Vladimir Krasnov  <vladimirk@mainsoft.com>
3901
3902         * DataList.cs: fixed RepeatColumns property, added value validation
3903         in PrepareControlHierarchy method fixed style applying for
3904         AlternatingItem, EditItem and Separator item
3905         fixed RenderContents method, if no items exist, no nned to
3906         render emty table strructure.
3907
3908 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3909
3910         * CompareValidator.cs: when searching for the control to compare, use
3911         NamingContainer instead of Page. Fixes bug #77793.
3912
3913 2006-03-15  Chris Toshok  <toshok@ximian.com>
3914
3915         * SiteMapPath.cs (InitializeItem): in the Current and Root node
3916         cases, apply the NodeTemplate if it exists and there isn't a
3917         CurrentNodeTemplate or RootNodeTemplate, respectively.
3918
3919 2006-03-15  Chris Toshok  <toshok@ximian.com>
3920
3921         * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3922
3923         * SiteMapDataSource.cs (StartingNodeOffset): new property.
3924         (GetStartNode): add code to handle StartNodeOffset < 0.
3925
3926         * CompositeControl.cs
3927         (ICompositeControlDesignerAccessor.RecreateChildControls): just
3928         call the non-iface method.
3929
3930         * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3931         traverse up the naming container tree looking for our datasource
3932         if we're bound using a DataSourceID.  This fixes things in the
3933         sitemap1 test, which uses a mixture of templates and
3934         ContentPlaceholders with the sitemapdatasource and sitemappath at
3935         different levels in the naming container tree (let along the
3936         itemnode template.)
3937
3938         * SiteMapPath.cs (DataBind): implement this by chaining up to
3939         base.DataBind, then by looping over our children, emitting
3940         OnItemDataBound for each SiteMapNodeItem.
3941         (AddAttributesToRender): remove.
3942         (CreateChildControls): call DataBind as the final step here..  I
3943         have, of course, no idea if this is right.
3944         (CreateControlHierarchy): don't databind our children here, as
3945         they need to be in the Controls collection before we do.
3946         (RenderContents): render our accessibility/screenreader stuff
3947         here, if SkipLinkText != "".
3948
3949 2006-03-15  Vladimir Krasnov  <vladimirk@mainsoft.com>
3950
3951         * DataGridPagerStyle.cs: fixed PrevPageText property
3952
3953 2006-03-13  Chris Toshok  <toshok@ximian.com>
3954
3955         * BaseCompareValidator.cs (Convert): make the
3956         ValidationDataType.String case a bit more compact.
3957
3958 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3959
3960         * ListBox.cs:
3961         (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3962         Patch by Hubert Fongarnand.
3963
3964 2006-03-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
3965
3966         * FontInfo.cs: fixed CopyFrom, this method should not reset the 
3967         received fontinfo if it is the same instance
3968         fixed ToString, corrected output where only font size specified
3969
3970 2006-03-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
3971
3972         * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3973         if it not set but the border has width
3974         fixes in CopyFrom, MergeWith correct unit compare when it has zero 
3975         value
3976
3977 2006-03-12  Vladimir Krasnov  <vladimirk@mainsoft.com>
3978
3979         * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3980         properties of custom class
3981         fixed InitializeNumericPager, pager numbers should be a Label control
3982         fixed CreateControlHierarchy, corrected dataset index of items if
3983         paging is enabled
3984
3985 2006-03-09  Vladimir Krasnov  <vladimirk@mainsoft.com>
3986
3987         * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
3988         of separator item.
3989         fixed CreateControlStyle to set correct cellspacing of table style
3990         fixed InitializeItem to correct applying template to selected and
3991         edit items.
3992
3993 2006-03-08  Chris Toshok  <toshok@ximian.com>
3994
3995         * SiteMapNodeType.cs: nuke.
3996
3997         * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
3998         DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
3999         NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
4000         RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
4001         TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
4002         ValidationCompareOperator.cs, ValidationDataType.cs,
4003         ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
4004         [Serializable] in 2.0.
4005
4006         * DayNameFormat.cs: add "Shortest".
4007
4008 2006-03-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
4009
4010         * LinkButton.cs: fixed AddAttributesToRender, removed not needed 
4011         language attribute
4012
4013 2006-03-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
4014
4015         * TextBox.cs: fixed missing value validations, fixed rendering
4016         of empty value attribute
4017
4018 2006-03-07  Chris Toshok  <toshok@ximian.com>
4019
4020         * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
4021         by chaining up to base.EnableTheming.
4022
4023 2006-03-07  Vladimir Krasnov  <vladimirk@mainsoft.com>
4024
4025         * DataList.cs: fixed CreateControlHierarchy, fixes 77693
4026
4027 2006-03-06  Vladimir Krasnov  <vladimirk@mainsoft.com>
4028
4029         * RadioButton.cs: added ValueAttribute property to store the button
4030         value when in list
4031         * RadioButtonList.cs: fixed tab index when rendering.
4032
4033 2006-03-02  Chris Toshok  <toshok@ximian.com>
4034
4035         * WebControl.cs (SkinID): implement setter/getter, and have them
4036         just chain up to base.SkinID.
4037
4038 2006-02-27  Chris Toshok  <toshok@ximian.com>
4039
4040         * SqlDataSource.cs: track change to DataSourceControl's protected
4041         methods.
4042
4043         * AccessDataSource.cs: same.
4044
4045 2006-02-27  Vladimir Krasnov  <vladimirk@mainsoft.com>
4046
4047         * ListControl.cs: fixed SelectedIndex property, fixed selection
4048         reset on incorrect value
4049
4050 2006-02-27  Vladimir Krasnov  <vladimirk@mainsoft.com>
4051
4052         * TableStyle.cs: fixed AddAttributesToRender function, style
4053         BorderCollapse:Collapse was added if table's CellSpacing is zero
4054
4055 2006-02-23  Chris Toshok  <toshok@ximian.com>
4056
4057         * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
4058         ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
4059         DataControlFieldHeaderCell.cs, DataGridColumn.cs,
4060         HierarchicalDataBoundControl.cs, HyperLinkField.cs,
4061         ImageButton.cs, ImageField.cs, Literal.cs,
4062         ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
4063
4064         * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
4065         DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
4066         HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
4067         SqlDataSourceCommandType.cs, TableSectionStyle.cs,
4068         TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
4069         ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
4070         errors.  most were caused by a property/method being virtual when
4071         it shouldn't be, or vice versa.
4072
4073 2006-02-22  Chris Toshok  <toshok@ximian.com>
4074
4075         * ObjectDataSource.cs: corcompare work.
4076
4077 2006-02-22  Chris Toshok  <toshok@ximian.com>
4078
4079         * ParameterCollection.cs: add an EditorAttribute to the class.
4080
4081         * Parameter.cs: cleanup, fix the Value property, and implement the
4082         Size property.
4083
4084         * SqlDataSourceView.cs: clean things up a bit, and add handling
4085         for parameters.
4086
4087 2006-02-22  Chris Toshok  <toshok@ximian.com>
4088
4089         * SqlDataSourceFilteringEventArgs.cs: formatting.
4090
4091         * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
4092         both the property and ctor arg.
4093
4094         * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
4095         not CommandEventArgs.  Also, cast the return value of
4096         oleCommand.ExecuteReader.
4097
4098         * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
4099         comments.
4100         (GetDbProviderFactory): implement naively, and leave a MonoTODO.
4101         (GetPhysicalDataFilePath): implement, again naively.  this is
4102         where the NRE is generated when we access ConnectionString in a
4103         testcase on .net.
4104         (ConnectionString): dynamically generate this based on our
4105         DataFile attribute.
4106         (DataFile): clear the ConnectionString in the setter so we'll
4107         regenerate it.
4108         (ProviderName): use base.ProviderName in the getter, not
4109         this.ProviderName, so we don't recurse infinitely.
4110         
4111         * SqlDataSourceView.cs: start reworking this class.
4112
4113         * SqlDataSource.cs (GetDbProviderFactory): implement this,
4114         following the MS docs on the matter (if ProviderName is null/"",
4115         return SqlClientFactory.Instance.)
4116         (GetDbProviderFactoryInternal): add an internal method for use by
4117         SqlDataSourceView.
4118         (TrackViewState): don't invoke View.TrackViewState unless we have
4119         one.
4120         (Selecting): change event handler type to match MS.
4121         (Filtering): add missing event.
4122         (View): call CreateDataSourceView, don't just create an
4123         SqlDataSourceView.
4124         
4125 2006-02-21  Chris Toshok  <toshok@ximian.com>
4126
4127         * BoundField.cs: ues the ViewState.Get* pattern with default
4128         instead of the explicit ViewState lookup + null check, and fix the
4129         scope of InitializeDataCell.
4130
4131         * ButtonField.cs: ues the ViewState.Get* pattern with default
4132         instead of the explicit ViewState lookup + null check.
4133
4134         * CommandField.cs: same.
4135
4136         * CheckBox.cs: same.
4137
4138         * AutoGeneratedFieldProperties.cs: same.
4139
4140         * BaseDataList.cs: same.
4141
4142         * CircleHotSpot.cs: same.
4143
4144         * BulletedList.cs: same.
4145
4146         * DataBoundControl.cs: same.
4147
4148         * CookieParameter.cs: same.
4149
4150         * ControlParameter.cs: same.
4151
4152         * CustomValidator.cs: same.
4153
4154         * ButtonFieldBase.cs: same.
4155
4156         * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
4157
4158         * AutoGeneratedField.cs: fix scope of InitializeDataCell.
4159
4160         * BaseValidator.cs: same, and clean up the getter/setter formatting.
4161
4162         * CompareValidator.cs: same.
4163         
4164 2006-02-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
4165
4166         * ListControl.cs: fixed DataSource property, to throw 
4167         ArgumentException on incorrect value
4168
4169 2006-02-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
4170
4171         * Image.cs: fixed missing border="0" attribute, when image has style, 
4172         but border width is not specified.
4173
4174 2006-02-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
4175
4176         * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
4177         correct the "disabled" attribute in CheckBoxList
4178         * CheckBoxList.cs: fixed RenderItem, to correct the "disabled" 
4179         attribute in CheckBoxList
4180
4181 2006-02-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
4182
4183         * CheckBox.cs: fixed Render function, removed rendering of empty 
4184         <span> element if ControlStyleCreated but it's empty.
4185         fixed "disabled" attribute, it should be placed into span element
4186
4187 2006-02-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
4188
4189         * BoundColumn.cs: fixed InitializeCell function, if DataField is 
4190         null or empty string, the cell should not be bound.
4191
4192 2006-02-08  Chris Toshok  <toshok@ximian.com>
4193
4194         * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
4195         AppendDataBoundItems != false.  Also, split all the databinding
4196         logic out to DoDataBinding, which we call from here only if
4197         !NET_2_0.
4198         (DoDataBinding): new function. actually perform the binding.
4199         (PerformDataBinding): implement.
4200         (PerformSelect): chain up to base class.
4201
4202 2006-02-07  Chris Toshok  <toshok@ximian.com>
4203
4204         * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
4205
4206         * Content.cs: use ContentControlBuilderInternal, and add a bunch
4207         of unused (for now) EventHandler's here.
4208
4209         * ContentControlBuilderInternal.cs: rename ContentControlBuilder
4210         to this.
4211
4212 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4213
4214         * ListControl.cs: bound checking for Items when loading the control
4215         state, as the number might have been changed on the fly. Patch by
4216         Elliott Draper.
4217
4218 2006-01-22  Chris Toshok  <toshok@ximian.com>
4219
4220         * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
4221
4222         * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
4223         the intended comparison right and quiet mcs.
4224
4225 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4226
4227         * Button.cs: Add semicolon after client script if does not exist.
4228
4229 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4230
4231         * Button.cs: preserve user logic when adding client validation.
4232
4233 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4234
4235         * BaseValidator.cs: fixing visibility bahavior
4236
4237 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4238
4239         * RangeValidator.cs: allow empty data from the control. Patch from Marek
4240         Habersack that fixes bug #77239.
4241
4242 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4243
4244         * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
4245         by Cyrille Colin. Closes bug #77184.
4246
4247 2006-01-08  Konstantin Triger <kostat@mainsoft.com>
4248
4249         * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
4250          compilation pass with csc 1.1.
4251
4252 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4253
4254         * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4255
4256 2005-12-07  Chris Toshok  <toshok@ximian.com>
4257
4258         * BaseValidator.cs: in the uplevel rendering case, don't render
4259         the text if the validator's Display attribute is "None".  Should
4260         fix bug #76924.
4261
4262 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4263
4264         * RadioButton.cs: if the 'value' attribute is set explicitly (as
4265         RadioButtonList does now), use that as the 'name' attribute.
4266         * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4267         the radiobuttons.
4268
4269         Fixes bug #76706.
4270
4271 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4272
4273         * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4274         the 'name' attribute when not aligninng to the right.
4275         * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4276         the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4277
4278 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4279
4280         * DataGrid.cs: clear the control collection on every call to
4281         CreateControlHierarchy. Fixes bug #76732.
4282
4283 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4284
4285         * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4286
4287 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4288
4289         * CheckBox.cs: use the NameAttribute property for setting 'name'.
4290         * RadioButton.cs: get a UniqueID based identifier for 'name'.
4291         Fixes bug #76710.
4292
4293 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4294
4295         * LinkButton.cs: don't output any javascript when the linkbutton is
4296         disabled. Fixes bug #76713.
4297
4298 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4299
4300         * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4301         UseAccesibleHeader property is true. Patch by Robert Jordan.
4302
4303 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4304
4305         * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4306         control to validate. Fixes bug #76641.
4307
4308 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4309
4310         * BoundColumn.cs: when the column is readonly and we're in edit mode,
4311         keep it as a TextBox. Fixes bug #76714.
4312
4313 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4314
4315         * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4316         enabled. Fixes bug #76608.
4317
4318 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4319
4320         * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4321         the logic to Render and make it render the ID, which fixes bug #76596.
4322
4323 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4324
4325         * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4326
4327 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4328
4329         * Literal.cs: allow LiteralControl as child, but instead of adding it
4330         to the control collection, it just gets the Text out of it.
4331
4332 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4333
4334         * PagedDataSource.cs: fix range when we're at the last page.
4335         * DataGrid.cs: only need to keep the item count in the viewstate.
4336         Fixes bug #76503.
4337
4338 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4339
4340         * ListControl.cs: made GetSelectedIndices() internal.
4341         * ListBox.cs: html-encode the item text. Fixed single and multiple
4342         selection handling. All the tests pass now. Closes bug #76478.
4343
4344 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4345
4346         * ListControl.cs: throw when the selected value is not in the
4347         items collection. Fixes bug #76415.
4348
4349 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4350
4351         * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4352         throw a nullref, so we have to do it by ourselves here to make
4353         the test happy.
4354
4355         * BaseValidator.cs: render the text of the error message even if
4356         we set IsValid programatically. Don't use 'valid' directly, as
4357         IsValid is virtual.
4358
4359         Fixes bug #76299.
4360
4361 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4362
4363         * CustomValidator.cs: an empty ControlToValidate is valid.
4364
4365 2005-10-17  Sebastien Pouliot  <sebastien@ximian.com> 
4366
4367         * RequiredFieldValidator.cs: Added missing permissions.
4368
4369 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4370
4371         * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4372         Now the items get the attributes from the styles in datalist.  Add the
4373         separators after each item, not before. GetItemStyle returns the actual
4374         item style, not the styles in the datalist. Fixes bug #76384 and all
4375         new tests pass.
4376
4377 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4378
4379         * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4380         76373.
4381
4382 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4383
4384         * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4385         bug #76359.
4386
4387 2005-10-06  Sebastien Pouliot  <sebastien@ximian.com> 
4388
4389         * FontInfo.cs: Gendarme strikes again. Sealed class have no need for 
4390         inheritance demands.
4391         * FontUnit.cs: Structs are sealed so there's no need for inheritance 
4392         demands.
4393         * Unit.cs: Structs are sealed so there's no need for inheritance 
4394         demands.
4395
4396 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4397
4398         * PagedDataSource.cs: fix the upper bound for collection and ilist
4399         enumarators.
4400
4401 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4402
4403         * DataGrid.cs: change the ListItemType for the item selected, set
4404         SelectedIndex before calling OnSelectedIndexChanged and set the selected
4405         item type correctly when creating the columns. Fixes bug #76334.
4406
4407         * ButtonColumn.cs:
4408         * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4409         selecting the row, the button keep the regular link color.
4410
4411         * DataGridColumn.cs: made the class internal.
4412
4413 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4414
4415         * DataGrid.cs: fix breakaga of alternating item style in one of my
4416         last patches.
4417
4418 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4419
4420         * Calendar.cs: remove Console.
4421         * ListBox.cs: the name is the UniqueID, not the ClientID.
4422         * WebControl.cs: Attributes is case insensitive.
4423
4424 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4425
4426         * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4427         UniqueID without appending a ".x" or ".y". Fixes several issues in
4428         mojoPortal. Thanks to Joe Audetter for his patience.
4429
4430 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4431
4432         * ButtonColumn.cs: it was lacking databinding, so copied most of it
4433         from BoundColumn.
4434
4435 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4436
4437         * FontInfo.cs: removed useless ctor.
4438         * Style.cs: keep here some commented out debugging code.
4439         * DataGrid.cs: the Items property does not create a new arraylist if
4440         the items_list was already initialized. Add case for Separator.
4441         * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4442         in the header columns has a special ForeColor handling.
4443
4444 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4445
4446         * DataGrid.cs: PageCount must persist in ViewState too and returns the
4447         number of pages in the paged data source once we set that. Fix checks
4448         for visibility of the pager: no more 2 pagers when custom paging is
4449         enabled.
4450
4451 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4452
4453         * ImageButton.cs: fix a bug reported on the list. We were triggering the
4454         command event on every POST. And the 'name' attribute was not being
4455         rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4456         and we couldn't find the values.
4457
4458 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4459
4460         * DataGrid.cs: fix the links for the numeric pager.
4461
4462 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4463
4464         * DataGrid.cs: when paging is enable, the actual number of items is not
4465         the number of items rendered before the postback, but that number times
4466         the number of pages. Now we store the page count in the viewstate. Also,
4467         as the number might be big, don't allocate an array of objects to fake
4468         the collection for the PagedDataSource, but use the new NCollection
4469         class instead, which provides cheap (memory wise) enumerator for an
4470         arbitrary number of items. Thanks to "Adriano" for the test case.
4471
4472 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4473
4474         * Xml.cs: the show must go on. Removed a few NotImplemented.
4475
4476 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4477
4478         * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4479         existing code in 1.1 (or viceversa). RenderContents() does nothing.
4480
4481         * DataGrid.cs: changed autoid api.
4482
4483         * EditCommandColumn.cs: only 'Update' causes validation.
4484
4485         * TableCell.cs: changed autoid api.  RenderContents checks the number
4486         of controls to decide what to do, not the value of Text in the
4487         viewstate.
4488
4489         * TableRow.cs: changed autoid api.
4490
4491         * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4492         event. When we get an EditItem, we need a TextBox to be created and
4493         this one will be the one that gets the event.  Changed
4494         ItemDataBinding to deal with a TextBox too.
4495
4496 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4497
4498         * PagedDataSource.cs: fix IsLastPage. All tests pass.
4499         * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4500         need to keep the old one in a field. Now all tests pass here too.
4501
4502 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4503
4504         * PagedDataSource.cs: don't use the properties when they just return a
4505         field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4506         before ICollection (otherwise, an IList will always fall under the
4507         ICollection case). The enumerator for lists will be empty if 'start'
4508         is beyond the list size. All existing tests pass, but one in
4509         DataGridTest that fails because of some problem with the paging.
4510
4511 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4512
4513         * Style.cs: fix the 2.0 build.
4514
4515 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4516
4517         * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4518         instead write the style attributes directly to the HtmlTextWriter.
4519
4520         * CheckBox.cs: adapted to new API.
4521
4522         * DataGrid.cs: handle null data sources. Fixed the contions that make
4523         the table to be added to the Controls collection.
4524
4525         * Calendar.cs: the table needed an ID and the attributes from the
4526         parent. Also don't create the ControlStyleCollection if it has not
4527         already been created.
4528
4529 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4530
4531         * DataGrid.cs: handle null data sources. Fixed the contions that make
4532         the table to be added to the Controls collection.
4533
4534 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4535
4536         * Calendar.cs: TrackViewState should be called upon creation, not on
4537         every get_XXX call. Cleanup.
4538
4539 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4540
4541         * DataGrid.cs: fix another test. The ID of the table generated by the
4542         datagrid is set to the one on the datagrid if no one set the ID for the
4543         table.
4544
4545 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4546
4547         * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4548         DropDownListTest.
4549
4550 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4551
4552         * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4553         converted to string as X{1,2}-.*. All FontUnitTests pass now.
4554         * Unit.cs: throw a format exception when there's not number or minus
4555         sign in the first non-whitespace character.
4556
4557 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4558
4559         * ListControl.cs: SelectedIndex/SelectedValue can be set before
4560         DataBinding () is called on the control, so we have to keep this values
4561         around and use them after the data is read. If both properties are
4562         used, they must refer to the same item.
4563
4564 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4565
4566         * DataList.cs: fill in the data keys from BaseDataList so that the
4567         events can see them. Only assign DataItem when using data binding and
4568         nullify it after all events are raised.
4569
4570 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4571
4572         * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4573         called.
4574
4575 2005-09-23  Sebastien Pouliot  <sebastien@ximian.com> 
4576  
4577         * Button.cs: For 2.0 don't add the "name" attribute unless there's an 
4578         id.
4579         * DataGrid.cs: Fix TagKey (table) for 2.0.
4580         * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4581         * DropDownList.cs: For 2.0 don't add the "name" attribute unless 
4582         there's an id.
4583         * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4584         id.
4585         * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4586         * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty 
4587         (i.e. not null).
4588         * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4589         id.
4590         * TreeView.cs: Added declarative security (Link and Inheritance 
4591         demands) for Minimal.
4592         * XmlDataSource.cs: Added declarative security (Link and Inheritance
4593         demands) for Minimal.
4594
4595 2005-09-23  Sebastien Pouliot  <sebastien@ximian.com>
4596
4597         * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4598         Inheritance demands) for Minimal.
4599         * Label.cs: Added declarative security (Link and Inheritance demands) 
4600         for Minimal.
4601         * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4602         * ListItemCollection.cs: Added declarative security (LinkDemands) for 
4603         Minimal.
4604         * MonthChangedEventArgs.cs: Added declarative security (Link and, for 
4605         2.0, Inheritance demands) for Minimal.
4606         * PagedDataSource.cs: Added declarative security (LinkDemands) for 
4607         Minimal.
4608         * Panel.cs: Added declarative security (Link and Inheritance demands) 
4609         for Minimal.
4610         * Repeater.cs: Added declarative security (Link and Inheritance 
4611         demands) for Minimal.
4612         * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4613         * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4614         for Minimal.
4615         * TargetConverter.cs: Added declarative security (Link and Inheritance
4616         demands) for Minimal.
4617         * Unit.cs: Added, but only for 1.x, declarative security (Link and 
4618         Inheritance demands) for Minimal.
4619         * ValidatedControlConverter.cs: Added declarative security (Link and 
4620         Inheritance demands) for Minimal.
4621         * WebColorConverter.cs: Added declarative security (Link and 
4622         Inheritance demands) for Minimal.
4623         * Xml.cs: Added declarative security (Link and Inheritance demands) 
4624         for Minimal.
4625         * ValidationSummary.cs: Added declarative security (Link and 
4626         Inheritance demands) for Minimal.
4627
4628 2005-09-23  Sebastien Pouliot  <sebastien@ximian.com> 
4629
4630         * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4631
4632 2005-09-22  Ben Maurer  <bmaurer@ximian.com>
4633
4634         * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4635         it took O(height) time, not O(1).
4636
4637 2005-09-21  Sebastien Pouliot  <sebastien@ximian.com> 
4638  
4639         * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4640
4641 2005-09-21  Sebastien Pouliot  <sebastien@ximian.com>
4642
4643         * AdCreatedEventArgs.cs: Added declarative security (Link and, for 
4644         2.0, Inheritance demands) for Minimal.
4645         * BaseCompareValidator.cs: Added declarative security (Link and 
4646         Inheritance demands) for Minimal.
4647         * BaseDataBoundControl.cs: Added declarative security (Link and 
4648         Inheritance demands) for Minimal.
4649         * BaseValidator.cs: Added declarative security (Link and Inheritance 
4650         demands) for Minimal.
4651         * BoundColumn.cs: Added declarative security (Link and Inheritance 
4652         demands) for Minimal.
4653         * ButtonColumn.cs: Added declarative security (Link and Inheritance 
4654         demands) for Minimal.
4655         * CalendarDay.cs: Added declarative security (Link and Inheritance 
4656         demands) for Minimal.
4657         * CheckBoxList.cs: Added declarative security (Link and Inheritance 
4658         demands) for Minimal.
4659         * CompareValidator.cs: Added declarative security (Link and 
4660         Inheritance demands) for Minimal.
4661         * CustomValidator.cs: Added declarative security (Link and Inheritance
4662         demands) for Minimal.
4663         * DataBoundControl.cs: Added declarative security (Link and 
4664         Inheritance demands) for Minimal.
4665         * DataGridItemCollection.cs: Added declarative security (Link and 
4666         Inheritance demands) for Minimal.
4667         * DataKeyCollection.cs: Added declarative security (LinkDemands) for 
4668         Minimal.
4669         * DataListItemCollection.cs: Added declarative security (LinkDemands) 
4670         for Minimal.
4671         * DataListItem.cs: Added declarative security (Link and Inheritance 
4672         demands) for Minimal.
4673         * FontNamesConverter.cs: Added declarative security (Link and 
4674         Inheritance demands) for Minimal.
4675         * HyperLink.cs: Added declarative security (Link and Inheritance 
4676         demands) for Minimal.
4677         * HyperLinkColumn.cs: Added declarative security (Link and Inheritance 
4678         demands) for Minimal.
4679         * Image.cs: Added declarative security (Link and Inheritance demands) 
4680         for Minimal.
4681
4682 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4683
4684         * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4685         not the DataKeys.
4686         * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4687         a data source, first try reflection, then componentmodel. If we get
4688         an enumerator, keep it around, as MS only calls GetEnumerator once.
4689         Throw an exception if no columns can be created from the given data
4690         source. Tested with DbDataRecord, DataTable, ArrayList and
4691         ICustomTypeDescriptor.
4692
4693 2005-09-20  Sebastien Pouliot  <sebastien@ximian.com>
4694
4695         * AccessDataSource.cs: Added declarative security (Link and Inheritance 
4696         demands) for Minimal. Added [ToolboxBitmap] on class.
4697         * AdRotator.cs: Added declarative security (Link and Inheritance 
4698         demands) for Minimal. Removed extra Page and ViewState properties.
4699         * BulletedList.cs: Added declarative security (Link and Inheritance 
4700         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4701         * Button.cs: Added declarative security (Link and Inheritance demands) 
4702         for Minimal. Added [SupportsEventValidation] on class (2.0).
4703         * Calendar.cs: Added declarative security (Link and Inheritance 
4704         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4705         * CheckBox.cs: Added declarative security (Link and Inheritance 
4706         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4707         * CompositeControl.cs: Added declarative security (Link and Inheritance 
4708         demands) for Minimal. Added new protected RecreateChildControls method.
4709         * DataControlCommands.cs: Added declarative security (LinkDemands) for 
4710         Minimal. Added private ctor.
4711         * DataGrid.cs: Added declarative security (Link and Inheritance 
4712         demands) for Minimal. Fixed properties for 2.0 (mostly removing 
4713         [Bindable]). Added override for TagKey property.
4714         * DataGridColumn.cs: Added declarative security (Link and Inheritance 
4715         demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4716         * DataGridItem.cs: Added declarative security (Link and Inheritance 
4717         demands) for Minimal. Added IDataItemContainer interface for 2.0.
4718         * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for 
4719         Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4720         * DataList.cs: Removed [Load|Save]ControlState methods.
4721         * DropDownList.cs: Added declarative security (Link and Inheritance 
4722         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4723         * EditCommandColumn.cs: Added declarative security (Link and 
4724         Inheritance demands) for Minimal. Added missing attributes, 
4725         [DefaultValue] and [Localize] for 2.0.
4726         * FontInfo.cs: Added declarative security (Link and Inheritance 
4727         demands) for Minimal. Remove [Bindable] and added [RefreshProperties] 
4728         for 2.0.
4729         * Login.cs: Added declarative security (Link and Inheritance demands) 
4730         for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4731         * ImageButton.cs: Added declarative security (Link and Inheritance 
4732         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4733         * LinkButton.cs: Added declarative security (Link and Inheritance 
4734         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4735         * ListBox.cs: Added declarative security (Link and Inheritance demands) 
4736         for Minimal. Added [SupportsEventValidation] on class (2.0).
4737         * Literal.cs: Added declarative security (Link and Inheritance demands) 
4738         for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4739         * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4740         * MenuItemStyle.cs: Changed IsEmpty to public (required to compile - 
4741         but will be shown as extra).
4742         * RadioButton.cs: Added declarative security (Link and Inheritance 
4743         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4744         * RadioButtonList.cs: Added declarative security (Link and Inheritance 
4745         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4746         * RangeValidator.cs: Added declarative security (Link and Inheritance 
4747         demands) for Minimal. Added missing [Themeable] attributes.
4748         * RegularExpressionValidator.cs: Added declarative security (Link and 
4749         Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add 
4750         [Localizable].
4751         * RoleGroupCollection.cs: Added declarative security (Link and 
4752         Inheritance demands) for Minimal. Fixed base class (changed in RC). 
4753         Re-implemented CopyTo. Removed some methods.
4754         * Style.cs: Added declarative security (Link and Inheritance demands) 
4755         for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4756         is now public in 2.0.
4757         * Table.cs: Added declarative security (Link and Inheritance demands) 
4758         for Minimal. Added [SupportsEventValidation] on class (2.0).
4759         * TableCell.cs: Fixed PersistenceMode for 2.0.
4760         * TextBox.cs: Added declarative security (Link and Inheritance demands) 
4761         for Minimal. Added [SupportsEventValidation] on class (2.0).
4762         * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile - 
4763         but will be shown as extra).
4764         * WebControl.cs: Added declarative security (Link and Inheritance 
4765         demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated 
4766         property.
4767
4768 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4769
4770         * TableStyle.cs: fixed typo that prevented restoring GridLines from
4771         a saved viewstate.
4772
4773         * DataGrid.cs: the table does not get an auto ID. When restoring from
4774         viewstate, use all the saved columns, not just that data bound ones. Set
4775         the owner of the BoundColumns created. Save/restore columns.
4776         OnItemCreated happens after the item is initialized and the data item is
4777         set before the event and nullified after OnItemDataBound.
4778         Add the render_table to the Controls immediately, otherwise we might get
4779         errors from child controls such as "must be rendered inside a form".
4780         Keep the items created in the list waiting for them.
4781         The table uses the attributes from the DataGrid and ControlStyle.
4782         Raise OnItemCommand on all bubble events and don't propagate bubble
4783         event up in the hierarchy
4784
4785         * TableCell.cs: it does not get an automatic ID.
4786         * BoundColumn.cs: FormatDataValue returns an empty string on null input
4787         (there was already a test for this).
4788
4789         Fixes bug #76117.
4790
4791 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4792
4793         * DataGridColumnCollection.cs: track the view state in the newly added
4794         items.
4795
4796 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4797
4798         * DataGrid.cs: merge column styles too. Fixes bug #76106.
4799         * DataGridColumn.cs: new internal method to retrieve the styles without
4800         creating an instance for them.
4801
4802 2005-09-15  Sebastien Pouliot  <sebastien@ximian.com>
4803
4804         * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs, 
4805         Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with 
4806         StateBag.SetDirty (true).
4807
4808 2005-09-14  Sebastien Pouliot  <sebastien@ximian.com>
4809
4810         * Menu.cs: Fixed parameter orders for CreateStyleRule.
4811
4812 2005-09-13  Chris Toshok  <toshok@ximian.com>
4813
4814         * Style.cs: corcompare stuff.
4815
4816         * RequiredFieldValidator.cs: more corcompare stuff.
4817
4818         * CheckBoxList.cs: clean up some of the interface methods vs
4819         protected virtual 2.0 calls.
4820
4821         * SubMenuStyle.cs: corcompare says this should implement
4822         ICustomTypeDescriptor... sooo, make it.
4823
4824 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4825
4826         * TableCell.cs: do the same as HyperLink and others in
4827         AddParsedSubobject so that adding a literal control does not remove the
4828         existing controls if any. Fixes bug #76078.
4829
4830 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4831
4832         * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4833
4834 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4835
4836         * ImageButton.cs: fix invalid cast exception.
4837
4838 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4839
4840         * ListItem.cs: throw in AddParsedSubObject if the object is not a
4841         LiteralControl.
4842         * RadioButtonList.cs: implemented LoadPostData and
4843         RaisePostDataChangedEvent.
4844
4845 2005-09-09  Chris Toshok  <toshok@ximian.com>
4846
4847         * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4848         ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4849         LoadPostData/RaisePostDataChangedEvent.
4850
4851 2005-09-09  Chris Toshok  <toshok@ximian.com>
4852
4853         * FontInfo.cs (IsEmpty): new internal property, used by
4854         Style.IsEmpty.
4855
4856         * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4857         well.
4858
4859 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4860
4861         * ListItemCollection.cs: remove obsoleted methods.
4862         * ListBox.cs: use IStateManager on the item collection.
4863
4864 2005-09-08  Eyal Alaluf  <eyala@mainsoft.com>
4865
4866         * Use C# 1.0 style of delegate instantiating. Needed to compile
4867         Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4868
4869 2005-09-07  Chris Toshok  <toshok@ximian.com>
4870
4871         * Calendar.cs (WriteDay): always add BackColor=Silver,
4872         ForeColor=White to selected day cells, before copying over the
4873         selectedDayStyle, if it exists.
4874         (WriteDays): fix nunit test - if the first day of the month falls
4875         on the first day of the week, go back one week (effectively adding
4876         a row of dates from the previous month.)
4877         (WriteTitle): don't copy the control style to the tableTitle,
4878         since it might have height specifications, which would make the
4879         title look rather off.
4880
4881 2005-09-07  Chris Toshok  <toshok@ximian.com>
4882
4883         * ValidationSummary.cs (AddAttributesToRender): we only set
4884         display=none if there are no errors.
4885
4886         * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4887         call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4888
4889 2005-09-07  Chris Toshok  <toshok@ximian.com>
4890
4891         * ListControl.cs (SelectedIndex): add comment about how you'd
4892         think OnSelectedIndexChanged would be called.. and you'd be wrong.
4893         (Text): implement in terms of SelectedValue.
4894         (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4895         (LoadControlState): implement - this is where the selected index
4896         ArrayList gets stuffed in 2.0.
4897         (OnInit): call Page.RegisterRequiresControlState.
4898         (OnTextChanged): implement.
4899         (RenderContents): for now just chain up to base.RenderContents.
4900         (SaveControlState): save our control state properly.
4901         (GetSelectedIndices): split this out from SaveViewState to it can
4902         be used by both that and SaveControlState.
4903         (SaveViewState): mangle this function so it works in both 2.0 and
4904         1.0.
4905         (LoadViewState): same.
4906
4907 2005-09-06  Chris Toshok  <toshok@ximian.com>
4908
4909         * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4910         we weren't assigned an ID.
4911
4912         * ValidationSummary.cs (AddAttributesToRender): same.
4913
4914 2005-09-06  Chris Toshok  <toshok@ximian.com>
4915
4916         * WebControl.cs: revert the last change.
4917
4918 2005-09-06  Chris Toshok  <toshok@ximian.com>
4919
4920         * WebControl.cs (AddAttributesToRender): always render ClientID.
4921
4922         * ValidationSummary.cs (Render): same.
4923
4924         * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4925         here.
4926
4927 2005-09-06  Chris Toshok  <toshok@ximian.com>
4928
4929         * ValidationSummary.cs (Render): only do the JS stuff when the
4930         validators on the page are uplevel.
4931
4932         * BaseValidator.cs (Render): remove unnecessary comment.
4933
4934 2005-09-05  Chris Toshok  <toshok@ximian.com>
4935
4936         * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4937         stored in the ViewState.
4938
4939 2005-09-02  Chris Toshok  <toshok@ximian.com>
4940
4941         * Repeater.cs (GetData): change this slightly so the Repeater
4942         doesn't keep a ref to the return value of GetData.
4943
4944 2005-09-01  Chris Toshok  <toshok@ximian.com>
4945
4946         * ListControl.cs (AppendDataBoundItems): implement (2.0)
4947         (TagKey): same.
4948
4949 2005-09-01  Chris Toshok  <toshok@ximian.com>
4950
4951         * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4952         System.Web.UI.WebControls/ValidatedControlConverter.cs,
4953         System.Web.UI.WebControls/Xml.cs,
4954         System.Web.UI.WebControls/RegularExpressionValidator.cs,
4955         System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4956         System.Web.UI.WebControls/Menu.cs,
4957         System.Web.UI.WebControls/MailMessageEventArgs.cs,
4958         System.Web.UI.WebControls/MenuItemStyle.cs,
4959         System.Web.UI.WebControls/RangeValidator.cs,
4960         System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4961         System.Web.UI.WebControls/MenuItem.cs,
4962         System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4963         System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4964         System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4965         System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4966         System.Web.UI.WebControls/XmlBuilder.cs,
4967         System.Web.UI.WebControls/ImageButton.cs: someone stop me.  more
4968         corcompare work.
4969
4970 2005-09-01  Chris Toshok  <toshok@ximian.com>
4971
4972         * System.Web.UI.WebControls/Button.cs,
4973         System.Web.UI.WebControls/ButtonField.cs,
4974         System.Web.UI.WebControls/DataControlField.cs,
4975         System.Web.UI.WebControls/BaseCompareValidator.cs,
4976         System.Web.UI.WebControls/AutoGeneratedField.cs,
4977         System.Web.UI.WebControls/CustomValidator.cs,
4978         System.Web.UI.WebControls/Content.cs,
4979         System.Web.UI.WebControls/BoundField.cs,
4980         System.Web.UI.WebControls/AdRotator.cs,
4981         System.Web.UI.WebControls/ButtonColumn.cs,
4982         System.Web.UI.WebControls/CompareValidator.cs,
4983         System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
4984         work.  Stub things out, and add attributes.
4985
4986 2005-09-01  Chris Toshok  <toshok@ximian.com>
4987
4988         * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
4989         CommandField.cs, HyperLinkColumn.cs, Table.cs,
4990         RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
4991         CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
4992         Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
4993         TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
4994         BaseValidator.cs, CustomValidator.cs, TextBox.cs,
4995         ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
4996         RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
4997         Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
4998         XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
4999         CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
5000         WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
5001         TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
5002         TableItemStyle.cs: Add some WebCategory and WebSysDescription
5003         attributes.
5004
5005 2005-09-01  Chris Toshok  <toshok@ximian.com>
5006
5007         * AccessDataSource.cs: corcompare work.
5008
5009         * SqlDataSource.cs: same.
5010         
5011 2005-09-01  Miguel de Icaza  <miguel@novell.com>
5012
5013         * Various places: make sure that the DefaultValue matches the
5014         type.  Thanks to Michael for pointing this out.
5015
5016         In future audits, you might want to use the following awk command:
5017
5018         awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
5019         !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
5020         print $0; looking = 0; } /public/ && looking { looking = 0; } '
5021         *.cs
5022
5023         The above skips bools, strings and ints as those were fine as we
5024         set them.  The bug was on the other ones.
5025
5026 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5027
5028         * Repeater.cs: fix the build.
5029
5030 2005-08-31  Chris Toshok  <toshok@ximian.com>
5031
5032         * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
5033         {Base}DataList, and also from debug spew garnered from some
5034         Repeater subclass tests on MS.
5035         (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
5036         the IEnumerable by calling GetData().
5037         (DataBind): reset RequiresDataBinding to false (2.0).
5038         (DataMember): copy the set implementation from DataList, and add
5039         2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
5040         (DataSource): more c&p.
5041         (DataSourceID); implement (2.0)
5042         (Initialized): implement (2.0)
5043         (IsBoundUsingDataSource): implement (2.0)
5044         (RequiresDataBinding): implement (2.0)
5045         (SelectArguments): implement (2.0)
5046         (CreateDataSourceSelectArguments): implement (2.0)
5047         (EnsureDataBound): implement (2.0)
5048         (GetData): implement.
5049         (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
5050         (2.0)
5051         (OnDataSourceViewChanged): set RequiresDataBinding to true, but
5052         leave the MonoTODO. (2.0)
5053         (OnInit): call base.OnInit instead of throwing NIE, but leave the
5054         MonoTODO (2.0)
5055         (OnLoad): implement.
5056         (OnPreRender): implement.
5057         (ConnectToDataSource): new method - look for the right control.
5058
5059 2005-08-31  Chris Toshok  <toshok@ximian.com>
5060
5061         * XmlDataSourceView.cs: fix the scope of our select.  Don't use
5062         call SelectNodes on the XmlDocument, not on
5063         XmlDocument.DocumentElement.
5064
5065 2005-08-31  Chris Toshok  <toshok@ximian.com>
5066
5067         * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
5068         (DoXPathSelect): put the xpath selection stuff here.
5069         (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
5070         null).
5071
5072         * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
5073         select here, the view does it.
5074
5075 2005-08-31  Jackson Harper  <jackson@ximian.com>
5076
5077         * DataList.cs: Remove some debugging code that was starting to bug
5078         me (tee hee).
5079
5080 2005-08-31  Chris Toshok  <toshok@ximian.com>
5081
5082         * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
5083         create our Navigator by calling node.CreateNavigator().
5084
5085 2005-08-31  Chris Toshok  <toshok@ximian.com>
5086
5087         * XmlDataSource.cs (GetXmlDataDocument): rename this to
5088         GetXmlDocument, and change the return value from XmlDataDocument
5089         to XmlDocument.
5090         (LoadXmlDataDocument): similar change.
5091         (Save): xmlDataDocument -> xmlDocument.
5092         (CanBeSaved): there's no ReadOnly attribute.
5093         (LoadViewState, SaveViewState, TrackViewState): nuke.
5094         (GetHierarchicalView): xmlDataDocument -> xmlDocument.
5095         (CacheDuration): stub out with NIE.
5096         (CacheExpirationPolocy): same.
5097         (CacheKeyDependency): same.
5098         (EnableCaching): same.
5099         (ReadOnly): nuke.
5100         (Data, DataFile): xmlDataDocument -> xmlDocument.
5101         (Schema, SchemaFile): nuke.
5102         (Transform, TransformFile): xmlDataDocument -> xmlDocument.
5103         
5104 2005-08-30  Lluis Sanchez Gual  <lluis@novell.com> 
5105
5106         * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
5107           Don't use the obsolete IsSet method.
5108         * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
5109         * CheckBox.cs: Implement some 2.0 methods.
5110         * GridView.cs: Removed some "throw new NotImplementedException"
5111
5112 2005-08-29  Chris Toshok  <toshok@ximian.com>
5113
5114         * TreeView.cs: Use the StateBag accessors Ben added, and implement
5115         SkipLinkText and Visible.
5116
5117 2005-08-29  Chris Toshok  <toshok@ximian.com>
5118
5119         * TreeView.cs: fix typo in an attribute.
5120
5121 2005-08-29  Jackson Harper  <jackson@ximian.com>
5122
5123         * PagedDataSource.cs: If it's not a list or collection we don't
5124         use a bounded enumerator.
5125
5126 2005-08-29  Chris Toshok  <toshok@ximian.com>
5127
5128         * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
5129
5130         * CheckBox.cs: same.
5131         
5132         * BaseValidator.cs: same.
5133         
5134         * DropDownList.cs: same.
5135         
5136         * ValidationSummary.cs: same.
5137
5138 2005-08-28  Chris Toshok  <toshok@ximian.com>
5139
5140         * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
5141
5142 2005-08-26  Chris Toshok  <toshok@ximian.com>
5143
5144         * TextBox.cs: implement ValidationGroup and CausesValidation
5145         properties.
5146
5147 2005-08-26  Lluis Sanchez Gual  <lluis@novell.com> 
5148
5149         * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
5150         SetDirty.
5151
5152 2005-08-26  Chris Toshok  <toshok@ximian.com>
5153
5154         * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
5155
5156         * FontUnit.cs: add two 2.0 ctors, and the 2.0
5157         ToString(IFormatProvider) method.
5158
5159 2005-08-26  Sebastien Pouliot  <sebastien@ximian.com> 
5160  
5161         * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
5162         no items are present in the list.
5163         * RoleGroup.cs: Added missing attributes.
5164         * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
5165         documented) methods.
5166         * TableStyle.cs: *for 2.0* adding a "url({0})" to background image 
5167         must be done in the HtmlTextWriter (not in the TableStyle).
5168
5169 2005-08-26  Chris Toshok  <toshok@ximian.com>
5170
5171         * Calendar.cs (UseAccessibleHeader): implement.
5172         (RaisePostBackEvent): some #ifdef ugliness to get this all working
5173         propertly between 1.x and 2.0
5174         (WriteDayHeader): if UseAccessibleHeader == true, render header
5175         cells as th's, not td's, and add abbr and scope attributes.
5176
5177 2005-08-25  Chris Toshok  <toshok@ximian.com>
5178
5179         * Calendar.cs (Caption, CaptionAlign): implement these properties.
5180         (Render): if we have a non-empty caption, show it.
5181         (WriteCaption): new method, output the caption.
5182
5183 2005-08-25  Chris Toshok  <toshok@ximian.com>
5184
5185         * Calendar.cs (Render): Copy the entire style from the Calendar to
5186         the Table, not just the font.
5187         (WriteDay): don't just write the link/text/etc.  Create a
5188         LiteralControl as a child of the cell, before the call to
5189         OnDayRender, with its text set to the day number.  After
5190         OnDayRender, set the literal's text to either the number again (if
5191         it's not selectable) or the full text of the js __doPostBack
5192         hyperlink (if it is.)  Also, use cell.RenderControl here so we can
5193         render child controls with the id's listed properly (and arguably
5194         incorrectly).
5195         (ApplyTitleStyleCell): remove.
5196         (WriteTitle): apply the titleStyle to the enclosing table, not the
5197         table cell containing the month name.  Also, copy from the
5198         Calendar's ControlStyle to populate tableTitle's style initially.
5199         We end up with more (superfluous) style attributes than MS, but
5200         it's better than having less.
5201
5202 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>
5203
5204         * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
5205         an image is used.
5206
5207 2005-08-25  Peter Dennis Bartok  <pbartok@novell.com>
5208
5209         * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
5210           and RegisteredCssClass property
5211
5212 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com> 
5213  
5214         * LoginView.cs: Fixed attributes.
5215         * Style.cs: Change SetRegisteredCssClass to internal and not to throw
5216         an exception to allow pages to work on 2.x.
5217
5218 2005-08-25  Chris Toshok  <toshok@ximian.com>
5219
5220         * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
5221
5222         * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
5223         yet implemented.
5224
5225         * HiddenField.cs: stub out this class and label everything
5226         MonoTODO.
5227
5228 2005-08-25  Jackson Harper  <jackson@ximian.com>
5229
5230         * DataGrid.cs: Disable the pager row if there no paging enabled
5231         or available.
5232
5233 2005-08-25  Chris Toshok  <toshok@ximian.com>
5234
5235         * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
5236         typo.
5237
5238         * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
5239         add a using statement.
5240
5241 2005-08-25  Chris Toshok  <toshok@ximian.com>
5242
5243         * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
5244         corcompare.
5245
5246         * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
5247         corcompare.
5248
5249 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>
5250
5251         * Login.cs: Added rendering and fixed parts of the authentication.
5252         Now using IStateManager to allow compilation in another assembly (e.g.
5253         to test the control under IIS). Needs more tests (error conditions) 
5254         once we get a "real" Membership provider running.
5255         * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided 
5256         (returns true).
5257
5258 2005-08-25  Chris Toshok  <toshok@ximian.com>
5259
5260         * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5261
5262 2005-08-25  Chris Toshok  <toshok@ximian.com>
5263
5264         * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5265         calling base.Foo to get the standalone adrotator (1.0) tests to
5266         run without throwing exceptions.
5267
5268 2005-08-25  Chris Toshok  <toshok@ximian.com>
5269
5270         * ValidationSummary.cs (ValidationGroup): implement.
5271         (Render): use Page.GetValidators in .net 2.0, so we can support
5272         ValidationGroups.  Also, <br>'s get rendered as <br /> in .net
5273         2.0.
5274
5275 2005-08-25  Chris Toshok  <toshok@ximian.com>
5276
5277         * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5278         2.0 attribute modifiers, and revert back to "override".
5279
5280         * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5281         2.0 attribute modifiers, and revert back to "override".
5282         (BorderStyle): same.
5283         (BorderWidth): same.
5284
5285         * TextBox.cs (SaveViewState): implement naively, calling
5286         base.SaveViewState.
5287         (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5288         modifiers, and revert back to "override".
5289
5290 2005-08-25  Peter Dennis Bartok  <pbartok@novell.com>
5291
5292         * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5293           Load ViewState for derived classes; no public LoadViewState override 
5294           exists in those classes
5295         * Style.cs: Added 2.0 IsStyleEmpty method
5296
5297 2005-08-25  Jackson Harper  <jackson@ximian.com>
5298
5299         * DataGrid.cs: The number of pages set in the pager is specified
5300         by PageButtonCount.
5301
5302 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>
5303
5304         * LoginView.cs: New (2.0). Work in progress.
5305
5306 2005-08-24  Chris Toshok  <toshok@ximian.com>
5307
5308         * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5309         Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5310         ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5311         DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5312         Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5313         PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5314         DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5315         Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5316         ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5317         Add MonoTODO's for all things that throw NotImplementException.
5318
5319 2005-08-24  Sebastien Pouliot  <sebastien@ximian.com>
5320
5321         * RoleGroup.cs: New (2.0). Complete implementation.
5322         * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5323
5324 2005-08-23  Chris Toshok  <toshok@ximian.com>
5325
5326         * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5327         on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5328         even though they were written for the 1.0 stuff.
5329
5330 2005-08-23  Chris Toshok  <toshok@ximian.com>
5331
5332         * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5333         output.  Our tests now pass on both mono and ms, with both 1.x and
5334         2.0 profiles.
5335
5336 2005-08-23  Sebastien Pouliot  <sebastien@ximian.com>
5337
5338         * Login.cs: Throw exception if the specified provider doesn't exists.
5339         * LoginStatus.cs: Complete events.
5340
5341 2005-08-22  Jackson Harper  <jackson@ximian.com>
5342
5343         * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5344         controls.
5345         (InitializeNumericPager): Now that the pager actually renders
5346         properly I can see that I was computing it incorrectly.
5347
5348 2005-08-22  Jackson Harper  <jackson@ximian.com>
5349
5350         * DataGrid.cs (RenderTable): Make sure the new table gets the
5351         correct style.
5352         (CreateColumnSet): Clear the data source columnbs before adding
5353         new ones regardless of whether or not a property descriptor was
5354         found.
5355         (InitializePager): pager_cell needs to be a member so it isn't
5356         created more then once per a render.
5357         (InitializeNumericPager): Compute start and end more
5358         correctly.
5359         - Link commands are 1 indexed.
5360         (CreateControlHierarchy): Clear the table before we begin
5361         rendering.
5362         - Revert patch that made adding the pagers conditional. This is
5363         incorrect, the pagers are always added. Only their visibility is
5364         affected by the pager style.
5365         - Save the entire count in the viewstate, not just the rendered
5366         count. So when paging is enabled the pager's count isn't broken by
5367         postback.
5368
5369 2005-08-22  Chris Toshok  <toshok@ximian.com>
5370
5371         * LinkButton.cs (ValidationGroup): implement.
5372         (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5373         pass ValidationGroup to Page.Validate.
5374
5375 2005-08-22  Chris Toshok  <toshok@ximian.com>
5376
5377         * ImageButton.cs (ValidationGroup): implement.
5378         (IPostBackEventHandler.RaisePostBackEvent): if we cause
5379         validation, call Page.Validate properly (in both profiles).
5380
5381 2005-08-22  Chris Toshok  <toshok@ximian.com>
5382
5383         * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5384         case, pass ValidationGroup to Page.Validate.
5385         (ValidationGroup): implement using ViewState.
5386
5387 2005-08-22  Chris Toshok  <toshok@ximian.com>
5388
5389         * BaseValidator.cs (Text): 2.0 only.  implement naively, just
5390         get/set base.Text.
5391         (OnInit): add 2.0 support for validation groups.
5392         (OnUnload): same.
5393
5394 2005-08-22  Sebastien Pouliot  <sebastien@ximian.com>
5395
5396         * LoginName.cs: New (2.0) web control.
5397         * LoginStatus.cs: New (2.0) web control.
5398
5399 2005-08-19  Chris Toshok  <toshok@ximian.com>
5400
5401         * LinkButton.cs (ValidationGroup): implement getter/setter.
5402         (RaisePostBackEvent): implement naively, by c&p'ing the old
5403         implementation of IPostBackEventHandler.RaisePostBackEvent, but
5404         making use of the ValidationGroup in the call to Page.Validate.
5405
5406         * Button.cs: same.
5407
5408         * Style.cs (LoadViewState): set our style flags for all the things
5409         we have flags for.  Seems like the subclass flags should be
5410         handled in overridden LoadViewState methods, but none of the Style
5411         subclasses seem to override this method.
5412
5413 2005-08-19  Chris Toshok  <toshok@ximian.com>
5414
5415         * TableStyle.cs (Merge, MergeWith): make these look a bit more
5416         like Copy/CopyFrom, with the styles checks instead of just
5417         ViewState checks.
5418
5419         * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5420         TableStyle.cs.
5421
5422 2005-08-19  Chris Toshok  <toshok@ximian.com>
5423
5424         * DataGrid.cs (InitializePager): don't unconditionally set
5425         pager_cell to the numeric pager (especially after setting it
5426         conditionally to the nextprev pager.)
5427         (InitializeNumericPager): the link buttons don't participate in
5428         validation.
5429         (InitializeNextPrevPager): same.
5430         (CreateControlHierarchy): create the top/bottom pagers only if the
5431         PagerStyle says too.
5432
5433 2005-08-19  Sebastien Pouliot  <sebastien@ximian.com> 
5434
5435         * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5436
5437 2005-08-18  Chris Toshok  <toshok@ximian.com>
5438
5439         * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5440         the start of this method so templates are created properly.
5441
5442 2005-08-18  Dick Porter  <dick@ximian.com>
5443
5444         * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5445         DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5446         RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5447         BaseDataList.cs, DataList.cs, BulletedList.cs,
5448         DataBoundControl.cs, Login.cs, GridView.cs,
5449         CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5450         TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5451         AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5452         DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5453         CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5454         ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5455         BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5456         LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5457         fixes
5458
5459 2005-08-18  Sebastien Pouliot  <sebastien@ximian.com> 
5460
5461         * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5462         anywhere...
5463         * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5464         empty array of objects just to get the number of items.
5465         * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5466         but we're missing some bits from the class lib to complete all this...
5467
5468 2005-08-17  Jackson Harper  <jackson@ximian.com>
5469
5470         * DataGrid.cs: Only create one pager and add it to both the top
5471         and bottom of the grid, this way all the id numbers stay the same
5472         and we save a bunch of cycles.
5473
5474 2005-08-17  Jackson Harper  <jackson@ximian.com>
5475
5476         * DataGrid.cs: The top and bottom pagers are always created. Just
5477         the visibility is changed by the PagerStyle::Position.
5478
5479 2005-08-17  Chris Toshok  <toshok@ximian.com>
5480
5481         * CompositeControl.cs (RecreateChildControls): implement naively -
5482         just call CreateChildControls.  We might need to call
5483         Controls.Clear() as well, but for the time being, this is ok.
5484
5485 2005-08-17  Sebastien Pouliot  <sebastien@ximian.com> 
5486  
5487         * BaseDataList.cs: Completed implementation for 2.0.
5488
5489 2005-08-16  Sebastien Pouliot  <sebastien@ximian.com> 
5490  
5491         * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5492         * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5493
5494 2005-08-16  Sebastien Pouliot  <sebastien@ximian.com>
5495
5496         * BaseDataList.cs: Removed old internal ctor as DataList TagKey was 
5497         fixed for 2.0.
5498         * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5499         Adjusted size and ordering of the ViewState (new element #0 is still
5500         unknown). Properly fixed the TagKey in 2.0.
5501         * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for 
5502         all properties using enums.
5503         * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5504         * TableItemStyle.cs: Fixed attribute rendering to use style to render
5505         "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5506
5507 2005-08-15  Jackson Harper  <jackson@ximian.com>
5508
5509         * EditCommandColumn.cs: Use a normal LinkButton.
5510
5511 2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>
5512
5513         * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the 
5514         viewstate (even if assigned to the default value).
5515         * TableRow.cs: Implement TableSection property (2.0). It has no effect
5516         on the rendering of the table row.
5517
5518 2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>
5519
5520         * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5521         and removed [Bindable] attributes for 2.0.
5522         * DataList.cs: Added new 2.0 attributes on class and removed [Bindable] 
5523         attributes (for 2.0).
5524         * DataListCommandEventArgs.cs: Not sealed in 2.0.
5525         * DataListItemEventArgs.cs: Not sealed in 2.0.
5526         * Image.cs: Fixed [Designer] attribute on class and all [Editor] 
5527         attributes for URLs.
5528         * Login.cs: Fixed [Designer] attribute on class and all [Editor] 
5529         attributes for URLs.
5530         * Table.cs: Fixed [Editor] attribute for 2.0.
5531         * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5532         * TableCell.cs: Fixed [Designer] attribute. Fixed property name for 
5533         AssociatedHeaderCellID and it's [DefaultValue] attribute.
5534         * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText 
5535         and Scope attributes.
5536         * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5537         on TableSection attribute.
5538         * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5539
5540 2005-08-14  Sebastien Pouliot  <sebastien@ximian.com>
5541
5542         * Image.cs: Fixed attributes for 2.0 profile.
5543         * Login.cs: Fixed some attributes and default values.
5544         * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5545         RaisePostBackEvent (TODO) in 2.0 profile.
5546         * TableCell.cs: Fix properties (Bindable, Localizable, Designer...) 
5547         and added AssociateHeaderCellID property (TODO).
5548         * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5549         * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5550         page (if the device requires to breaks the table into multiple pages).
5551         This seems to be a "flag" class, the real work will be in Table.
5552         * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5553         * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5554         page (if the device requires to breaks the table into multiple pages).
5555         This seems to be a "flag" class, the real work will be in Table.
5556         * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5557         * TableRow.cs: Remove [Bindable (true)] from properties and add
5558         [Bindable (false)] and [Designer] on class. Added new TableSection 
5559         property (TODO).
5560         * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5561         * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's 
5562         broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5563         * TableStyle.cs: Fixed attributes for 2.0 profile. Added new 
5564         FillStyleAttributes method (2.0).
5565
5566 2005-08-13  Sebastien Pouliot  <sebastien@ximian.com>
5567
5568         * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and 
5569         attributes from existing controls.
5570         * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5571         * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5572
5573 2005-08-12  Jackson Harper  <jackson@ximian.com>
5574
5575         * TableRow.cs: No AutoID for TableRows.
5576
5577 2005-08-12  Jackson Harper  <jackson@ximian.com>
5578
5579         * DataGrid.cs (CreateRenderColumns): If we aren't using data
5580         binding grab the rendercols from the data source columns.
5581         (LoadViewState): Restore the bound columns when reloading the
5582         viewstate.
5583         (InitializeNumericPager): Create elipsised pagers.
5584         (CreateItem): Don't set the item's ID.
5585         (CreateItem): Add the control to the table before it is databound
5586         so that it's value is saved in the viewstate.
5587         (CreateControlHierarchy): Create a fake data source when not using
5588         databinding. Don't add controls to the table as they are added in
5589         CreateItem now.
5590         (PrepareControlHierarchy): Make footers and header non visible if
5591         they aren't enabled.
5592
5593 2005-08-12  Chris Toshok  <toshok@ximian.com>
5594
5595         * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5596         docs says these methods/properties "ensure the child controls are
5597         created" -- so call EnsureChildControls() before invoking the base
5598         class's code.
5599
5600 2005-08-12  Jackson Harper  <jackson@ximian.com>
5601
5602         * BoundColumn.cs: Set the controls text instead of adding a
5603         literal control. So it is saved in the controls viewstate.
5604
5605 2005-08-11  Jackson Harper  <jackson@ximian.com>
5606
5607         * CheckBoxList.cs: Set the tabindex on the checkbox control and
5608         don't render it on the main table (Setting it to zero causes it to
5609         not be rendered). Also use the invariant culture on the id.
5610
5611 2005-08-11  Dick Porter  <dick@ximian.com>
5612
5613         * CheckBox.cs: Let ViewState manage removals; apply styles and
5614         "style" attributes in a surrounding <span>.  Fixes unit tests.
5615
5616 2005-08-10  Chris Toshok  <toshok@ximian.com>
5617
5618         * Label.cs (LoadViewState): set the Text attribute from our
5619         ViewState (if it exists) to clear out any child controls.  Fixes
5620         jsunit test label/label-child-control-postback.aspx.
5621
5622 2005-08-10  Jackson Harper  <jackson@ximian.com>
5623
5624         * PagedDataSource.cs: Respect paging with all data source types.
5625
5626 2005-08-09  Sebastien Pouliot  <sebastien@ximian.com> 
5627  
5628         * BaseDataList.cs: Changed Controls property from "virtual new" 
5629         (2.0 doc) to "override" (monop) to fix the Visible bug (see
5630         datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5631         any controls (required due to change to Controls). Implemented 
5632         DataBind(bool) for 2.0.
5633         * DataListItem.cs: Fix the multiple table when extractRows is used.
5634         Removed extra span tags by rendering contents (not control). Added
5635         support for IDataItemContainer (2.0).
5636
5637 2005-08-08  Jackson Harper  <jackson@ximian.com>
5638
5639         * DataGrid.cs: Apply the styles to each item type. 
5640
5641 2005-08-08  Jackson Harper  <jackson@ximian.com>
5642
5643         * PagedDataSource.cs: If paging is not enabled keep enumerating to
5644         the end of the list.
5645
5646 2005-08-08  Sebastien Pouliot  <sebastien@ximian.com> 
5647  
5648         * BaseDataList.cs: Remove old compatibility stuff.
5649         * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5650         * WebControl.cs: Always call CreateControlStyle to create the 
5651         ControlStyle. Fix the exception for datalist-style-edit.aspx.
5652
5653 2005-08-05  Jackson Harper  <jackson@ximian.com>
5654
5655         * DataGrid.cs: Don't make the current page index a link in the
5656         pager.
5657
5658 2005-08-05  Jackson Harper  <jackson@ximian.com>
5659
5660         * DataGrid.cs: Honour PagerPosition.
5661
5662 2005-08-05  Jackson Harper  <jackson@ximian.com>
5663
5664         * PagedDataSource.cs: Round PageCount properly.
5665
5666 2005-08-05  Dick Porter  <dick@ximian.com>
5667
5668         * CheckBox.cs: Shut corcompare up a bit more.  Still need to
5669         figure out how to not use AddAttributesToRender to get it
5670         completely silent.
5671
5672         * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5673
5674         * DataGridColumn.cs: Added the duplicate viewstate manipulation
5675         methods
5676
5677 2005-08-05  Chris Toshok  <toshok@ximian.com>
5678
5679         * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5680         null when it comes to the format string.
5681         (FormatDataTextValue): same.
5682
5683 2005-08-04  Chris Toshok  <toshok@ximian.com>
5684
5685         * BaseValidator.cs (Validate): only test a validator if it's both
5686         enabled and visible.
5687
5688 2005-08-04  Chris Toshok  <toshok@ximian.com>
5689
5690         * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5691         !Enabled.
5692
5693 2005-08-04  Jackson Harper  <jackson@ximian.com>
5694
5695         * DataGrid.cs: Add a new space control for each link. Also make
5696         the link's text 1 indexed. Don't add the space after the last
5697         item.
5698
5699 2005-08-04  Ben Maurer  <bmaurer@ximian.com>
5700
5701         * LinkButton.cs: Fix up the test suite here.
5702
5703         * Panel.cs: Fix up nowrap
5704
5705 2005-08-04  Peter Dennis Bartok  <pbartok@novell.com>
5706
5707         * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5708         * ListControl.cs: Clear item list before adding data (again)
5709
5710 2005-08-04  Jordi Mas i Hernandez  <jordi@ximian.com>
5711
5712         * Calendar.cs: fixes issues with OnDayRender event and others
5713
5714 2005-08-04  Peter Dennis Bartok  <pbartok@novell.com> 
5715
5716         * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5717           creating rows
5718         * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5719           if DataTextField is bound
5720         * EditCommandColumn.cs(InitializeCell): MS inserts a &nbsp; between the 
5721           two controls in edit mode, lets do the same
5722
5723 2005-08-03  Jackson Harper  <jackson@ximian.com>
5724
5725         * BoundColumn.cs: Respek for the thisExpr when data binding.
5726
5727 2005-08-03  Peter Dennis Bartok  <pbartok@novell.com> 
5728
5729         * EditCommandColumn.cs: No need to offer edit when in edit mode.
5730           Flipped output
5731
5732 2005-08-04  Dick Porter  <dick@ximian.com>
5733
5734         * DataGridColumn.cs: New implementation
5735
5736         * DataGrid.cs: 
5737         * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5738
5739 2005-08-03  Peter Dennis Bartok  <pbartok@novell.com> 
5740
5741         * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5742           set tracking var
5743
5744 2005-08-03  Ben Maurer  <bmaurer@ximian.com>
5745
5746         * RepeatInfo.cs: Finally figured out how to use base control
5747
5748 2005-08-03  Jackson Harper  <jackson@ximian.com>
5749
5750         * ButtonColumn.cs: Partial implementation.
5751
5752 2005-08-03  Peter Dennis Bartok  <pbartok@novell.com> 
5753
5754         * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5755           negative value
5756
5757 2005-08-03  Jordi Mas i Hernandez  <jordi@ximian.com>
5758
5759         * Calendar.cs: fixes Save/Load state
5760
5761 2005-08-03  Jordi Mas i Hernandez  <jordi@ximian.com>
5762
5763         * Calendar.cs: bug fixes
5764
5765 2005-08-03  Jackson Harper  <jackson@ximian.com>
5766
5767         * DataGrid.cs: Merge the table style with the render table. Some
5768         initial work on the numeric pager. Remove some debugging code.
5769         
5770 2005-08-03  Jackson Harper  <jackson@ximian.com>
5771
5772         * BoundColumn.cs: Implement Initialize and InitializeCell. When
5773         Data is formated it uses the DataFormatString that was set at the
5774         time Initialize was called (or null if initialize was never
5775         called).
5776
5777 2005-08-02  Jordi Mas i Hernandez  <jordi@ximian.com>
5778
5779         * RadioButtonList.cs: bug fixes
5780
5781 2005-08-02  Jordi Mas i Hernandez  <jordi@ximian.com>
5782
5783         * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing  
5784         AddAttributesToRender
5785         * RadioButtonList.cs: Implementation
5786
5787 2005-08-01  Jackson Harper  <jackson@ximian.com>
5788
5789         * TableStyle.cs: Copy style bit when copying from another style.
5790
5791 2005-08-01  Jackson Harper  <jackson@ximian.com>
5792
5793         * PagedDataSource.cs: Implement missing properties, use yield for
5794         the Enumerator methods. Only allow the enums to return one page at
5795         a time.
5796
5797 2005-08-01  Chris Toshok  <toshok@ximian.com>
5798
5799         * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5800
5801 2005-08-01  Peter Dennis Bartok  <pbartok@novell.com> 
5802
5803         * WebControl.cs: Track enabled state across sessions
5804
5805 2005-08-01  Peter Dennis Bartok  <pbartok@novell.com> 
5806
5807         * ListControl.cs(OnDatabinding): Value is equivalent to text if
5808           by default
5809
5810 2005-08-01  Jordi Mas i Hernandez  <jordi@ximian.com>
5811
5812         * ImageButton.cs: fixes, complete missing parts
5813
5814 2005-07-31  Ben Maurer  <bmaurer@ximian.com>
5815
5816         * TextBox.cs: Html encode for multiline text boxes
5817
5818         * HyperLink.cs: Resolve images
5819
5820 2005-07-30  Chris Toshok  <toshok@ximian.com>
5821
5822         * BaseValidator.cs: initial version of 2.0 properties
5823         ValidationGroup and SetFocusOnError.
5824
5825 2005-07-30  Chris Toshok  <toshok@ximian.com>
5826
5827         * HyperLinkColumn.cs (InitializeCell): clean this up.
5828
5829 2005-07-30  Chris Toshok  <toshok@ximian.com>
5830
5831         * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5832         DataBinder.FormatResult.
5833         (FormatDataTextValue): same.
5834         (Initialize): call base.Initialize.
5835         (ItemDataBinding): new function, get the text/navigateurl and set
5836         them on our HyperLink control.
5837         (InitializeCell): create a hyperlink control in the
5838         Item/EditItem/AlternatingItem case.
5839
5840 2005-07-30  Ben Maurer  <bmaurer@ximian.com>
5841
5842         * RepeatInfo.cs: Handle 0 items situations correctly
5843
5844         * HyperLink.cs: Resolve urls correctly
5845
5846         * CheckBox.cs: use the correct ID for the label element.
5847
5848         * Label.cs: Correct AddParsedSubObject impl. See FAQ
5849
5850 2005-07-29  Chris Toshok  <toshok@ximian.com>
5851
5852         * BaseCompareValidator.cs (GetDateElementOrder): implement.
5853
5854 2005-07-29  Chris Toshok  <toshok@ximian.com>
5855
5856         * BaseCompareValidator.cs (GetFullYear): implement two ways.  The
5857         #if'ed out version follows microsoft's docs on msdn, but doesn't
5858         match ms's behavior.  The other matches their behavior but not
5859         their docs.  we use the latter.  go figure.
5860         (get_CutoffYear): implement using
5861         CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5862
5863 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com> 
5864
5865         * FontInfo.cs:
5866           - Name property now throws exception when set to null
5867           - Names now handles situation where our bit tells us we have
5868             a font, but it's not in the StateBag (null removal)
5869         * RangeValidator.cs: Removed unused vars
5870
5871 2005-07-29  Ben Maurer  <bmaurer@ximian.com>
5872
5873         * Label.cs: ClientID should be used rather than UniqueID to get
5874         the For attribute
5875
5876 2005-07-29  Chris Toshok  <toshok@ximian.com>
5877
5878         * BaseValidator.cs (Validatate): not sure if this is entirely
5879         correct (some fairly deep testing required), but setting Enabled =
5880         false has the effect of setting IsValid = true.
5881
5882 2005-07-29  Ben Maurer  <bmaurer@ximian.com>
5883
5884         * RadioButton.cs: The "remove from groupstate" isn't needed any
5885         more, now that statebag is correct.
5886
5887 2005-07-29  Dick Porter  <dick@ximian.com>
5888
5889         * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5890         ViewState when it is null.
5891
5892         * CheckBox.cs: Hide nonstandard API
5893
5894 2005-07-29  Jordi Mas i Hernandez  <jordi@ximian.com>
5895
5896         * Calendar.cs: fixes exceptions, bug fixes, new features
5897         * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5898         * CalendarDay.cs: fixes default value
5899
5900 2005-07-28  Ben Maurer  <bmaurer@ximian.com>
5901
5902         * CompositeControl.cs: Stub
5903
5904 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com> 
5905
5906         * EditCommandColumn.cs: Implemented
5907
5908 2005-07-27  Chris Toshok  <toshok@ximian.com>
5909
5910         * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5911
5912 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com> 
5913
5914         * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the 
5915           client side code)
5916
5917 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com>
5918
5919         * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5920           for it's constructor, so remove it
5921         * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5922
5923 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com> 
5924
5925         * DataGridPagerStyle.cs: Implemented
5926         * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5927         * Style.cs: Added Styles enum values for DataGridPagerStyle
5928
5929 2005-07-27  Jordi Mas i Hernandez  <jordi@ximian.com>
5930
5931         * Calendar.cs: get the styles right, honors more properties, fixes, fix 
5932         var names style
5933
5934 2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>
5935
5936         * DataGridItem.cs: Implemented
5937
5938 2005-07-26  Chris Toshok  <toshok@ximian.com>
5939
5940         * LinkButton.cs (AddParsedSubObject): reversed the order of
5941         Controls.Add() and Text = null
5942         (set_Text): call Controls.Clear()
5943         (RenderContents): use HasControls() for the if test instead of
5944         Text != "".
5945
5946         * HyperLink.cs (AddParsedSubObject): reversed the order of
5947         Controls.Add () and Text = null;
5948
5949 2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>
5950
5951         * DataGridItemCollection.cs: Implemented
5952
5953 2005-07-26  Chris Toshok  <toshok@ximian.com>
5954
5955         * LinkButton.cs (AddParsedSubObject): copy implementation from
5956         HyperLink.
5957         (RenderContents): only call writer.Write(Text) if Text != "".
5958         Otherwise default to base.RenderContents.
5959
5960 2005-07-26  Chris Toshok  <toshok@ximian.com>
5961         
5962         * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5963         ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
5964         (Page != null) around my last commit.
5965         
5966 2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>
5967
5968         * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5969           Fixed use of literal strings, instead using Consts
5970         * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5971           TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5972           Panel.cs, Literal.cs: Added attributes
5973         * BaseValidator.cs: Added missing override
5974
5975 2005-07-26  Chris Toshok  <toshok@ximian.com>
5976
5977         * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5978         ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5979         Page.VerifyRenderingInServerFormHere.
5980
5981 2005-07-26  Chris Toshok  <toshok@ximian.com>
5982
5983         * BaseValidator.cs: remove some MonoTODO's about the client side
5984         validator stuff.
5985
5986 2005-07-26  Jordi Mas i Hernandez  <jordi@ximian.com>
5987
5988         * Calendar.cs: selection of dates, state load, save, track, support
5989         for new properties, many fixes. 
5990
5991 2005-07-26  Miguel de Icaza  <miguel@novell.com>
5992
5993         * Style.cs: Temporary methods to help buliding .NET 2.x
5994
5995 2005-07-25  Peter Dennis Bartok  <pbartok@novell.com>
5996
5997         * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed 
5998           attributes
5999         * Xml.cs: Fixed base class, attributes
6000         * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs, 
6001           Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs, 
6002           CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs, 
6003           DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs, 
6004           ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
6005
6006 2005-07-25  Ben Maurer  <bmaurer@ximian.com>
6007
6008         * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
6009         cracktastic.
6010         
6011 2005-07-25  Ben Maurer  <bmaurer@ximian.com>
6012
6013         * RepeatInfo.cs: If the repeater has one column, the separators
6014         are rendered on a different line
6015
6016 2005-07-25  Peter Dennis Bartok  <pbartok@novell.com> 
6017
6018         * DataGridSortCommandEventArgs: Sealed class
6019         * ButtonColumn.cs, Calendar.cs: Added Attributes
6020
6021 2005-07-25  Peter Dennis Bartok  <pbartok@novell.com>
6022
6023         * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
6024           BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
6025
6026 2005-07-25  Peter Dennis Bartok  <pbartok@novell.com> 
6027
6028         * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
6029           DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
6030
6031 2005-07-25  Chris Toshok  <toshok@ximian.com>
6032
6033         * ValidationSummary.cs (AddAttributesToRender): add client side
6034         support.
6035         (OnPreRender): set the "been here" flag.
6036         (Render): add client side support.
6037
6038 2005-07-25  Ben Maurer  <bmaurer@ximian.com>
6039
6040         * RepeatInfo.cs: Split the horiz and vertical cases, because this
6041         class has rules that are beyond strange. Continue working to make
6042         my tests work.
6043
6044 2005-07-25  Ben Maurer  <bmaurer@ximian.com>
6045
6046         * RepeatInfo.cs: Misc fixes for my test suite.
6047
6048 2005-07-25  Jackson Harper  <jackson@ximian.com>
6049
6050         * DataGrid.cs: Set the command name and args on the link buttons.
6051
6052 2005-07-25  Jackson Harper  <jackson@ximian.com>
6053
6054         * DataGrid.cs: Lots o implementation.
6055
6056 2005-07-25  Jackson Harper  <jackson@ximian.com>
6057
6058         * BoundColumn.cs: Partial implementation to get the DataGrid tests
6059         passing again.
6060
6061 2005-07-23  Jordi Mas i Hernandez  <jordi@ximian.com>
6062
6063         * Button.cs: fixes events, adds attributes
6064
6065 2005-07-23  Chris Toshok  <toshok@ximian.com>
6066
6067         * BaseValidator.cs (GetControlValidateValue): handle ListItems as
6068         prop.GetValue results.
6069         (Render): fix the static non-uplevel case, so that we display text
6070         when there's an error.
6071
6072 2005-07-22  Chris Toshok  <toshok@ximian.com>
6073
6074         * RegularExpressionValidator.cs (AddAttributesToRender): only
6075         output ValidationExpression if it's != null.
6076
6077 2005-07-22  Chris Toshok  <toshok@ximian.com>
6078
6079         * BaseValidator.cs (AddAttributesToRender): fix up the Display
6080         rendering such it matches MS's output.
6081         (Render): stop using the huge complicated if's for each output
6082         stage and move to boolean flags, and fix the static-nonuplevel
6083         case, where a validator outputs as nothing but &nbsp;
6084
6085 2005-07-22  Jordi Mas i Hernandez  <jordi@ximian.com>
6086         * Calendar.cs: Initial implementation
6087         * CalendarSelectionMode.cs: fix enum order
6088
6089 2005-07-22  Sebastien Pouliot  <sebastien@ximian.com>
6090
6091         * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
6092         (or more?) specific cases - including correct support for separators.
6093         Added some (commented) debugging code.
6094         * HyperLink.cs: Only render href and target attributes if they're not
6095         empty. Add "border=0" when rendering <img> tag. Fix Target default 
6096         value.
6097
6098 2005-07-22  Peter Dennis Bartok  <pbartok@novell.com> 
6099
6100         * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
6101
6102 2005-07-22  Peter Dennis Bartok  <pbartok@novell.com> 
6103
6104         * Style.cs (CopyFrom): Reset our styles and don't set bits from
6105           target explicitly, properties will set them
6106
6107 2005-07-22  Dick Porter  <dick@ximian.com>
6108
6109         * BoundColumn.cs: 
6110         * ButtonColumn.cs: Initial stubs
6111
6112 2005-07-22  Dick Porter  <dick@ximian.com>
6113
6114         * RadioButton.cs:
6115         * CheckBox.cs: Add assembly attributes
6116
6117 2005-07-22  Ben Maurer  <bmaurer@ximian.com>
6118
6119         * HyperLink.cs: Handle non-literal children.
6120
6121 2005-07-21  Ben Maurer  <bmaurer@ximian.com>
6122
6123         * Label.cs: SP1 stuff
6124
6125 2005-07-21  Chris Toshok  <toshok@ximian.com>
6126
6127         * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
6128         stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
6129         stuff WebUIValidation.js uses, so we don't support it for uplevel
6130         rendering.
6131
6132 2005-07-21  Chris Toshok  <toshok@ximian.com>
6133
6134         * BaseValidator.cs (DetermineRenderUplevel): include checks for
6135         the EcmaScriptVersion and W3CDomVersion.
6136
6137 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com> 
6138   
6139         * BaseDataList.cs: Support IEnumerable.
6140         * DataList.cs: Fix alternate items.
6141         * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
6142         controls and the Text property.
6143
6144 2005-07-21  Ben Maurer  <bmaurer@ximian.com>
6145
6146         * TextBoxMode.cs: Wrong ordering of enum...
6147
6148 2005-07-21  Chris Toshok  <toshok@ximian.com>
6149
6150         * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
6151         cache the results.
6152
6153 2005-07-21  Chris Toshok  <toshok@ximian.com>
6154
6155         * BaseValidator.cs (get_PropertiesValid): use our containing
6156         NamingContainer, not ourselves, to look up controls.
6157         (CheckControlValidationProperty): same.
6158         (GetControlRenderID): same.
6159         (GetControlValidationValue): same.
6160         (AddAttributesToRender): add the display style attribute if
6161         Display != Static, and add the value of IsValid if it's false.
6162         (DetermineRenderUplevel): use a try block around (Page.Request)
6163         since that can raise an exception.
6164         (OnPreRender): set pre_render_called, so we can consult it in
6165         Render.
6166         (Render): complicate this method more to handle more of the
6167         Display/pre_render_called permutations.
6168
6169 2005-07-21  Peter Dennis Bartok  <pbartok@novell.com> 
6170
6171         * CustomValidator.cs: Initial implementation, still work in progress
6172
6173 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>
6174
6175         * DataList.cs: Fix rendering for special items (-1).
6176
6177 2005-07-21  Ben Maurer  <bmaurer@ximian.com>
6178
6179         * RepeatInfo.cs: Fix most of the tests.
6180
6181 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>
6182
6183         * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
6184         Add a border=0 attribute if no style is defined.
6185         * TableCell.cs: Use HtmlTextWriterTag (not a string).
6186         * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
6187         * TableRow.cs: Use HtmlTextWriterTag (not a string).
6188
6189 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com> 
6190  
6191         * BaseDataList.cs: Fix attributes.
6192         * HorizontalAlign.cs: Fix attributes.
6193         * Image.cs: Fix attributes and enums checks.
6194         * Table.cs: Fix attributes an enums checks.
6195         * TableCell.cs: Fix attributes.
6196         * TableCellCollection.cs: Fix attributes.
6197         * TableItemStyle.cs: Fix attributes and enums checks.
6198         * TableRowCollection.cs: Fix attributes.
6199         * TableRow.cs: Fix attributes.
6200         * TableStyle.cs: Fix attributes and enums checks.
6201         * VerticalAlign.cs: Fix attributes.
6202
6203 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>
6204
6205         * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
6206         * DataList.cs: Added rendering support when ExtractTemplatesRows
6207         property is true (but RepeatInfo needs to be fixed to see it works).
6208         * DataListItem.cs: Added rendering support when extractRows parameter
6209         is true (but RepeatInfo still needs to be fixed ;-)
6210
6211 2005-07-21  Duncan Mak  <duncan@novell.com>
6212
6213         * HyperLinkColumn.cs: Initial implementation.
6214         Todo: Figure out Initialize and InitializeCell.
6215
6216 2005-07-20  Chris Toshok  <toshok@ximian.com>
6217
6218         * BaseValidator.cs: don't use Page.FindControl, use this Control's
6219         FindControl, so it'll use the same naming container.
6220
6221 2005-07-21  Duncan Mak  <duncan@novell.com>
6222
6223         * DataGridCommandEventArgs.cs: 
6224         * DataGridPageChangedEventArgs.cs: 
6225         * RepeaterCommandEventArgs.cs:  Fixed visibility.
6226
6227         * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
6228         * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..       
6229         
6230 2005-07-20  Chris Toshok  <toshok@ximian.com>
6231
6232         * Button.cs: hook up the client side validation stuff.
6233
6234         * ImageButton.cs: same.
6235
6236         * LinkButton.cs: same, although it's a little more complicated
6237         here.
6238
6239 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com> 
6240
6241         * DropDownList.cs: 
6242           - Implemented RaisePostDataChangedEvent()
6243           - Spewing postback command if AutoPostBack is true
6244
6245 2005-07-20  Chris Toshok  <toshok@ximian.com>
6246
6247         * BaseValidator.cs: another Page != null check when uplevel
6248         rendering.
6249         
6250 2005-07-20  Chris Toshok  <toshok@ximian.com>
6251
6252         * BaseValidator.cs: check Page != null when determining if we're
6253         rendering uplevel or not.
6254
6255 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com> 
6256
6257         * ListItemCollection.cs: Removed obsolete method that's no longer
6258           referenced
6259
6260 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com>
6261
6262         * DropDownList.cs: Oops. Forgot to implement LoadPostData
6263         * ListItemCollection.cs: Added convenience method to have faster
6264           PostData handling
6265
6266 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com>
6267
6268         * DropDownList.cs:
6269           - Automatically select the first item if none are selected
6270           - Throw exception if more than one item is selected
6271
6272 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com> 
6273  
6274         * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6275         handled by RepeatInfo).
6276
6277 2005-07-20  Jackson Harper  <jackson@ximian.com>
6278
6279         * DataGrid.cs: Store the data source created columns in a 
6280           DataGridColumnCollection. This way they can be put in the 
6281           view state more easily, and accessed without casting.
6282
6283 2005-07-20  Chris Toshok  <toshok@ximian.com>
6284
6285         * BaseValidator.cs (AddAttributesToRender): render the client side
6286         attributes if we're in uplevel mode.
6287         (DetermineRenderUplevel): flesh out a bit - for now basically
6288         return true unless the control has it disabled.
6289         (OnInit): only add the validator to Page's list if there is, in
6290         fact, a page.
6291         (OnUnload): same for removal.
6292         (OnPreRender): hook up client scripting stuff here.  Only the call
6293         to RegisterValidatorCommonScript is a for sure thing here, the
6294         registering of the submit statement and startup script should
6295         probably go elsewhere, but I don't know where.
6296         (RegisterValidatorCommonScript): register the <script
6297         src=".../WebUIValidation.js"> tag, if it's not already there.
6298         (RegisterValidatorDeclaration): add our span object to the
6299         Page_Validators JS array.
6300         (Render): always render the tags (although this is probably not
6301         right), and call RegisterValidatorDeclaration here.
6302         
6303         * BaseCompareValidator.cs (AddAttributesToRender): render the
6304         client side attributes if we're in uplevel mode.
6305         (DetermineRenderUplevel): add MonoTODO.. why override this?  Just
6306         call base.DetermineRenderUplevel for now.
6307
6308         * RegularExpressionValidator.cs (AddAttributesToRender): render
6309         the client side attributes if we're in uplevel mode.
6310         
6311         * RequiredFieldValidator.cs (AddAttributesToRender): same.
6312
6313         * CompareValidator.cs (AddAttributesToRender): same.
6314         
6315 2005-07-20  Jackson Harper  <jackson@ximian.com>
6316
6317         * DataGrid.cs: Save the data source created column set in the 
6318           view state.
6319
6320 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com> 
6321  
6322         * DataList.cs: Fix events and properties exceptions. Give the right
6323         informations to RenderItem.
6324
6325 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com> 
6326
6327         * ValidationSummary.cs: Implemented rendering
6328
6329 2005-07-20  Jackson Harper  <jackson@ximian.com>
6330
6331         * DataGrid.cs: column names are cached and only regenerated if useDataSource
6332           is set to true. Otherwise they are just fetched from the last set that 
6333           was generated from the source.
6334
6335 2005-07-20  Jackson Harper  <jackson@ximian.com>
6336
6337         * DataGrid.cs: Assign some properties of newly created BoundColumns.
6338
6339 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com> 
6340  
6341         * DataList.cs: Fix viewstate ordering.
6342
6343 2005-07-20  Ben Maurer  <bmaurer@ximian.com>
6344
6345         * SelectedDatesCollection.cs: Apprarently, I don't write code well
6346         at 1 am.
6347
6348         * Repeater.cs: Uh, actually add stuff to the items collection
6349          (thanks sp ;-)
6350
6351 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com> 
6352  
6353         * BaseDataList.cs: EnsureChildControls on Controls property.
6354         * DataList.cs: Fix rendering and Controls/Items differences.
6355         * DataListItem.cs: Added rendering of controls.
6356
6357 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com>
6358
6359         * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6360
6361 2005-07-20  Jackson Harper  <jackson@ximian.com>
6362
6363         * DataGrid.cs: Add some of the collections. Implement
6364           column creation.
6365
6366 2005-07-20  Jackson Harper  <jackson@ximian.com>
6367
6368         * PagedDataSource.cs: Implement GetItemProperties, this is
6369           needed for the datagrid.
6370
6371 2005-07-20  Ben Maurer  <bmaurer@ximian.com>
6372
6373         * DataGridColumnCollection.cs: New impl
6374
6375         * TemplateColumn.cs: New impl
6376
6377 2005-07-19  Sebastien Pouliot  <sebastien@ximian.com>
6378
6379         * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6380         * DataList.cs: Work in progress... Added attributes, proper 
6381         IRepeatInfoUser support and cool things stolen from other classes.
6382         * DataListCommandEventArgs.cs: Class is sealed.
6383         * DataListItem.cs: RenderItem is public.
6384
6385 2005-07-19  Jackson Harper  <jackson@ximian.com>
6386
6387         * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6388           a viewstate object if all the viewstate stuff is null.
6389
6390 2005-07-19  Jackson Harper  <jackson@ximian.com>
6391
6392         * DataGrid.cs: Implement style properties and viewstate 
6393           saving/loading/tracking.
6394
6395 2005-07-19  Chris Toshok  <toshok@ximian.com>
6396         
6397         * BaseValidator.cs: more fixes from pdb.
6398
6399 2005-07-19  Chris Toshok  <toshok@ximian.com>
6400
6401         * BaseValidator.cs: some test-driven fixes.
6402
6403 2005-07-19  Chris Toshok  <toshok@ximian.com>
6404
6405         * BaseValidator.cs: Initial implementation.
6406
6407 2005-07-19  Sebastien Pouliot  <sebastien@ximian.com>
6408
6409         * Repeater.cs: Fix small typo.
6410
6411 2005-07-19  Peter Dennis Bartok  <pbartok@novell.com> 
6412
6413         * ValidationSummaryTest.cs: Started implementation
6414         * RangeValidator.cs: Implemented
6415         * ValidatedControlConverter.cs: Implemented
6416         * DropDownList.cs: Implemented
6417
6418 2005-07-19  Jackson Harper  <jackson@ximian.com>
6419
6420         * DataGrid.cs: Implement bubble event.
6421
6422 2005-07-19  Jackson Harper  <jackson@ximian.com>
6423
6424         * DataGrid.cs: New implementation. Just properties and events for 
6425           now.
6426
6427 2005-07-18  Chris Toshok  <toshok@ximian.com>
6428
6429         * BaseCompareValidator.cs: Initial implementation, with some NYI.
6430
6431 2005-07-19  Ben Maurer  <bmaurer@ximian.com>
6432
6433         * FontUnit.cs: Corcompare fixes
6434
6435         * UnitConverter.cs: Fix api diffs
6436
6437 2005-07-18  Ben Maurer  <bmaurer@ximian.com>
6438
6439         * ListControl.cs: Fix api differences
6440
6441 2005-07-18  Sebastien Pouliot  <sebastien@ximian.com>
6442
6443         * Table.cs: Fix indentation for caption. Simplify check when adding 
6444         controls.
6445         * TableRow.cs: Simplify check when adding controls.
6446
6447 2005-07-18  Chris Toshok  <toshok@ximian.com>
6448
6449         * CompareValidator.cs: wtf, just use the base class's methods.
6450
6451 2005-07-18  Chris Toshok  <toshok@ximian.com>
6452
6453         * CompareValidator.cs: do comparisons based on
6454         BaseCompareValidator.Type.
6455
6456 2005-07-18  Chris Toshok  <toshok@ximian.com>
6457
6458         * CompareValidator.cs: initial implementation.
6459
6460 2005-07-18  Chris Toshok  <toshok@ximian.com>
6461
6462         * RegularExpressionValidator.cs: initial implementation.
6463
6464 2005-07-18  Sebastien Pouliot  <sebastien@ximian.com>
6465
6466         * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6467
6468 2005-07-18  Jackson Harper  <jackson@ximian.com>
6469
6470         * CheckBoxList.cs: Implement LoadPostBackData. Also register 
6471           checkboxes for postback if they are checked so we can find
6472           out when they are unchecked. Copy the AutoPostBack variable 
6473           to the to be rendered checkbox when rendering.
6474
6475 2005-07-18  Ben Maurer  <bmaurer@ximian.com>
6476
6477         * TextBox.cs: Finish this up.
6478
6479         * AdRotator.cs: Fix issues in the test suite. Minor style
6480         cleanups.
6481
6482         * Repeater.cs: Fix a bug where the datasource is null and we do
6483         the binding
6484
6485         * WebColorConverter.cs: Optimize by not doing a concat on a
6486         formatted string.
6487
6488 2005-07-17  Ben Maurer  <bmaurer@ximian.com>
6489
6490         * ListItemCollection.cs: Multiple uses of equals rather than
6491         string.compare as below. Remove unreachable code warning.
6492
6493         * WebColorConverter.cs (ConvertTo): Use the == operator on string
6494         rather than an invariant non-case ignoring compare. They are
6495         exactly the same thing. Use proper coding style in this method.
6496
6497         * WebControl.cs: Return null when saving the view state if there
6498         is no state in any of the things we save. This creates a fairly
6499         large savings, because we can avoid saving anything about many
6500         levels of deaply nested controls.
6501
6502 2005-07-15  Jackson Harper  <jackson@ximian.com>
6503
6504         * CheckBoxList.cs: Use the index as the ID, the rest of the 
6505           id is built by being in the NamingContainer.
6506
6507 2005-07-15  Jackson Harper  <jackson@ximian.com>
6508
6509         * ListControl.cs: Use enum instead of string. Saves a lookup. 
6510
6511 2005-07-15  Jackson Harper  <jackson@ximian.com>
6512
6513         * CheckBoxList.cs: FindControl always returns 'this' according
6514           to my probing.
6515
6516 2005-07-15  Jackson Harper  <jackson@ximian.com>
6517
6518         * CheckBoxList.cs: New impl.
6519
6520 2005-07-15  Jackson Harper  <jackson@ximian.com>
6521
6522         * WebControl.cs: Use the ClientID when rendering a controls ID
6523           attribute so that naming containers are honoured. 
6524
6525 2005-07-15  Jackson Harper  <jackson@ximian.com>
6526
6527         * ListControl.cs: use the state manager interface for tracking
6528           the viewstate.
6529
6530 2005-07-15  Ben Maurer  <bmaurer@ximian.com>
6531
6532         * Repeater.cs (DoItem): Add the DataItem before we call user
6533         methods, as it seems to be there with msft.
6534
6535 2005-07-15  Sebastien Pouliot  <sebastien@ximian.com>
6536
6537         * BaseDataList.cs: New. (mostly complete) implementation.
6538         * DataKeyCollection.cs: New. Implementation (complete).
6539         * DataList.cs: New. (mostly incomplete) implementation.
6540         * DataListItem.cs: New. (mostly complete) implementation.
6541         * DataListItemCollection.cs: New. Implementation (complete).
6542
6543 2005-07-15  Ben Maurer  <bmaurer@ximian.com>
6544
6545         * Repeater.cs (DoItem): We need to .Add the control *before* we
6546         data bind it so that the state gets tracked correctly. Fixes the
6547         postback test case.
6548
6549 2005-07-15  Jackson Harper  <jackson@ximian.com>
6550
6551         * ListControl.cs: Simplify comparison. 
6552
6553 2005-07-15  Jackson Harper  <jackson@ximian.com>
6554
6555         * ListControl.cs:
6556         * Repeater.cs: Use new utility class for resolving data sources.
6557
6558 2005-07-15  Jackson Harper  <jackson@ximian.com>
6559
6560         * ListControl.cs: Add attributes so the sub items get parsed 
6561           properly. Remove old unneeded code for resolving lists.
6562
6563 2005-07-15  Jackson Harper  <jackson@ximian.com>
6564
6565         * ListControl.cs: Use the DataSourceHelper so DataMembers are 
6566           resolved properly.
6567
6568 2005-07-14  Ben Maurer  <bmaurer@ximian.com>
6569
6570         * WebControl.cs:
6571           - Some optimizations
6572             * Don't use enum formatting stuff, it is 1) expensive 2) does 
6573               allocations. Use a new method in HtmlControl to do the right
6574               formatting.
6575             * Don't use Enum.IsDefined but an explicit check.
6576             * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6577           - Use the correct coding style.
6578         
6579 2005-07-14  Peter Dennis Bartok  <pbartok@novell.com> 
6580
6581         * WebColorConverter.cs: 
6582           - Alpha of 255 is only set if the hex number is exactly 6 digits
6583           - Ben didn't like the catch { throw; } (even though MS documents to
6584             do so)
6585           - Use Invariant Culture for parsing (thanks, Ben)
6586
6587 2005-07-14  Jackson Harper  <jackson@ximian.com>
6588
6589         * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6590         code-reuse-arific. Also use the IStateManager interface for loading
6591         data instead of the old internal method.
6592
6593 2005-07-14  Peter Dennis Bartok  <pbartok@novell.com>
6594
6595         * WebColorConverter.cs: Implemented
6596
6597 2005-07-14  Ben Maurer  <bmaurer@ximian.com>
6598
6599         * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6600
6601 2005-07-14  Ben Maurer  <bmaurer@ximian.com>
6602
6603         * Repeater.cs: Get it working
6604
6605 2005-07-14  Jackson Harper  <jackson@ximian.com>
6606
6607         * ListControl.cs: Initial implementation of Databinding. Make sure
6608         that the ListItemCollection is created when we load its ViewState. 
6609
6610 2005-07-14  Jackson Harper  <jackson@ximian.com>
6611
6612         * ListControl.cs: Fix typo.
6613
6614 2005-07-14  Jackson Harper  <jackson@ximian.com>
6615
6616         * ListControl.cs: New Implementation. Lacks databinding support.
6617
6618 2005-07-14  Ben Maurer  <bmaurer@ximian.com>
6619
6620         * Repeater.cs: The beginnings of this control
6621
6622 2005-07-14  Peter Dennis Bartok  <pbartok@novell.com>
6623
6624         * TargetConverter.cs: Implemented
6625
6626 2005-07-14  Duncan Mak  <duncan@novell.com>
6627
6628         * PagedDataSource.cs: Initial implementation.
6629
6630         Methods that need to be figured out:
6631         CopyTo, GetItemProperties, PageCount, IsLastPage.
6632
6633         To complete: CollectionEnumerator, ListEnumerator.
6634
6635 2005-07-13  Duncan Mak  <duncan@novell.com>
6636
6637         * RepeatDirection.cs:
6638         * RepeatLayout.cs:
6639         * ValidationCompareOperator.cs:
6640         * ValidationDataType.cs:
6641         * ValidationSummaryDisplayMode.cs: 
6642         * ValidatorDisplay.cs: Added remaining enumerations.
6643         
6644 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>
6645
6646         * FontNamesConverter.cs: Implemented
6647
6648 2005-07-13  Ben Maurer  <bmaurer@ximian.com>
6649
6650         * RepeaterItem.cs: Compile fix
6651
6652         * RepeaterItemCollection.cs: New file
6653
6654         * RepeaterItem.cs: get OnBubbleEvent right.
6655
6656 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com> 
6657
6658         * ListItemCollection.cs: Count can be derived from the array, which
6659           allows us to use a Pair instead of a Triplet and save some space
6660
6661 2005-07-13  Ben Maurer  <bmaurer@ximian.com>
6662
6663         * RepeaterItem.cs: Stub
6664
6665 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>
6666
6667         * ListItemCollection.cs: Implemented
6668         * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6669
6670 2005-07-13  Ben Maurer  <bmaurer@ximian.com>
6671
6672         * RepeatInfo.cs: Impl.
6673
6674 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>
6675
6676         * FirstDayOfWeek.cs: Added
6677
6678 2005-07-13  Jackson Harper  <jackson@ximian.com>
6679
6680         * ListBox.cs: Some parameter checking.
6681
6682 2005-07-13  Sebastien Pouliot  <sebastien@ximian.com>
6683  
6684         * Image.cs: Added support for DescriptionUrl as this property was
6685         added in Fx 1.1 SP1.
6686
6687 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>
6688
6689         * Style.cs (AddAttributesToRender): Don't render attributes if they
6690           contain only their default value
6691
6692 2005-07-13  Sebastien Pouliot  <sebastien@ximian.com> 
6693
6694         * Table.cs: New. Initial re-implementation.
6695         * TableCell.cs: New. Initial re-implementation.
6696         * TableCellCollection.cs: New. Initial re-implementation.
6697         * TableHeaderCell.cs: New. Initial re-implementation.
6698         * TableItemStyle.cs: New. Initial re-implementation.
6699         * TableRow.cs: New. Initial re-implementation.
6700         * TableRowCollection.cs: New. Initial re-implementation.
6701         * TableStyle.cs: New. Initial re-implementation.
6702
6703 2005-07-13  Sebastien Pouliot  <sebastien@ximian.com> 
6704  
6705         * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6706         unit tests (for Style) and more tests in Table* classes.
6707
6708 2005-07-13  Sebastien Pouliot  <sebastien@ximian.com>
6709
6710         * Style.cs: TableStyle and TableItemStyle don't override IsEmpty, 
6711         however IsEmpty returns false if any of their properties are set.
6712         Looks ugly but it's compatible with MS implementation (feature and
6713         signature wise).
6714
6715 2005-07-13  Dick Porter  <dick@ximian.com>
6716
6717         * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6718         null Text properties from the ViewState, test for TextAlign being
6719         out of range.  All to make tests pass on both mono and ms
6720         runtimes.
6721
6722 2005-07-13  Jackson Harper  <jackson@ximian.com>
6723
6724         * ListBox.cs: Use invariant culture when doing a ToString,
6725           set value to the item's value, not to its Text.
6726
6727 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com>
6728
6729         * WebControl.cs (AddAttributesToRender): Added ID to rendered
6730           attributes
6731
6732 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com>
6733
6734         * Style.cs(MergeWith): Handle null styles
6735
6736 2005-07-12  Sebastien Pouliot  <sebastien@ximian.com>
6737
6738         * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6739         the #if NET_2_0 on it.
6740
6741 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com> 
6742
6743         * Style.cs: Only render font elements if fontinfo object exists
6744         * WebControl.cs:
6745           - Implemented SaveViewState()
6746           - Added loading of Style to LoadViewState
6747           - Implemented IAttributeAccessor methods
6748
6749 2005-07-12  Jackson Harper  <jackson@ximian.com>
6750
6751         * ListBox.cs: Even track default values in the viewstate. Call
6752           base's RenderContents.
6753
6754 2005-07-12  Jackson Harper  <jackson@ximian.com>
6755
6756         * ListBox.cs: New impl.
6757
6758 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com> 
6759
6760         * WebControl.cs: 
6761           - Implemented methods
6762           - Fixed brackets
6763
6764 2005-07-12  Ben Maurer  <bmaurer@ximian.com>
6765
6766         * ListItem.cs: New impl.
6767
6768 2005-07-12  Duncan Mak  <duncan@novell.com>
6769
6770         * DayNameFormat.cs: Added.
6771
6772 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com> 
6773
6774         * WebControl.cs: Implemented properties
6775
6776 2005-07-12  Ben Maurer  <bmaurer@ximian.com>
6777
6778         * TextBox.cs: Passwords seem 1) not to be rendered to the client
6779         if set, 2) not kept in view state (for security reasons...)
6780
6781         * LinkButton.cs: 
6782         * Button.cs: Page.Validate () if needed. Gets the validator tests
6783         working again.
6784
6785         * TextBox.cs: Properties to get the validator stuff to work.
6786
6787 2005-07-12  Miguel de Icaza  <miguel@novell.com>
6788
6789         * Unit.cs: If the units are pixels, then truncate the value. 
6790
6791 2005-07-12  Dick Porter  <dick@ximian.com>
6792
6793         * RadioButton.cs: New implementation
6794
6795         * CheckBox.cs: Rearrange the attributes rendering to allow
6796         RadioButton to derive from this
6797
6798 2005-07-12  Jordi Mas i Hernandez  <jordi@ximian.com>
6799
6800         * TitleFormat.cs: Add attribute
6801         * TextBoxMode.cs: Add attribute
6802         * CalendarDay.cs: Initial implementation
6803         * ImageButton.cs: Initial implementation
6804         * CalendarSelectionMode.cs:Initial implementation
6805
6806 2005-07-12  Jordi Mas i Hernandez  <jordi@ximian.com>
6807
6808         * TextBoxMode.cs: simple enum
6809         * TitleFormat.cs: simple enum
6810
6811 2005-07-11  Peter Dennis Bartok  <pbartok@novell.com> 
6812
6813         * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6814
6815 2005-07-11  Peter Dennis Bartok  <pbartok@novell.com>
6816
6817         * FontUnit.cs: Added TypeConverter attribute to class
6818         * FontUnitConverter.cs: Implemented
6819
6820 2005-07-11  Ben Maurer  <bmaurer@ximian.com>
6821
6822         * LinkButton.cs: 
6823         * Button.cs: Bubble the Command event.
6824
6825 2005-07-11  Ben Maurer  <bmaurer@ximian.com>
6826
6827         * Button.cs:
6828           - Clean up style (with my wonderful state bag hack!)
6829           - Fix a view state typo.
6830           - Use AddAttributesToRender
6831           - Don't add an extra <span>
6832
6833 2005-07-11  Peter Dennis Bartok  <pbartok@novell.com>
6834
6835         * Style.cs: Handle null constructor argument for bag
6836
6837 2005-07-11  Dick Porter  <dick@ximian.com>
6838
6839         * CheckBox.cs: New implementation
6840
6841         * RadioButton.cs: Initial stubbed version that just compiles
6842
6843 2005-07-10  Jordi Mas i Hernandez  <jordi@ximian.com> 
6844  
6845         * Button.cs: Initial Button implementation
6846
6847 2005-07-10  Sebastien Pouliot  <sebastien@ximian.com> 
6848  
6849         * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6850
6851 2005-07-09  Sebastien Pouliot  <sebastien@ximian.com> 
6852  
6853         * HorizontalAlign.cs: Typo in header.
6854         * VerticalAlign.cs: New. Required enum for TableRow control.
6855
6856 2005-07-09  Ben Maurer  <bmaurer@ximian.com>
6857
6858         * TextBox.cs: More work on this
6859
6860 2005-07-09  Sebastien Pouliot  <sebastien@ximian.com> 
6861  
6862         * GridLines.cs: New. Required enum for Table control.
6863         * HorizontalAlign.cs: New. Required enum for Table control.
6864
6865 2005-07-09  Duncan Mak  <duncan@novell.com>
6866
6867         * CommandEventHandler.cs:
6868         * DataGridCommandEventHandler.cs:
6869         * DataGridItemEventHandler.cs:
6870         * DataGridPageChangedEventHandler.cs:
6871         * DataGridSortCommandEventHandler.cs:
6872         * DataListCommandEventHandler.cs:
6873         * DayRenderEventHandler.cs:
6874         * RepeaterCommandEventHandler.cs:
6875         * ServerValidateEventHandler.cs: Add delegates.
6876         
6877         * ListItemType.cs:
6878         * ListSelectionMode.cs:
6879         * NextPrevFormat.cs:
6880         * PagerMode.cs
6881         * PagerPosition.cs: Add enums.
6882
6883 2005-07-09  Ben Maurer  <bmaurer@ximian.com>
6884
6885         * TextBox.cs: Add the work I did on this today. It's not complete
6886         yet, but its a start!
6887
6888 2005-07-09  Duncan Mak  <duncan@novell.com>
6889
6890         * CommandEventArgs.cs:
6891         * DataGridCommandEventArgs.cs:
6892         * DataGridItemEventArgs.cs:
6893         * DataGridPageChangedEventArgs.cs:
6894         * DataGridSortCommandEventArgs.cs:
6895         * DataListCommandEventArgs.cs:
6896         * DataListItemEventArgs.cs:
6897         * DayRenderEventArgs.cs:
6898         * RepeaterCommandEventArgs.cs:
6899         * RepeaterItemEventArgs.cs:
6900         * ServerValidateEventArgs.cs: Implemented.
6901         
6902 2005-07-08  Sebastien Pouliot  <sebastien@ximian.com>
6903
6904         * Image.cs: New. Image class implementation.
6905         * ImageAlign.cs: New. ImageAlign enum definitions.
6906
6907 2005-07-08  Jackson Harper  <jackson@ximian.com>
6908
6909         * Literal.cs: New implentation.
6910         * MonthChangedEventArgs.cs: new
6911         * MonthChangedEventHandler.cs: new
6912         
6913 2005-07-08  Ben Maurer  <bmaurer@ximian.com>
6914
6915         * LinkButton.cs: Command impl
6916
6917 2005-07-08  Ben Maurer  <bmaurer@ximian.com>
6918
6919         * LinkButton.cs: Initial impl
6920
6921 2005-07-08  Jackson Harper  <jackson@ximian.com>
6922
6923         * AdCreatedeventArgs.cs: New implementation.
6924
6925 2005-07-08  Dick Porter  <dick@ximian.com>
6926
6927         * TextAlign.cs: 
6928         * BorderStyle.cs: Added
6929
6930 2005-07-07  Peter Dennis Bartok  <pbartok@novell.com>
6931
6932         * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6933
6934 2005-07-07  Miguel de Icaza  <miguel@novell.com>
6935
6936         * Xml.cs: New implementation.  R00lz.
6937
6938 2005-07-07  Peter Dennis Bartok  <pbartok@novell.com>
6939
6940         * FontInfo.cs: Added and implemented.
6941         * Style.cs: Fixed behaviour discrepancies showed by tests
6942
6943 2005-07-07  Ben Maurer  <bmaurer@ximian.com>
6944
6945         * PlaceHolderControlBuilder.cs: new file
6946
6947         * LabelControlBuilder.cs: New file
6948
6949         * HyperLink.cs: use control builder; fix parsing stuff
6950
6951         * HyperLinkControlBuilder.cs: new file
6952
6953         * Panel.cs: misc fixes
6954
6955 2005-07-07  Miguel de Icaza  <miguel@novell.com>
6956
6957         * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6958
6959         * UnitConverter.cs: Add new file, learned from the
6960         System.Drawing.ColorConverter.
6961
6962 2005-07-07  Ben Maurer  <bmaurer@ximian.com>
6963
6964         * PlaceHolder.cs: New file. Seems to do nothing
6965
6966         * Label.cs: Use my new statebag trick to reduce typing
6967
6968         * HyperLink.cs: New file
6969
6970 2005-07-06  Peter Dennis Bartok  <pbartok@novell.com>
6971
6972         * Style.cs: Added and implemented.
6973
6974 2005-07-06  Miguel de Icaza  <miguel@novell.com>
6975
6976         * FontUnit.cs: New file.
6977
6978         * Unit.cs: New file. 
6979
6980         Added support for null and empty string constructors.
6981
6982 2005-07-06  Ben Maurer  <bmaurer@ximian.com>
6983
6984         * Unit.cs: cctor not needed; static fields are 0 init'd by default
6985
6986         * WebControl.cs: Kothari & Datye's book explains how these work.
6987
6988         * IRepeatInfoUser.cs: Reimpl.
6989
6990 2005-07-06  Peter Dennis Bartok  <pbartok@novell.com>
6991
6992         * WebControl.cs: Added stub
6993
6994 2005-07-05  Miguel de Icaza  <miguel@novell.com>
6995
6996         * Label.cs: First control.
6997
6998 2005-06-27  Lluis Sanchez Gual <lluis@novell.com>
6999
7000         * DataControlField.cs: Ignore the ShowHeader property when
7001         building the control's content. It is the resposability of
7002         the field container to decide if the header should be shown
7003         or not.
7004
7005 2005-06-10  Lluis Sanchez Gual <lluis@novell.com>
7006
7007         * AdType.cs:
7008         * ImageFieldMode.cs:
7009         * DynamicImageParameterMode.cs:
7010         * TableViewMode.cs: Removed.
7011         
7012         * SortDirection.cs:
7013         * AdRotator.cs:
7014         * TableRowSection.cs:
7015         * AutoCompleteType.cs:
7016         * DayNameFormat.cs: Track changes in 2.0 api.
7017         
7018         * StringArrayConverter.cs: This class is 2.0 only.
7019
7020 2005-06-06  Lluis Sanchez Gual <lluis@novell.com>
7021
7022         * GridView.cs:
7023         * FormView.cs:
7024         * DetailsView.cs: Bind the control after creating all child
7025          controls.
7026         * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
7027         the correct methods.
7028         * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
7029         in this class. This is done in DataBoundControl. All this fixes
7030         bug #75076.
7031
7032 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7033
7034         * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
7035         FindByText. Closes bug #74205.
7036
7037 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7038
7039         * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
7040         1 when there's a datasource and 0 pages. Closes bug #73864.
7041
7042 2005-05-26  Lluis Sanchez Gual <lluis@novell.com>
7043
7044         * DataListItem.cs:
7045         * GridViewRow.cs:
7046         * DataGridItem.cs:
7047         * RepeaterItem.cs:
7048         * FormView.cs:
7049         * MenuItemTemplateContainer.cs:
7050         * DetailsView.cs: Track changes in the IDataItemContainer interface.
7051         
7052         * CommandField.cs: Added CausesValidation property. Set that
7053         property value to all buttons of the field.
7054         
7055         * SqlDataSourceView.cs:
7056         * CollectionDataSource.cs:
7057         * XmlDataSourceView.cs: Properly initialize the base class.
7058         
7059         * SiteMapDataSource.cs:
7060         * SiteMapHierarchicalDataSourceView.cs:
7061         * SiteMapNodeItem.cs:
7062         * SiteMapDataSourceView.cs:
7063         * SiteMapPath.cs: Mostly implemented.
7064         
7065         * HierarchicalDataBoundControl.cs: Always bind the control when the
7066         page is loaded for the first time.
7067         
7068         * TreeView.cs: Properly bind the control when loaded from a callback.
7069
7070 2005-05-21  Ben Maurer  <bmaurer@ximian.com>
7071
7072         * BaseDataList.cs: Caption is in 1.1 too, though not
7073         documented. Gonz owes me [more] ice cream. Yummmmm.
7074
7075 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7076
7077         * BaseDataList.cs: implemented 2.0 Caption property.
7078
7079 2005-05-18  Lluis Sanchez Gual <lluis@novell.com>
7080
7081         * TreeView.cs: Always render the startup script. This fixes
7082         bug #74949. 
7083
7084 2005-05-13  Lluis Sanchez Gual <lluis@novell.com>
7085
7086         * WizardStepBase.cs:
7087         * WizardStep.cs: Added missing attributes.
7088         * Wizard.cs: Implemented missing methods and properties. It can now
7089         be considered feature complete.
7090
7091 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7092
7093         * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
7094         the method if the data source was en empty IEnumerator. Fixes
7095         bug #74804.
7096
7097 2005-05-06  Lluis Sanchez Gual <lluis@novell.com>
7098
7099         * TreeNode.cs:
7100         * TreeView.cs:
7101         * Menu.cs: Implemented some new properties from beta 2.
7102         
7103         * DataControlButton.cs: Render the ControlStyle if it
7104         is not empty.
7105         
7106         * UnitConverter.cs:
7107         * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
7108         It will now generate an object creation, instead of a Parse call. 
7109         
7110         * GridViewCommandEventArgs.cs: Added missing property.
7111         * SubMenuStyleCollection.cs: This class is not sealed.
7112         * MultiView.cs: Set Visible=false to all views that are not
7113         shown. This ensures that it's view state is saved. 
7114         
7115         * BaseDataBoundControl.cs:
7116         * GridViewDeletedEventArgs.cs: Minor api fixes.
7117         
7118         * FormViewDeleteEventArgs.cs:
7119         * DetailsViewDeletedEventArgs.cs:
7120         * ListControl.cs: Fix warnings.
7121         
7122         * CircleHotSpot.cs
7123         * HotSpot.cs
7124         * HotSpotCollection.cs
7125         * ImageMap.cs
7126         * PolygonHotSpot.cs
7127         * RectangleHotSpot.cs
7128         * WizardStepCollection.cs : Implemented.
7129         
7130         * WizardStep.cs
7131         * WizardStepBase.cs
7132         * Wizard.cs: Initial implementation.
7133
7134 2005-05-04  Lluis Sanchez Gual <lluis@novell.com>
7135
7136         * DataControlField.cs:
7137         * CommandField.cs: 
7138         * GridView.cs:
7139         * FormView.cs:
7140         * DataControlCommands.cs:
7141         * DetailsView.cs: Use constants to identify commands.
7142
7143         * SubMenuStyle.cs: Use Unit instead of int for padding.
7144         * SubMenuStyleCollection.cs: Implemented.
7145         
7146         * DataList.cs:
7147         * Menu.cs: Added some missing methods and properties.
7148         
7149         * Literal.cs:
7150         * DataGridPagerStyle.cs: Fixed default value attributes.
7151         * ListControl.cs: Implemented IEditableTextControl interface.
7152         
7153         * MenuItemBinding.cs: Added Selectable property.
7154         * CustomValidator.cs: removed interface.
7155         
7156         * MenuItem.cs: Added support for custom binding. 
7157         * DropDownList.cs: Moved text properties to base class.
7158
7159 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7160
7161         * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
7162
7163 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7164
7165         * Calendar.cs: when the day is active, modify the text of the literal
7166         control that holds the number, not the text of the TableCell. Also call
7167         OnDayRender before updating that text. Fixes bug #74718.
7168
7169 2005-04-22  Lluis Sanchez Gual <lluis@novell.com>
7170
7171         * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
7172         members.
7173         * DataControlFieldHeaderCell.cs: Save Scope in view state.
7174         Added AbbreviatedText property.
7175         * AutoGeneratedField.cs: The constructor should actually be internal.
7176         * DataGridItem.cs: Added implemented interface in 2.0.
7177         * DataControlFieldCollection.cs: Implemented CloneFields and
7178         GetKnownTypes().
7179         * 
7180
7181 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7182
7183         * StringArrayConverter.cs:
7184         * Calendar.cs: warnings.
7185
7186 2005-04-21  Lluis Sanchez Gual <lluis@novell.com>
7187
7188         * FormViewDeleteEventArgs.cs:
7189         * FormViewInsertEventArgs.cs:
7190         * FormViewUpdateEventArgs.cs:
7191         * FormViewDeletedEventArgs.cs:
7192         * FormViewUpdatedEventArgs.cs:
7193         * FormViewInsertedEventArgs.cs: Implemented some missing properties.
7194         
7195         * LinkButton.cs:
7196         * IButtonControl.cs:
7197         * Button.cs: Removed SoftKey property.
7198         
7199         * CheckBox.cs: Don't try to load post back data if the control
7200         is disabled.
7201         
7202         * ImageField.cs:
7203         * AutoGeneratedField.cs:
7204         * DataControlField.cs:
7205         * CommandField.cs:
7206         * ButtonFieldBase.cs:
7207         * BoundField.cs:
7208         * CheckBoxField.cs:
7209         * TemplateField.cs:
7210         * ButtonField.cs: Don't bind fields in Insert state.
7211         Implemented CreateField and CopyProperties.
7212         
7213         * GridView.cs:
7214         * DetailsView.cs: Removed some unneeded interfaces. Don't
7215         generate the field rows if there are no items in the data source.
7216         Don't get the current keys until the whole control has been
7217         bound.
7218
7219         * DetailsViewInsertedEventArgs.cs:
7220         * DataBoundControl.cs:  
7221         * ObjectDataSourceView.cs: Made some methods private.
7222         
7223         * MenuItemStyle.cs:
7224         * Menu.cs: Changed some properties from int to Unit.
7225         
7226         * DataControlButton.cs: javascript prefix is needed when raising
7227         the postback event from a link.
7228         
7229         * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
7230         The result was wrong when the total data source count was 0.
7231         
7232         * FormView.cs: Implemented.
7233         * FormViewRow.cs: Implemented.
7234         
7235         * Literal.cs:
7236         * Localize.cs: Fixed base interface.
7237         
7238         * BaseDataBoundControl.cs: In DataBind() call the base class
7239         DataBind method, so the binding context is properly set.
7240
7241 2005-04-15  Lluis Sanchez Gual <lluis@novell.com>
7242
7243         * DetailsView.cs: Added some null checks.
7244         * TemplateField.cs: Implemented support for two-way bindings.
7245
7246 2005-04-14  Lluis Sanchez Gual <lluis@novell.com>
7247
7248         * DetailsView.cs: Implemented support for Insert operation. 
7249         Added header and footer templates. Added missing style
7250         properties. 
7251         * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
7252         to get filter values. Other minor fixes.
7253         * CommandField.cs: Properly render the Insert and New buttons.
7254         * ObjectDataSource.cs: Update the parameter collections after
7255         the page is loaded. This will fire the ParameterChanged event
7256         if needed.
7257         * DataBoundControl.cs: The OnDataSourceViewChanged method
7258         is called when the view changes, not when the datasource
7259         changes.
7260         
7261         * DetailsViewInsertedEventArgs.cs:
7262         * DetailsViewInsertEventArgs.cs: Implement Values property.
7263         
7264         * ImageField.cs:
7265         * AutoGeneratedField.cs
7266         * BoundField.cs:
7267         * CheckBoxField.cs:
7268         Take into account the Insert mode.
7269         
7270         * ParameterCollection.cs: Implemented UpdateValues and fixed
7271         GetValues (values can't be cached because can change).
7272         * Parameter.cs: Detect value changes in GetValue, and fire
7273         the change event if needed. Removed unused ParameterValue
7274         property. Other fixes.
7275
7276 2005-04-08  Lluis Sanchez Gual <lluis@novell.com>
7277
7278         * DetailsView.cs: Initial implementation.
7279         * ObjectDataSourceView.cs: Notify changes in the parameters.
7280         * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7281           DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7282           Implemented some properties.
7283         * GridView.cs: Added null check in SelectedValue. Don't return null
7284           for empty DataKeyNames list.
7285         * DetailsViewRowCollection.cs: Implemented.
7286         * DetailsViewRow.cs: Implemented.
7287         * ButtonFieldBase.cs: By default button field don't have headers.
7288         * BoundField.cs: Don't bind header fields.        
7289
7290 2005-04-07  Lluis Sanchez Gual <lluis@novell.com>
7291
7292         * ButtonField.cs: Get data item properties using TypeDescriptor.
7293         Made OnDataBindField private.
7294         * ObjectDataSourceView.cs: Implemented support for Delete and
7295         Insert operations, support for filtering and sorting,
7296         conflict detection, etc. It's now complete.
7297         * ObjectDataSource.cs: Completed most of functionality. Only
7298         caching support is missing.
7299         * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7300         * TreeNode.cs: Get data item properties using TypeDescriptor.
7301         * PagerSettings.cs: Flush.
7302         * ObjectDataSourceFilteringEventArgs.cs: New event args.
7303         * GridView.cs: Get data item properties using TypeDescriptor
7304         and cache them. Properly set descending order in the sort
7305         expression. In UpdateRow, make sure we get the old values
7306         before the control is bound again.
7307         * ImageField.cs: Implemented.
7308         * AutoGeneratedField.cs: Initialize the field's sort
7309         expression in the constructor.
7310         * MenuItem.cs: Get data item properties using TypeDescriptor.
7311         * BoundField.cs: Get data item properties using TypeDescriptor.
7312         * CheckBoxField.cs: Added missing attributes.
7313         * TemplateField.cs: Implemented.
7314
7315 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7316
7317         * UnitConverter.cs:
7318         * FontUnitConverter.cs: fixed ConvertTo to work with target
7319         InstanceDescriptor and value as a string.
7320
7321         * Unit.cs: culture might be null.
7322
7323         Fixes bug #74431.
7324
7325 2005-04-01  Lluis Sanchez Gual <lluis@novell.com>
7326
7327         * ButtonField.cs: Mostly implemented.
7328         * DataControlFieldHeaderCell.cs: Implemented.
7329         * ObjectDataSourceView.cs: Initial implementation.
7330         * DataControlButton.cs: Added support for real buttons.
7331         * Label.cs, DataControlField.cs: Flush.
7332         * ObjectDataSource.cs: Initial implementation.
7333         * HiddenField.cs: Added class stub.
7334         * GridView.cs: Load autogenerated field properties before
7335         creating the children, to make sure that column info is ready.
7336         * ControlParameter.cs: Implemented Evaluate method.
7337         * ImageField.cs: Added class stub.
7338         * BoundField.cs: Added HtmlEncode property.
7339         * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7340         to its own file.
7341         * CheckBoxField.cs: Mostly implemented.
7342         * TemplateField.cs: Added class stub.
7343         * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7344         * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7345         * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7346
7347 2005-03-23  Lluis Sanchez Gual <lluis@novell.com>
7348
7349         * DataControlField.cs: Added missing InsertVisible property.
7350         * AutoGeneratedFieldProperties.cs: Implemented.
7351         * PagerSettings.cs: Minor fix.
7352         * GridView.cs: Implemented support for autogenerated fields, templates,
7353         accessible headers. Implemented paging using PagedDataSource.
7354         Implemented missing overridable methods.
7355         * AutoGeneratedField.cs: Initial implementation.
7356         * BoundField.cs: Added ReadOnly property.
7357         * PagedDataSource.cs: Implemented 2.0 api.
7358         * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7359         cell class to be used by accessible headers.
7360         * TableCell.cs: Removed unneded constructor. If the cell is bound to
7361         a template, call the default RenderContents method.
7362
7363 2005-03-16  Lluis Sanchez Gual  <lluis@novell.com>
7364
7365         * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7366           event when loading the view state. Fixes #73746.
7367
7368 2005-03-16  Lluis Sanchez Gual <lluis@novell.com>
7369
7370         * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7371
7372 2005-03-11  Lluis Sanchez Gual <lluis@novell.com>
7373
7374         * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7375           correctly.
7376         * CommandField.cs: Mostly implemented.
7377         * Menu.cs: Use callback methods moved to ClientScriptManager.
7378         * DataControlButton.cs: Internal control used to implement buttons
7379           for navigating in data bound controls.
7380         * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7381           to render the column headers.
7382         * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7383           DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7384           Don't use Page.GetPostBackClientEvent
7385           since it is deprecated in 2.0.
7386         * GridView.cs: Implemented some several interfaces.
7387           Implemented support client sorting and page navigation (using callbacks).
7388           Implemented the autogenerated command column using the new CommandField
7389           class.
7390         * ButtonFieldBase.cs: Implemented.
7391         * GridView.js: New helper script to support client side sorting and
7392           paging in the grid view.
7393
7394 2005-03-04  Lluis Sanchez Gual <lluis@novell.com>
7395
7396         * DataKey.cs: Implemented.
7397         * XmlDataSourceView.cs: Implemented support for row pagging.
7398         * Table.cs: Fixed attribute value.
7399         * DataControlField.cs: Added support for sorting headers.
7400         * ChildTable.cs: Created.
7401         * ListControl.cs: Delay selection assignment, since control state
7402         is now loaded before view state.
7403         * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7404         GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7405         several missing properties.
7406         * PagerSettings.cs: Fully implemented.
7407         * BaseDataList.cs: Added null check.
7408         * GridView.cs: Implemented more functionality.
7409         * BoundField.cs: Added support for cell editing.
7410         * StringArrayConverter.cs: Implemented.
7411         * DataKeyArray.cs: Implemented.
7412         * BaseDataBoundControl.cs: Reset the requires binding flag before
7413         executing the query. This avoids recursive query calls.
7414         * GridViewRow.cs: Handler commands raised from row childs.
7415
7416 2005-02-25  Lluis Sanchez Gual <lluis@novell.com>
7417
7418         * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7419         XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7420         it is possible to query for properties fore each data item.
7421         * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7422         when loading its view state.
7423         * DataControlField.cs: Implement properties using a StateBag.
7424         * XmlDataSourcePropertyDescriptor.cs: Implemented.
7425         * PagerSettings.cs: Mostly implemented.
7426         * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7427         * DataBoundControl.cs: Added null check.
7428         * GridView.cs: Initial implementation.
7429         * CompositeDataBoundControl.cs: Implemented.
7430         * BoundField.cs: Initial implementation.
7431         * GridViewRowCollection.cs: Initial implementation.
7432         * DataControlFieldCollection.cs: Initial implementation.
7433         * DataControlFieldCell.cs: Fixed control tag.
7434         * GridViewRow: Initial implementation.
7435         * XmlDataSourceNodeDescriptor.cs: Implemented.
7436
7437 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7438
7439         * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7440         is zero, use the TagName no matter its value. Fixes bug #72415.
7441
7442 2005-02-18  Lluis Sanchez Gual <lluis@novell.com>
7443
7444         * Style.cs: Method name fix.
7445         * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7446         * BaseCompareValidator.cs: Method signature fix.
7447         * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7448         * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7449         * BulletedList.cs: Added missing method.
7450         * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7451
7452 2005-02-16  Lluis Sanchez Gual  <lluis@novell.com>
7453
7454         * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7455         * RadioButton.cs: Added missing 2.0 methods.
7456         * ListItem.cs: Added Enabled property.
7457         * MailMessageEventArgs.cs: Use the correct message class.
7458         * ListControl.cs: Implemented missing properties and support for
7459         control state. Implemented base RenderContents method.
7460         * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7461         properties.
7462         * BaseCompareValidator.cs: Implemented methods that support conditional
7463         use of the invariant culture.
7464         * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7465         * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7466         It takes a DbCommand instead of a IDbCommand.
7467         * GridViewSortEventArgs.cs: Added SortDirection property.
7468         * TextBox.cs, CheckBoxList.cs: Added protected version of
7469         IPostBackDataHandler methods.
7470         * RadioButtonList.cs: Added protected version of
7471         IPostBackDataHandler and IRepeatInfoUser methods.
7472         * Repeater.cs: Updated some method names.
7473         * DropDownList.cs:  Added protected version of
7474         IPostBackDataHandler methods. Reuse RenderContents from base class.
7475         * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7476         * GridViewUpdatedEventArgs.cs: Fix typo.
7477         * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7478         Reuse RenderContents from base class.
7479         * BaseDataBoundControl.cs: Several fixes.
7480         * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7481
7482 2005-02-10  Lluis Sanchez Gual  <lluis@novell.com>
7483
7484         * CheckBoxList.cs: Fix build.
7485
7486 2005-02-10  Lluis Sanchez Gual <lluis@novell.com>
7487
7488         * Button.cs: Use validation group when validating page.
7489         * XmlDataSourceView.cs: Implemented ExecuteSelect.
7490         * Menu.cs: Minor fix.
7491         * CheckBox.cs: Added 2.0 properties and methods.
7492         * BaseDataList.cs: Always databind the control if view state
7493         is not enabled.
7494         * DataList.cs: In 2.0, use control state to save the selected index.
7495         * DetailsViewUpdatedEventArgs.cs: Fix typo.
7496         * CustomValidator.cs: Implement IStaticTextControl interface.
7497         * CheckBoxList.cs: Added missing 2.0 methods.
7498         * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7499         interface.
7500         * XmlDataSource.cs: Return childs of DocumentElement, not the root
7501         document.
7502         * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7503         Implemented 2.0 API.
7504         
7505
7506 2005-02-04  Lluis Sanchez Gual  <lluis@novell.com>
7507
7508         * Button.cs: Implemented all missing 2.0 features.
7509         * Table.cs: Render the table caption, when specified.
7510         * Calendar.cs: Implemented most of missing 2.0 features.
7511         * TableCell.cs: Fixed attributes.
7512
7513 2005-02-02  Lluis Sanchez Gual  <lluis@novell.com>
7514
7515         * ControlPropertyNameConverter.cs: Added file.
7516
7517 2005-02-02  Lluis Sanchez Gual <lluis@novell.com>
7518
7519         * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7520         CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7521         RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7522         ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7523         DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7524         RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7525         BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7526         IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7527         RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7528         RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7529         CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7530         QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7531         CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7532         RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7533         DataGridSortCommandEventArgs.cs, Repeater.cs,
7534         MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7535         XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7536         Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7537         CompareValidator.cs, HierarchicalDataBoundControl.cs,
7538         EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs, 
7539         ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7540         ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7541         WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7542         ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7543         LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7544         AdCreatedEventArgs.cs:
7545         
7546         General 2.0 API fixes: missing attributes, incorrect inheritance,
7547         missing sealed keywords, wrong signatures, etc.
7548
7549 2005-01-28  Lluis Sanchez Gual <lluis@novell.com>
7550
7551         * Table.cs: Added some 2.0 properties.
7552         * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7553         InstanceDescriptor.
7554         * BaseValidator.cs: Fix warning.
7555         * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7556
7557 2005-01-26  Lluis Sanchez Gual <lluis@novell.com>
7558
7559         * Menu.cs: Rendering fixes.
7560
7561 2005-01-21  Lluis Sanchez Gual <lluis@novell.com>
7562
7563         * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7564         ContentPlaceHolderBuilder.cs: Implemented.
7565
7566 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7567
7568         * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7569         attributes that are meant to be in the input tag in their place.
7570
7571 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7572
7573         * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7574         generates invalid html).
7575
7576 2005-01-10  Lluis Sanchez Gual <lluis@novell.com>
7577
7578         * Menu.cs: Implemented most of missing properties. Added support for
7579         item templates. Implemented menu scrolling.
7580         * MenuItemBinding.cs: Implemented most of missing properties.
7581         * MenuItem.cs: Implemented most of missing properties.
7582         * Menu.js: Implemented scrolling and menu reposition into screen.
7583         * MenuItemTemplateContainer.cs: Implemented.
7584         * SubMenuStyle.cs: Implemented.
7585
7586 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7587
7588         * Style.cs: Implemented RegisteredCssClass property. Added
7589         CopyTextStylesFrom method, which copies styles that only apply to text.
7590         * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7591         in the page stylesheet. Added support for ItemSpacing property.
7592         * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7593         
7594 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7595
7596         * Style.cs: Generate styles using a CssStyleCollection, so the code can
7597         be reused for the 2.0 FillStyleAttributes method.
7598         * Menu.cs: Implemented more properties and events. Rendering is very
7599         complete now.
7600         * MenuItem.cs: Added PopOutImageUrl property.
7601         * Menu.js: More work on submenu management.
7602
7603 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7604
7605         * Menu.cs: Implemented basic rendering. Added some missing properties.
7606         * MenuItem.cs: Improved implementation of Depth.
7607         * Unit.cs: Added serializable attribute.
7608         * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7609         so it can be reused.
7610         * Menu.js: New script to support he Menu control.
7611
7612 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7613
7614         * MenuEventArgs.cs: Changed to sealed.
7615         * TreeView.cs: Minor fix.
7616         * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7617         MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7618         MenuItemStyleCollection.cs: Initial Menu code.
7619
7620 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7621
7622         * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs: 
7623         Implemented SetDirtyObject.
7624         * Style.cs: Implemented SetDirty().
7625         * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7626         * TreeNode.cs: Added missing attributes added support for
7627         PopulateOnDemand. Added some missing property bindings.
7628         * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7629         to newly added elements to make sure al new data is saved.
7630         * TreeView.js: Implemented support for client population of nodes.
7631         * TreeNodeStyle.cs: Added missing attributes.
7632         * TreeView.cs: Implemented support for PopulateNodesFromClient and
7633         PopulateOnDemand. Improved rendering.
7634
7635 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7636
7637         * DataControlField.cs:
7638         * DataControlFieldCell.cs: Initial implementation.
7639
7640 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7641
7642         * TreeNodeBindingCollection.cs: Implemented.
7643         * TreeNodeBinding.cs: Implemented.
7644         * TreeNode.cs: Added support for data binding.
7645         * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7646           TreeView_Default_NoExpand.gif: Moved to resources directory.
7647         * ListControl.cs: Fixed api.
7648         * XmlHierarchicalEnumerable.cs: Made internal.
7649         * DataBoundControl.cs: Modified api to match latest ms.net.
7650         * TreeView.js: New javascript file to support TreeView in the client.
7651         * XmlDataSource.cs: Added missing attributes.
7652         * HierarchicalDataBoundControl.cs: Mostly implemented.
7653         * BaseDataBoundControl.cs: Mostly implemented.
7654         * XmlHierarchyData.cs: Made internal.
7655         * TreeView.cs: Mostly implemented. The major missing feature is
7656           client side tree population.
7657
7658 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7659
7660         * BaseDataList.cs: 
7661         * DataBountControl.cs:
7662         * Repeater.cs: Added SelectArguments property and updated.
7663         * SiteMapDataSourceView.cs:
7664         * SqlDataSourceView.cs:
7665         * XmlDataSourceView.cs: Removed extra method, which was there to
7666                                 keep things compiling.
7667
7668 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7669
7670         * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7671         TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7672         TreeView.cs: Initial implementation.
7673         * DataBoundControl.cs: Set the correct base class.
7674         * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7675         * TreeNodeSelectAction.cs: Formatting.
7676         * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7677         TreeView_Default_NoExpand.gif: TreeView images.
7678
7679 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7680
7681         * SqlDataSourceView.cs: Updated methods and added one property.
7682          
7683 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7684
7685         * AccessDataSource.cs: 
7686         * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.      
7687 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7688
7689         * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7690         * SqlDataSourceView.cs: Updated constructor.
7691          
7692 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7693
7694         * AccessDataSourceView.cs: Added new class.
7695
7696 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7697
7698         * SqlDataSourceView.cs: Corrected exception handling in 
7699           ExecuteSelect method.
7700
7701 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7702
7703         * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7704         * SiteMapDataSourceView.cs: Minor fix.
7705
7706 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7707
7708         * SqlDataSourceView.cs: Updated ExecuteSelect method.
7709
7710 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7711
7712         * SqlDataSource.cs: Corrected Select method.
7713
7714 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7715
7716         * SqlDataSource.cs: Updated Select method definition.
7717         * SqlDataSourceStatusEventArgs.cs: Updated class.
7718          
7719 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7720
7721         * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7722         from DataSourceView.cs).
7723
7724 2004-11-10  Raja R Harinath  <rharinath@novell.com>
7725
7726         * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7727
7728 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7729         
7730         * SqlDataSource.cs: Corrected method calls.
7731         * SqlDataSourceView.cs: Partial implementation of few methods.
7732
7733 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7734
7735         * ListItemCollection.cs: fixed bug when indexing changed elements in
7736         LoadViewState. Patch from Alois BÄ›laÅ¡ka.
7737
7738 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7739         
7740         * SiteMapDataSourceView.cs: 
7741         * SqlDataSourceView.cs:
7742         * XmlDataSourceView.cs: Cosmetic changes because of modifications in 
7743         base class, DataSourceView. Changes are to keep things compiling. 
7744
7745 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7746         
7747         * SiteMapDataSourceView.cs: Corrected class definition and updated.
7748         * XmlHierarchicalDataSourceView.cs: Modified according to changes in 
7749           base class.
7750
7751 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7752         
7753         * AdRotator.cs: Updated.
7754
7755 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7756
7757         * AccessDataSource.cs: Updated.
7758
7759 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7760
7761         * ValidatedControlConverter.cs: Updated.
7762
7763 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7764
7765         * AssociatedControlConverter.cs: Implemented.
7766
7767 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7768
7769         * ControlIDConverter.cs: Initial implementation.
7770
7771 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7772
7773         * IButtonControl.cs: Corrected property name.
7774
7775 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7776
7777         * ParameterCollection.cs: Updated.
7778
7779 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7780
7781         * Parameter.cs: Updated and completed implementation.
7782
7783 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7784
7785         * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7786           while compilation.
7787
7788 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7789
7790         * AccessDataSource.cs: Initial implementation.
7791
7792 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7793
7794         * DataControlRowState.cs: 
7795         * ScrollBars.cs:
7796         * TreeNodeTypes.cs: Added attribute.
7797         * DataControlRowType.cs:
7798         * HotSpotMode.cs:
7799         * SortDirection.cs: Corrected enumeration values.
7800         * TableRowSection.cs: Added new enumeration.
7801         * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7802
7803 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7804
7805         * TableStyle.cs: don't render empty 'rules' attribute (again).
7806
7807 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7808
7809         * FormViewUpdatedEventArgs.cs: Spelling mistake.
7810
7811 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7812         
7813         * Literal.cs: Added new method Focus().
7814
7815 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7816
7817         * RadioButton.cs: fix GroupName when the control is inside a
7818         NamingContainer different from Page. Closes bug #65586.
7819
7820 2004-09-07  Sanjay Gupta <gsanjay@novell.com>
7821         
7822         * Localize.cs: Added new class.
7823
7824 2004-09-03  Gaurav Vaish <gvaish_mono AT lycos.com>
7825
7826         * CompositeControl.cs  : Completed
7827         * Login.cs             : Initial implementation.
7828
7829 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7830
7831         * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7832         don't call MapPathSecure on the content itself.
7833         
7834         * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7835         document is checked at parse time and will be checked again at run time.
7836
7837         Fixes bug #63828.
7838
7839 2004-08-31  Sanjay Gupta <gsanjay@novell.com>
7840
7841         * AuthenticateEventHandler.cs: 
7842         * CreateUserErrorEventArgs.cs:
7843         * CreateUserErrorEventHandler.cs:
7844         * DetailsViewCommandEventHandler.cs:
7845         * DetailsViewDeleteEventArgs.cs:
7846         * DetailsViewDeleteEventHandler.cs:
7847         * DetailsViewDeletedEventArgs.cs:
7848         * DetailsViewDeletedEventHandler.cs:
7849         * DetailsViewInsertEventArgs.cs:
7850         * DetailsViewInsertEventHandler.cs:
7851         * DetailsViewInsertedEventArgs.cs:
7852         * DetailsViewInsertedEventHandler.cs:
7853         * DetailsViewModeEventArgs.cs:
7854         * DetailsViewModeEventHandler.cs:
7855         * DetailsViewPageEventHandler.cs:
7856         * DetailsViewUpdateEventArgs.cs:
7857         * DetailsViewUpdateEventHandler.cs:
7858         * DetailsViewUpdatedEventArgs.cs:
7859         * DetailsViewUpdatedEventHandler.cs:
7860         * FormViewCommandEventHandler.cs:
7861         * FormViewDeleteEventArgs.cs:
7862         * FormViewDeleteEventHandler.cs:
7863         * FormViewDeletedEventArgs.cs:
7864         * FormViewDeletedEventHandler.cs:
7865         * FormViewInsertEventArgs.cs:
7866         * FormViewInsertEventHandler.cs:
7867         * FormViewInsertedEventArgs.cs:
7868         * FormViewInsertedEventHandler.cs:
7869         * FormViewModeEventHandler.cs:
7870         * FormViewPageEventHandler.cs:
7871         * FormViewUpdateEventArgs.cs:
7872         * FormViewUpdateEventHandler.cs:
7873         * FormViewUpdatedEventArgs.cs:
7874         * FormViewUpdatedEventHandler.cs:
7875         * GridViewCancelEditEventArgs.cs:
7876         * GridViewCancelEditEventHandler.cs:
7877         * GridViewCommandEventHandler.cs:
7878         * GridViewDeleteEventArgs.cs:
7879         * GridViewDeleteEventHandler.cs:
7880         * GridViewDeletedEventArgs.cs:
7881         * GridViewDeletedEventHandler.cs:
7882         * GridViewEditEventHandler.cs:
7883         * GridViewPageEventHandler.cs:
7884         * GridViewRowEventHandler.cs:
7885         * GridViewSelectEventHandler.cs:
7886         * GridViewSortEventArgs.cs:
7887         * GridViewSortEventHandler.cs:
7888         * GridViewUpdateEventArgs.cs:
7889         * GridViewUpdateEventHandler.cs:
7890         * GridViewUpdatedEventArgs.cs:
7891         * GridViewUpdatedEventHandler.cs:
7892         * ImageMapEventHandler.cs:
7893         * MailMessageEventHandler.cs:
7894         * MenuEventHandler.cs:
7895         * ObjectDataSourceDisposingEventHandler.cs:
7896         * ObjectDataSourceEventHandler.cs:
7897         * ObjectDataSourceMethodEventArgs.cs:
7898         * ObjectDataSourceMethodEventHandler.cs:
7899         * ObjectDataSourceSelectingEventArgs.cs:
7900         * ObjectDataSourceSelectingEventHandler.cs:
7901         * ObjectDataSourceStatusEventArgs.cs:
7902         * ObjectDataSourceStatusEventHandler.cs:
7903         * SendMailErrorEventHandler.cs:
7904         * SiteMapNodeItemEventHandler.cs:
7905         * SqlDataSourceSelectingEventArgs.cs:
7906         * SqlDataSourceSelectingEventHandler.cs:
7907         * TreeNodeEventHandler.cs:
7908         * WizardNavigationEventArgs.cs:
7909         * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7910         corrections and removing "sealed" access specifier from *EventHandler.cs
7911
7912 2004-08-18  Sanjay Gupta <gsanjay@novell.com>
7913
7914         * Literal.cs: Added new attributes and property for .Net 2.0
7915
7916 2004-08-13  Sanjay Gupta <gsanjay@novell.com>
7917
7918         * GridViewDeleteEventArgs.cs: Removed extra code.
7919
7920 2004-08-12  Sanjay Gupta <gsanjay@novell.com>
7921
7922         * SendMailErrorEventArgs.cs:
7923         * SendMailErrorEventHandler.cs:
7924         * SiteMapNodeItemEventArgs.cs:
7925         * SiteMapNodeItemEventHandler.cs:
7926         * SqlDataSourceSelectingEventArgs.cs:
7927         * SqlDataSourceSelectingEventHandler.cs:
7928         * TreeNodeEventArgs.cs:
7929         * TreeNodeEventHandler.cs:
7930         * WizardNavigationEventArgs.cs:
7931         * WizardNavigationEventHandler.cs: Added new delegates.
7932
7933 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
7934
7935         * ImageMapEventArgs.cs:
7936         * ImageMapEventHandler.cs:
7937         * MailMessageEventArgs.cs:
7938         * MailMessageEventHandler.cs:
7939         * MenuEventArgs.cs:
7940         * MenuEventHandler.cs:
7941         * ObjectDataSourceDisposingEventArgs.cs:
7942         * ObjectDataSourceDisposingEventHandler.cs:
7943         * ObjectDataSourceEventArgs.cs:
7944         * ObjectDataSourceEventHandler.cs:
7945         * ObjectDataSourceMethodEventArgs.cs:
7946         * ObjectDataSourceMethodEventHandler.cs:
7947         * ObjectDataSourceSelectingEventArgs.cs:
7948         * ObjectDataSourceSelectingEventHandler.cs:
7949         * ObjectDataSourceStatusEventArgs.cs:
7950         * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7951
7952 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
7953
7954         * DetailsViewCommandEventArgs.cs:
7955         * FormViewCommandEventArgs.cs:
7956         * GridViewCommandEventArgs.cs: Corrected constructor.
7957
7958 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
7959
7960         * GridViewCancelEditEventArgs.cs:
7961         * GridViewCancelEditEventHandler.cs:
7962         * GridViewCommandEventArgs.cs:
7963         * GridViewCommandEventHandler.cs:
7964         * GridViewDeletedEventArgs.cs:
7965         * GridViewDeletedEventHandler.cs:
7966         * GridViewDeleteEventArgs.cs:
7967         * GridViewDeleteEventHandler.cs:
7968         * GridViewEditEventArgs.cs:
7969         * GridViewEditEventHandler.cs:
7970         * GridViewPageEventArgs.cs:
7971         * GridViewPageEventHandler.cs:
7972         * GridViewRowEventArgs.cs:
7973         * GridViewRowEventHandler.cs:
7974         * GridViewSelectEventArgs.cs:
7975         * GridViewSelectEventHandler.cs:
7976         * GridViewSortEventArgs.cs:
7977         * GridViewSortEventHandler.cs:
7978         * GridViewUpdatedEventArgs.cs:
7979         * GridViewUpdatedEventHandler.cs:
7980         * GridViewUpdateEventArgs.cs:
7981         * GridViewUpdateEventHandler.cs: Added new delegates.
7982
7983 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
7984
7985         * FormViewUpdatedEventArgs.cs: Corrected constructor.
7986
7987 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
7988
7989         * FormViewCommandEventArgs.cs: Corrected name of class.
7990
7991 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7992
7993         * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
7994         bug #62726.
7995
7996 2004-08-10  Sanjay Gupta <gsanjay@novell.com>
7997
7998         * FormViewCommandEventArgs.cs:
7999         * FormViewCommandEventHandler.cs:
8000         * FormViewDeletedEventArgs.cs:
8001         * FormViewDeletedEventHandler.cs:
8002         * FormViewDeleteEventArgs.cs:
8003         * FormViewDeleteEventHandler.cs:
8004         * FormViewInsertedEventArgs.cs:
8005         * FormViewInsertedEventHandler.cs:
8006         * FormViewInsertEventArgs.cs:
8007         * FormViewInsertEventHandler.cs:
8008         * FormViewModeEventArgs.cs:
8009         * FormViewModeEventHandler.cs:
8010         * FormViewPageEventArgs.cs:
8011         * FormViewPageEventHandler.cs:
8012         * FormViewUpdatedEventArgs.cs:
8013         * FormViewUpdatedEventHandler.cs:
8014         * FormViewUpdateEventArgs.cs:
8015         * FormViewUpdateEventHandler.cs: Added new delegates.
8016
8017 2004-08-10  Sanjay Gupta <gsanjay@novell.com>
8018
8019         * DetailsViewCommandEventArgs.cs:
8020         * DetailsViewCommandEventHandler.cs:
8021         * DetailsViewDeletedEventArgs.cs:
8022         * DetailsViewDeletedEventHandler.cs:
8023         * DetailsViewDeleteEventArgs.cs:
8024         * DetailsViewDeleteEventHandler.cs:
8025         * DetailsViewInsertedEventArgs.cs:
8026         * DetailsViewInsertedEventHandler.cs:
8027         * DetailsViewInsertEventArgs.cs:
8028         * DetailsViewInsertEventHandler.cs:
8029         * DetailsViewModeEventArgs.cs:
8030         * DetailsViewModeEventHandler.cs:
8031         * DetailsViewPageEventArgs.cs:
8032         * DetailsViewPageEventHandler.cs:
8033         * DetailsViewUpdatedEventArgs.cs:
8034         * DetailsViewUpdatedEventHandler.cs:
8035         * DetailsViewUpdateEventArgs.cs:
8036         * DetailsViewUpdateEventHandler.cs: Added new delegates.
8037
8038 2004-08-09  Sanjay Gupta <gsanjay@novell.com>
8039
8040         * AuthenticateEventArgs.cs:
8041         * AuthenticateEventHandler.cs:
8042         * CreateUserErrorEventArgs.cs:
8043         * CreateUserErrorEventHandler.cs: Added new delegates.
8044
8045 2004-08-05  Sanjay Gupta <gsanjay@novell.com>
8046
8047         * IButtonControl.cs:
8048         * ICallbackContainer.cs:
8049         * ICompositeControlDesignerAccessor.cs:
8050         * IPostBackContainer.cs: Added new interfaces.
8051
8052 2004-08-03  Sanjay Gupta <gsanjay@novell.com>
8053
8054         * AdType.cs:
8055         * AutoCompleteType.cs:
8056         * ContentDirection.cs:
8057         * DataControlCellType.cs:
8058         * DataControlRowState.cs:
8059         * DataControlRowType.cs:
8060         * DetailsViewMode.cs:
8061         * DynamicImageParameterMode.cs:
8062         * FormViewMode.cs:
8063         * HotSpotMode.cs:
8064         * ImageFieldMode.cs:
8065         * LiteralMode.cs:
8066         * LogoutAction.cs:
8067         * Orientation.cs:
8068         * PagerButtons.cs:
8069         * PathDirection.cs:
8070         * ScrollBars.cs:
8071         * SiteMapNodeItemType.cs:
8072         * SiteMapNodeType.cs:
8073         * SiteMapViewType.cs:
8074         * SortDirection.cs:
8075         * TableCaptionAlign.cs:
8076         * TableHeaderScope.cs:
8077         * TableViewMode.cs:
8078         * TreeNodeSelectAction.cs:
8079         * TreeNodeTypes.cs:
8080         * TreeViewImageSet.cs:
8081         * WizardStepType.cs: Added enumerations
8082
8083 2004-08-02  Duncan Mak  <duncan@ximian.com>
8084
8085         * ButtonType.cs:
8086         * LoginFailureAction.cs:
8087         * LoginTextLayout.cs: Added enumerations.
8088
8089 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8090
8091         * BaseValidator.cs: in Validate(), when the control is not visible or
8092         enabled, return inmediately after setting IsValid to true. Fixes bug
8093         #61831.
8094
8095 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8096
8097         * DataList.cs: s/HasChildren/HasControls()/.
8098
8099 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8100
8101         * DataList.cs: style.
8102
8103 2004-07-27 Alon Gazit <along@mainsoft.com>
8104         * DataList.cs: Replaced foreach statement with for statement, 
8105         in order to improve performence.
8106
8107 2004-07-27 Alon Gazit <along@mainsoft.com>
8108         * WebControl.cs: changed RenderBeginTag()to use TagKey instead of 
8109         TagName.
8110         * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use 
8111         switch statements in order to improve performance.
8112
8113 2004-06-10 Alon Gazit <along@mainsoft.com>
8114         * WebControl.cs: fixed LoadViewState(). 
8115         Creates new attributes state bag only when the current is null.
8116
8117 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8118
8119         * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
8120
8121 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8122
8123         * Calendar.cs: set the title class attribute if we have it. Fixes bug
8124         53671.
8125
8126 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8127
8128         * Style.cs: added SetBit.
8129
8130 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8131
8132         * Calendar.cs:
8133         * CompareValidator.cs:
8134         * ImageButton.cs:
8135         * Style.cs:
8136         * WebControl.cs: Added protected missing members and attributes.
8137
8138 2004-05-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8139
8140         * TextBox.cs: don't save the Text if in ViewState if it's a password.
8141         Save it if the control is not visible or not enabled. Fixes bug #58497.
8142
8143 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8144
8145         * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
8146         Fixes bug #58097.
8147
8148 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
8149         * Parameter.cs: 
8150         * SqlDataSourceCommandEventArgs:
8151         * XmlDataSource.cs : removed temporary workarounds for CLS 
8152         compliance as System.Data is now CLS compliant
8153
8154 2004-05-06 Alon Gazit <along@mainsoft.com>
8155         * WebControl.cs: fixed LoadViewState() and SaveViewState(). 
8156         Before the change the Enabled property wasn't updated when a postback
8157         event was raised.
8158         * ListControl.cs: fixed SelectedIndex property implementation.
8159         Prevents throwing ArgumentOutOfRangeException (that should not be
8160         thrown), when the list is empty.
8161
8162 2004-04-28 Alon Gazit <along@mainsoft.com>
8163         * WebControl.cs: fixed LoadViewState(). 
8164         Always loading the saved attributes collection.
8165
8166 2004-04-18 Alon Gazit <along@mainsoft.com>
8167         * Repeater.cs: fixed InstantiateItem() and DataSource property.
8168         The change in DataSource prevents throwing ArgumentException while
8169         setting property value to null.
8170         The change in InstantiateItem() prevents NullReferenceException.
8171
8172 2004-04-07  Lluis Sanchez Gual <lluis@ximian.com>
8173
8174         * BaseValidator.cs: Store Display property in the correct ViewState
8175         property. Don't render anything if Display is ValidatorDisplay.None.
8176
8177 2004-03-30  Lluis Sanchez Gual <lluis@ximian.com>
8178
8179         * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
8180           since it is already a physical path. Fixes bug #55334.
8181
8182 2004-02-13  Jackson Harper  <jackson@ximian.com>
8183
8184         * Calendar.cs: Match MS postback data. This allows sites that
8185         parse the postback data manually to work.
8186         
8187 2004-02-04 Alon Gazit <along@mainsoft.com>
8188         * EditCommandColumn.cs: fixed InitializeCell().
8189         The rendered LiteralControl should contain "&nbsp;" and not " ".
8190
8191 2004-02-01 Alon Gazit <along@mainsoft.com>
8192
8193         * DataGrid.cs: fixed a problem in the paging mechanism in the method
8194         InitializePager().
8195         the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
8196         while clicking the "..." link in the second page.
8197
8198 2004-01-28 Alon Gazit <along@mainsoft.com>
8199
8200         * Calendar.cs: prevent NullReferenceException in RenderAllDays().
8201
8202 2004-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8203
8204         * Calendar.cs: when rendering days, add a LiteralControl containing the
8205         day before OnDayRender is called. Only generate the default links for
8206         days when IsSelectable is true after OnDayRender. Fixes bug #53372.
8207
8208 2004-01-21  Martin Baulig  <martin@ximian.com>
8209
8210         * XmlHierarchyData.cs: Make this compile with csc.
8211
8212         * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
8213         accessor since the base class doesn't have one.
8214
8215 2004-01-18 Alon Gazit <along@mainsoft.com>
8216
8217         * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
8218         
8219 2004-01-18 Alon Gazit <along@mainsoft.com>
8220
8221         * Style.cs: CopyFrom method shouldn't copy a value that is equal to
8222         Property default value.
8223         * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to 
8224         Property default value. 
8225
8226 2004-01-15 Alon Gazit <along@mainsoft.com>
8227
8228         * RadioButtonList.cs: RepeatLayout property should affect the rendered
8229         html.   
8230
8231 2004-01-15 Alon Gazit <along@mainsoft.com>
8232         * FontInfo.cs: Add validation check to Size property.   
8233
8234 2004-01-07 Alon Gazit <along@mainsoft.com>
8235         * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8236         merge the column's style to the cell's style and not to
8237         the item's(row) style.  
8238
8239 2004-01-04 Alon Gazit <along@mainsoft.com>
8240         * RangeValidator.cs: Fixed ControlPropertiesValid().
8241         
8242 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8243
8244         * Xml.cs: mono-stylized and removed warnings.
8245
8246 2004-1-1 Alon Gazit <along@mainsoft.com>
8247         * RadioButtonList.cs: update RenderItem() so that each RadioButton
8248         is enabled or disabled like the RadioButtonList.
8249         * CheckBoxList.cs: update RenderItem() so that each CheckBox
8250         is enabled or disabled like the CheckBoxList.   
8251
8252 2004-1-1 Alon Gazit <along@mainsoft.com>
8253         * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8254         The Header or Footer Style shouldn't merge with the cells Style.                 
8255         
8256 2004-1-1 Alon Gazit <along@mainsoft.com>
8257         * DataGridColumn.cs: Headers and Footers are initialized  
8258         with the relevant Style object.  
8259
8260 2003-12-30 Alon Gazit <along@mainsoft.com>
8261         * RepeatInfo.cs: Fixed DoVerticalRendering () and 
8262         DoHorizontalRendering().
8263         Current implementation produces few extra html tags.
8264            
8265 2003-12-29  Alon Gazit <along@mainsoft.com>
8266
8267         * CheckBox.cs: change the implementation of LoadPostData. 
8268         Currently, while the AutoPostBack property equals true ,
8269         it isn't possible to perform uncheck.
8270
8271 2003-12-19  Jackson Harper <jackson@ximian.com>
8272
8273         * TableCell.cs: Setting a cells text should clear its control
8274         collection as per la specification. This fixes bug #51825.
8275         
8276 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8277
8278         * DataGridColumn.cs: stylized LoadViewState.
8279         * DataGridColumnCollection.cs: when TrackViewState is called, also
8280         call it on all the existing columns. Fixes bug #52334.
8281
8282 2003-12-18  Alon Gazit <along@mainsoft.com>
8283
8284         * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style 
8285         is empty.
8286
8287 2003-12-18  Alon Gazit <along@mainsoft.com>
8288
8289         * TableStyle.cs: merge TableStyle properties when Style is empty.
8290
8291 2003-12-16  Alon Gazit <along@mainsoft.com>
8292
8293         * HyperLink.cs: Change Text property implementation. in MS when the Text
8294         property is set, all the controls in the HyperLink are being deleted. 
8295         This fixes bug #52239.   
8296
8297 2003-12-15  Alon Gazit <along@mainsoft.com>
8298         * RepeatInfo.cs: Fixed DoVerticalRendering () and 
8299         DoHorizontalRendering().
8300         Both methods add additional empty table row in the head of each item
8301         table when the variable named isTable equals true (happenes with the
8302         default instantiation of RepeatInfo). These additional rows should be
8303         added when isTable equals false.
8304         This fixes bug #52225.   
8305
8306 2003-12-15  Alon Gazit <along@mainsoft.com>
8307
8308         * RepeatInfo.cs: Fixed DoVerticalRendering() and
8309         DoHorizontalRendering().
8310         Both methods add to rendered Header a colspan attribute according to the
8311         rows count. after the change the colspan is added according to the
8312         columns count.   
8313
8314 2003-12-15  Alon Gazit <along@mainsoft.com>
8315         * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8316         In .NET if the checkbox is disabled ,its text appears disabled too.
8317         In Mono the text appears enabled. the fix is in Render().
8318         This fixes bug #52180.
8319
8320 2003-12-15  Alon Gazit <along@mainsoft.com>
8321         * Repeater.cs: Change the implementation of CreateControlHierarchy().
8322         The current implementation renders extra Header and footer 
8323         without Repeater.DataSource assign. 
8324         This fixes bug #52179.
8325
8326 2003-12-15  Alon Gazit <along@mainsoft.com>
8327         * DataGrid.cs: Change the implementation of the property 
8328         BackImageUrl. The current implementation has no influence 
8329         on the rendered Html.
8330
8331 2003-12-15  Alon Gazit <along@mainsoft.com>
8332         * WebControl.cs: Change the implementation of the property 
8333         Enabled. Before the change the WebControl also looked at 
8334         parent.Enabled . fixed bug #52171.
8335
8336 2003-12-11  Jackson Harper <jackson@ximian.com>
8337
8338         * RepeatInfo.cs: When rendering vertically figure out how many
8339         colmns are not going to be filled in in the last row, and adjust
8340         things accordingly. This fixes bug #51863.
8341         
8342 2003-12-10  Alon Gazit <along@mainsoft.com>
8343         * TableRow.cs: Change the implementation of the properties 
8344         HorizontalAlign and  VerticalAlign. The current implementation      
8345         has no influence on the rendered Html.
8346
8347 2003-12-10  Alon Gazit <along@mainsoft.com>
8348         * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8349         property's set method.
8350         
8351 2003-12-09  Jackson Harper <jackson@ximian.com>
8352
8353         * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8354         Increment counter when moving to start. Fixes bug #51926.
8355         
8356 2003-12-08  Jackson Harper <jackson@ximian.com>
8357
8358         * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8359         Benjamin Jemlich. Fixes bug #51823.
8360         
8361 2003-12-07  Alon Gazit <along@mainsoft.com>
8362         * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8363         property is set to false. Fixes bug #58120.
8364         
8365 2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8366
8367         * TableItemStyle.cs: merge TableItemStyle properties when Style is
8368         empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8369
8370 2003-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8371
8372         * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8373         #51648.
8374
8375 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8376
8377         * WebControl.cs: don't create the attributes when GetAttribute is
8378         called.
8379
8380 2003-12-01  Jackson Harper <jackson@ximian.com>
8381
8382         * WebControl.cs: Only allow access keys to be null or a single
8383         char. Patch by Alon Gazit <along@mainsoft.com>.
8384         
8385 2003-11-30  Jackson Harper <jackson@ximian.com>
8386
8387         * CheckBoxList.cs: A checkbox will have null post data if it is
8388         unselected. This fixes bug #51516.
8389         
8390 2003-11-29  Jackson Harper <jackson@ximian.com>
8391
8392         * DataGrid.cs: Display paging controls even when there is no
8393         data. Path by Mohammad DAMT. Fixes bug #51487.
8394         
8395 2003-11-29  Jackson Harper <jackson@ximian.com>
8396
8397         * DataGrid.cs: Call TrackViewState when loading bound columns view
8398         state. So that their state is saved. This fixes bug #51424. Also
8399         set ReadOnly.
8400         
8401 2003-11-26  Jackson Harper <jackson@ximian.com>
8402
8403         * BaseDataList.cs: Change && to || We will call that a typo so no
8404         one gets embarrased.
8405         
8406 2003-11-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8407
8408         * BaseDataList.cs: allow setting null as Datasource.
8409
8410         * DataGrid.cs: keep autogenerated columns in the ViewState.
8411
8412         Patches by Alon Gazit <along@mainsoft.com>.
8413
8414 2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
8415
8416         * SqlDataSource*: Implement almost everything. Data access is
8417         still missing.
8418
8419 2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
8420
8421         * Calendar.cs (SaveViewState):
8422             - We were allocating a 11 item array, we only used 10 items,
8423               so only allocate 10.
8424             - We only need to save the selected dates if there are any.
8425         * DataGrid.cs (SaveViewState):
8426         * DataGridColumn.cs (SaveViewState):
8427         * DataGridColumnCollection.cs (SaveViewState):
8428             - Only return the array if there is anything in it
8429         * Style.cs (SaveViewState):
8430             - Only save the bits if there were changes.
8431         * WebControl.cs (SaveViewState), (LoadViewState):
8432             - Don't save Enabled into the viewstate here, we already
8433               do it in the property. This just caused *EVERY* control
8434               to have a non-null state, taking up lots of extra room
8435               in the ViewState.
8436             - The style will always be created with this control's
8437               viewstate, so the style will always return null for the
8438               viewstate. As such, we do not need to store it. We can
8439               also reduce the triplet to a pair because of this.
8440
8441 2003-11-22  Jackson Harper <jackson@ximian.com>
8442
8443         * ValidationSummary.cs: Fix number of messages and message array computation.
8444
8445 2003-11-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8446
8447         * Xml.cs: Corrected attribute
8448         * XmlBuilder.cs: Added
8449
8450 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8451
8452         * Xml.cs: class status based fixes.
8453
8454 2003-11-19  Jackson Harper  <jackson@ximian.com>
8455
8456         * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8457         
8458 2003-11-19  Jackson Harper  <jackson@ximian.com>
8459
8460         * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8461         teh applications base directory. This fixes bug #51092.
8462         
8463 2003-11-18  Todd Berman  <tberman@gentoo.org>
8464
8465         * ControlParameter.cs:
8466         * CookieParameter.cs:
8467         * FormParameter.cs:
8468         * QueryStringParameter.cs:
8469         * SessionParameter.cs: added public .ctor ()
8470         * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8471         and handling, as well as internal ParameterValue for easy access.
8472         NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8473         * ParameterCollection.cs: implementation redux.
8474
8475 2003-11-18  Todd Berman  <tberman@gentoo.org>
8476
8477         * ParameterCollection.cs: Implemented
8478         * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8479         ToString () now matches asp.net
8480
8481 2003-11-17 Ben Maurer  <bmaurer@users.sourceforge.net>
8482
8483         * ControlParameter.cs:
8484         * CookieParameter.cs:
8485         * FormParameter.cs:
8486         * Parameter.cs:
8487         * QueryStringParameter.cs: New v2 files. Mostly
8488         implemented, still need a few methods.
8489
8490 2003-11-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8491
8492         * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8493         Gazit <along@mainsoft.com>.
8494
8495 2003-11-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8496
8497         * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8498         Patch by Alon Gazit <along@mainsoft.com>.
8499
8500 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
8501
8502         * DataBoundControl.cs: Implement 
8503         * ListControl.cs: inherit from the above.
8504         * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8505
8506 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
8507
8508         * BaseDataList.cs:
8509         * DataGrid.cs:
8510         * DataList.cs:
8511         * Repeater.cs: add v2 databinding stuff
8512         * XmlDataSource.cs: make it load the xml.
8513
8514 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
8515
8516         * XmlDataSource.cs:
8517         * XmlDataSourceView.cs:
8518         * XmlHierarchicalDataSourceView.cs:
8519         * XmlHierarchicalEnumerable.cs:
8520         * XmlHierarchyData.cs: Implement
8521
8522 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
8523
8524         * SiteMapDataSourceView.cs: Implement.
8525
8526 2003-11-07 Jackson Harper <jackson@ximian.com>
8527
8528         * ImageButton.cs: This is a workaround for bug #49819. It appears
8529         that the .x and .y values are not being posted, and only the x
8530         value is being posted with the ctrl's id as the key.
8531         
8532 2003-11-07 Jackson Harper <jackson@ximian.com>
8533
8534         * DataGrid.cs (CreateControlHierarchy): Current page index is
8535         alolowed to equal page count. This prevents an exception being
8536         thrown when both are zero.
8537         
8538 2003-11-06 Jackson Harper <jackson@ximian.com>
8539
8540         * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8541         * BaseValidator.cs: Disable base control so the isValid flag is
8542         not reset.
8543         
8544 2003-11-03 Jackson Harper <jackson@ximian.com>
8545
8546         * TemplateColumn.cs: Use the same renderer for selected items as
8547         normal items. This fixes bug #49744.
8548         
8549 2003-11-03 Jackson Harper <jackson@ximian.com>
8550
8551         * DataList.cs:
8552         * WebControl.cs: Fix argument out of range exceptions on
8553         properties. Patch by Yaron Shkop.
8554         
8555 2003-11-03 Jackson Harper <jackson@ximian.com>
8556
8557         * TemplateColumn.cs: If the item is selected but there is no
8558         editItemTemplate use the itemTemplate. This matches MS behvoir.
8559         
8560 2003-11-03 Jackson Harper <jackson@ximian.com>
8561
8562         * Repeater.cs: Always set alternating items to the AlternatingItem
8563         type, when instantiating alternating items use the itemTemplate if
8564         the alternatingItem template is null. This matches MS behavoir and
8565         fixes bug #50157.
8566         
8567 2003-11-03 Jackson Harper <jackson@ximian.com>
8568
8569         * DataGridPagerStyle.cs: Name of view state attribute is
8570         PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8571         visibility is changed. Patch by Yaron Shkop.
8572         
8573 2003-11-03 Jackson Harper <jackson@ximian.com>
8574
8575         * RepeatInfo.cs: When doing horizontal rendering use the repeat
8576         columns as the number of columns in a row. This fixes bug #49016.
8577         
8578 2003-11-03 Jackson Harper <jackson@ximian.com>
8579
8580         * PagedDataSource.cs (PageCount): Return page count of 1 if there
8581         paging is disabled. Patch by Yaron Shkop.
8582         * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8583         * TableStyle.cs (AddAttributesToRender): Render border style
8584         collapse. Patch by Yaron Shkop.
8585         * TableStyle.cs:
8586         * TableItemStyle.cs:
8587         * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8588         the wrong type. Patch by Yaron Shkop.   
8589         
8590 2003-11-03 Jackson Harper <jackson@ximian.com>
8591
8592         * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8593         
8594 2003-11-02 Ben Maurer  <bmaurer@users.sourceforge.net>
8595
8596         * BulletStyle.cs:
8597         * BulletedListDisplayMode.cs:
8598         * BulletedListEventHandler.cs:
8599         * BulletedList.cs:
8600         * BulletedListEventArgs.cs: V2 controls (yay!)
8601
8602 2003-10-30 Jackson Harper <jackson@ximian.com>
8603
8604         * Repeater.cs: Throw an exception if the datasource is set to
8605         something that does not implement either IListSource or
8606         IEnumerable. This fixes bug #50155.
8607         
8608 2003-10-30 Jackson Harper <jackson@ximian.com>
8609
8610         * DataGridPagerStyle.cs: Do not allow page button counts to be set
8611         to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8612         
8613 2003-10-29 Jackson Harper <jackson@ximian.com>
8614
8615         * ButtonColumn.cs: Format string and text to format were
8616         inversed. This fixes bug #50171.
8617         
8618 2003-10-29 Jackson Harper <jackson@ximian.com>
8619
8620         * DataGridColumn.cs: If an item style is set apply it to the
8621         cell. This fixes bug #50173.
8622         
8623 2003-10-29 Ben Maurer  <bmaurer@users.sourceforge.net>
8624
8625         * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8626         old debugging value.
8627
8628 2003-10-29 Jackson Harper <jackson@ximian.com>
8629
8630         * PagedDataSource.cs:
8631         * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8632         end of the last page. Fixes bug #5085.
8633         
8634 2003-10-29 Jackson Harper <jackson@ximian.com>
8635
8636         * CheckBox.cs: Do not change the status of a checkbox when there
8637         is no post data. This fixes bug #49091.
8638         * CheckBoxList.cs: Do not change the status of the checkboxes when
8639         there is no post data. This fixes bug #49093.
8640         
8641 2003-10-26 Ben Maurer  <bmaurer@users.sourceforge.net>
8642
8643         * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8644         RadioButton. Fixes #50132
8645
8646 2003-10-25 Ben Maurer  <bmaurer@users.sourceforge.net>
8647
8648         * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8649         paging from working. Fixes #48814.
8650
8651 2003-10-25 Ben Maurer  <bmaurer@users.sourceforge.net>
8652
8653         * DataGrid.cs: A few typos kept us from viewing datagrids
8654         that were based on customized collections.
8655
8656 2003-10-24 Ben Maurer  <bmaurer@users.sourceforge.net>
8657
8658         * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8659
8660 2003-10-23 Ben Maurer  <bmaurer@users.sourceforge.net>
8661
8662         * Calendar.cs: render the next month button so that aligns to the
8663         right.
8664
8665 2003-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8666
8667         * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8668         was just changing && by || after the first Match.
8669
8670 2003-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8671
8672         * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8673         Patch by Yaron Shkop.
8674
8675 2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8676
8677         * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8678         that fixes bug #49744. Now the selection doesn't lose its data.
8679
8680 2003-10-21 Ben Maurer  <bmaurer@users.sourceforge.net>
8681
8682         * EditCommandColumn.cs: Implement; fix #49736
8683
8684 2003-10-21 Ben Maurer  <bmaurer@users.sourceforge.net>
8685
8686         * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8687         the forground color. bug #49738
8688
8689 2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8690
8691         * Calendar.cs: fixed bug #49727.
8692
8693 2003-10-18 Ben Maurer  <bmaurer@users.sourceforge.net>
8694
8695         * TableStyle.cs: fix #49740.
8696
8697 2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8698
8699         * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8700         * ValidationSummary.cs: fixes bug #49669.
8701
8702 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8703
8704         * Calendar.cs: apply the calendar style to the new Table, not to itself.
8705         Fixes #49406.
8706
8707         * CheckBox.cs: render the hidden fields if AutoPostBack.
8708
8709         * Style.cs: don't render empty width/height. Small improvement in
8710         CopyFrom.
8711
8712         * Table.cs: fixed condition for border width.
8713
8714         * TableStyle.cs:
8715         (CopyFrom): always call the base class to copy other attributes. Fixes
8716         bug #49408. Don't render empty 'rules' attribute.
8717
8718         * WebControl.cs: track viewstate when enabled. Don't overwrite source
8719         control attributes in CopyBaseAttributes.
8720
8721         * ChangeLog: fixed dates.
8722
8723
8724 2003-10-08  Gaurav Vaish <gvaish_mono AT lycos.com>
8725
8726         * WebControl.cs         : Attributes { get; }       - Is Complete.
8727         * ValidationSummary.cs  : AddAttributesToRender(HtmlTextWriter)
8728                                                             - Completed.
8729
8730 2003-10-08  Gaurav Vaish <gvaish_mono AT lycos.com>
8731
8732         * BaseValidator.cs      : DetermineRenderUplevel()  - Completed.
8733                                 : RegisterValidatorCommonScript()
8734                                                - More code, I need HELP!
8735                                 : RegisterValidatorDeclaration()
8736                                                - More code, I need HELP!
8737
8738 2003-09-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8739
8740         * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8741         #48802.
8742
8743 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8744
8745         * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and 
8746         ClearViewState only called when no items.
8747
8748 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8749
8750         * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8751
8752 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8753
8754         * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8755
8756 2003-09-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8757
8758         * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8759         Shkop).
8760
8761 2003-09-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8762
8763         * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8764         Shkop).
8765
8766 2003-09-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8767
8768         * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8769         * WebControl.cs: fixed Enabled property and save it in ViewState.
8770
8771         Fixes bug #48802.
8772
8773 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8774
8775         * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8776
8777 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8778
8779         * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8780         bug #48671.
8781
8782 2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8783
8784         * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8785         <rich@velvetsea.net>.
8786
8787 2003-09-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8788
8789         * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8790         Skripsky <juraj@hotfeet.ch>
8791
8792 2003-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8793
8794         * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8795         fixes rendering of the end tag.
8796
8797 2003-08-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8798
8799         * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8800         (Yaron Shkop). Closes bug #48060.
8801
8802 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8803
8804         * CheckBox.cs: in LoadPostData, only return
8805         true when the new data is different from the one we had. Fixed
8806         conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8807         (Yaron Shkop).
8808
8809 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8810
8811         * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8812
8813 2003-08-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8814
8815         * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8816         of Enable in ViewState. Fixes bug #47865.
8817
8818 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8819
8820         * Style.cs: the MARKED bit is not send set in ViewState unless something
8821         is changed. Fixed TrackViewState condition.
8822         
8823         * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8824         because it uses the same ViewState as the control. Fixes bug #47725.
8825
8826 2003-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8827
8828         * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8829         that fixes databinding when only DataTextField or DataNavigateUrlField
8830         is set.
8831
8832 2003-08-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8833
8834         * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8835         behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8836         values before assigning a data source and other issues.
8837
8838 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8839
8840         * CheckBox.cs: save viewstate when needed and correctly handle post
8841         data. Fixes bug #47462.
8842
8843 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8844
8845         * ButtonColumn.cs: Removed additional attributes
8846         * CheckBox.cs: Added attribute
8847         * DataGrid.cs: Added attributes
8848         * HyperLinkColumn.cs: Changed attributes, added lamespec
8849         * Style.cs: Removed attributes
8850         * TextBox.cs: Added/ removed attributes
8851
8852 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8853
8854         * AdRotator.cs: Added all attributes
8855         * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8856         * BaseValidator.cs: Added all attributes
8857         * BoundColumn.cs: Added all attributes
8858         * Button.cs: Added all attributes
8859         * ButtonColumn.cs: Added all attributes, added lamespec
8860         * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8861         * CheckBox.cs: Added all attributes
8862         * CheckBoxList.cs: Added all attributes
8863         * CompareValidator.cs: Added all attributes
8864         * CustomValidator.cs: Added all attributes
8865         * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8866         * DataGridColumn.cs: Added all attributes
8867         * DataGridColumnCollection.cs: Added all attributes
8868         * DataGridPagerStyle.cs: Added all attributes
8869         * DataGridTableInternal.cs: Made DataGridTableInternal internal
8870         * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8871         * DropDownList.cs: Added all attributes
8872         * FontInfo.cs: Added all attributes
8873         * HyperLink.cs: Added all attributes
8874         * HyperLinkColumn.cs: Added all attributes
8875         * Image.cs: Added all attributes
8876         * ImageButton.cs: Added all attributes
8877         * Label.cs: Added all attributes
8878         * LinkButton.cs: Added all attributes
8879         * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8880         * ListControl.cs: Added all attributes
8881         * ListItem.cs: Added all attributes
8882         * ListItemCollection.cs: Added attribute
8883         * Literal.cs: Added all attributes
8884         * Panel.cs: Added all attributes
8885         * RadioButton.cs: Added all attributes
8886         * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8887         * RangeValidator.cs: Added all attributes
8888         * RegularExpressionValidator.cs: Added all attributes
8889         * Repeater.cs: Added all attributes
8890
8891 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8892
8893         * RequiredFieldValidator.cs: Added all attributes
8894         * Style.cs: Added all attributes
8895         * Table.cs: Added all attributes
8896         * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8897         * TableCellCollection.cs: Added attribute
8898         * TableRow.cs: Added all attributes
8899         * TableRowCollection: Added attribute
8900         * TableStyle.cs: Added all attributes, improved error messages
8901         * TemplateColumn.cs: Added all attributes
8902         * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8903         * ValidationSummary.cs: Added all attributes
8904         * WebControl.cs: Added all attributes
8905         * Xml.cs: Added all attributes
8906
8907 2003-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8908
8909         * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8910         * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8911
8912 2003-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8913
8914         * CheckBoxList.cs: fixes bug reported on the list about the state of
8915         the CheckButtons not being preserved across posts.
8916
8917 2003-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8918
8919         * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8920
8921 2003-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8922
8923         * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8924
8925 2003-06-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8926
8927         * ListControl.cs: save viewstate data when any of the 3 values is not
8928         null. Fixed condition to save selection indices. Closes bug #45493.
8929
8930 2003-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8931
8932         * DataGrid.cs: fixed bug #43823.
8933
8934 2003-05-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8935
8936         * DataGrid.cs: fixed delegate type for SortCommand.
8937
8938 2003-05-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8939
8940         * DataGridColumnCollection.cs: added missing return in RemoveAt.
8941
8942 2003-05-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8943
8944         * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8945         Don't save ViewState is the number of columns is 0.
8946
8947 2003-05-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8948
8949         * DataGrid.cs: get the right item Type for the property we're reading
8950         fromt the data source.
8951
8952 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8953
8954         * Label.cs:
8955         * TextBox.cs: added control builder attribute.
8956
8957 2003-03-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8958
8959         * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8960
8961 2003-03-17  George Kodinov <gkodinov@openlinksw.co.uk>
8962
8963         * Unit.cs: Called the correct method to get the Numeric locale for the
8964         double conversion
8965
8966 2003-02-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8967
8968         * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8969         correctly the header of the column.
8970
8971         * DataGridTableInternal.cs: don't assign a default ID to this control.
8972
8973         * LinkButton.cs: raise bubble event in OnCommand.
8974
8975         * TableCellCollection.cs: fixed the index returned by Add.
8976
8977         * TableRowCollection.cs: ditto.
8978
8979 2003-02-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8980
8981         * Xml.cs: don't call MapPathSecure when setting DocumentSource.
8982
8983 2003-02-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8984
8985         * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
8986         for reporting the bug and providing the fix.
8987
8988 2003-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8989
8990         * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
8991         CreateColumnSet. Set the owner of the column when auto generated.
8992         In PrepareControlHierarchyForItem, fixed for loop bound.
8993
8994         * LinkButtonInternal.cs: fixed infinite recursion bug.
8995
8996         Fixes bug #37124.
8997
8998 2003-01-22  Zdravko Tashev <ztashev@openlinksw.co.uk>
8999
9000         * Xml.cs: a few fixes.
9001
9002 2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9003
9004         * DataList.cs: handle the exception when adding new keys to
9005         DataKeysArray.
9006
9007 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9008
9009         * BaseDataList.cs: what can I say for this one? I spent so many time
9010         until I finally found this that I'm gonna miss this f....g bug... ;-).
9011         Farewell. Now we can get events from image buttons inside Data*.
9012
9013         * DataList.cs: now the value stored in ViewState for item count is
9014         correct.
9015
9016 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9017
9018         * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
9019         Header and Footer.
9020         * DataGridColumn.cs: added SetOwner method.
9021         * DataGridColumnCollection.cs: set the owner of the column when added.
9022
9023 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9024
9025         * BoundColumn.cs: typo.
9026         * DataGrid.cs: use 'as' instead of casting. Typo.
9027         * HyperLinkColumn.cs: call OnColumnChanged when any property change.
9028         Mono-stylized.
9029
9030 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9031
9032         * HyperLink.cs: fixes bug #36336.
9033
9034 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9035
9036         * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
9037
9038 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9039
9040         * BaseValidator.cs: return an empty string in GetControlValidationValue
9041         when GetValue returned null.
9042
9043         * CompareValidator.cs: fixed EvaluateIsValid.
9044
9045         * RegularExpressionValidator.cs: fixed EvaluateIsValid.
9046
9047 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9048
9049         * Xml.cs: use MapPathSecure to get the path of the document.
9050
9051 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9052
9053         * DataList.cs: fixed header & footer.
9054
9055 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9056
9057         * DataList.cs: for header and footer don't use data source.
9058         Instantiate in the DataListItem, not in the DataList.
9059         databind-template.aspx works now.
9060
9061 2002-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9062
9063         * BaseDataList.cs:
9064         (Render): call RenderContents (), not base.RenderContents ().
9065
9066         * DataList.cs: style.
9067
9068         But I still haven't found what i'm looking for....
9069
9070 2002-11-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9071
9072         * Calendar.cs: fixed loading/saving selected dates.
9073         * SelectedDatesCollection.cs: added internal function to get the
9074         underlying ArrayList.
9075
9076         Calendar navigation works again. Selecting dates too.
9077
9078 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9079
9080         * DataList.cs: added a few attributes and fixed infinite recursion.
9081
9082 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9083
9084         * ListItemCollection.cs: fixed LoadViewState.
9085
9086 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9087
9088         * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
9089         Commented out some code until it works.
9090
9091 2002-10-29      Gaurav Vaish <gvaish_mono@lycos.com>
9092
9093         * BaseCompareValidator.cs - Fixed operator bug in 
9094                                     Compare(string, string, ...)
9095         * CompareValidator.cs     - EvaluateIsValid()            : Implemented.
9096
9097 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
9098
9099         * BoundColumn.cs        - InitializeCell(TableCell, int, ListItemType)
9100                                                       : Implemented.
9101                                 - All Properties      : Now make use of ViewState.
9102
9103 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
9104
9105         * BaseValidator.cs      - Uncomment NotImplementedException.
9106
9107 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
9108
9109         * BaseValidator.cs      - Minor changes in TODO comments.
9110
9111 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
9112
9113         * BaseValidator.cs      - DetermineRenderUpLevel()       : Uncomment
9114                                   the NotImplementedException being thrown.
9115         * DataGridPagerStyle.cs - Mode { set; }                  : Implemented.
9116         * DataGridLinkButton.cs - Added new class (private)      : Implemented.
9117         * DataGrid.cs           - InitializePager(DataGridItem, int,
9118                                   PagedDataSource)               : Implemented.
9119
9120 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
9121
9122         * DataList.cs          - PrepareControlHierarchy()       : Implemented.
9123
9124 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
9125
9126         * DataList.cs          - RenderContents(HtmlTextWriter)  : Implemented.
9127                                - GetItem(ListItemType, int)      : Removed TODO.
9128                                - CreateControlHierarchy(bool)    : Implemented.
9129                                - CreateItem(int, ListItemType)   : Implemented.
9130                                - CreateItem(int, ListItemType,
9131                                        bool, object)             : Implemented.
9132                                - InitializeItem(DataItem)        : Implemented.
9133         * DataGrid.cs          - CreateControlHierarchy(bool)    : Bug fix.
9134                             The ViewState["_!ItemCount"],
9135                                 ViewState["_!DataSource_ItemCount"]
9136                                   are shared by DataList and DataGrid, and hence
9137                                   should share the same name.
9138                                - ResolveDataSource(object, string)
9139                                      : Removed. Use System.Web.UI.Utils.DataSourceHelper
9140                                        ::GetResolvedDataSource(object, string).
9141
9142
9143 2002-09-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9144
9145         * DataGrid.cs: fixed compilation
9146
9147 2002-09-12      Gaurav Vaish <gvaish_mono@lycos.com>
9148
9149         * PagedDataSource.cs   - FirstIndexInPage : Fixed bug.
9150         * DataGrid.cs          - CreateControlHierarchy(bool)
9151                                     : working towards completion.
9152                                - ResolveDataSource(object, string)
9153                                     : stubbed new method
9154                                - CreateItem(....)
9155                                     : stubbed new method
9156                         Well. It's almost done.
9157         * DataGridTableInternal.cs
9158                                - Added new internal class.
9159
9160 2002-08-28      Gaurav Vaish <gvaish_mono@lycos.com>
9161
9162         * DataSourceInternal.cs       - Added new class (internal).
9163
9164 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9165
9166         * FontUnit.cs:
9167         * HorizontalAlign.cs:
9168         * Unit.cs:
9169         * VerticalAlign.cs: fixes based on class status page.
9170         
9171         * HorizontalAlignConverter.cs: implemented.
9172         * VerticalAlignConverter.cs: implemented.
9173
9174         * FontUnitConverter.cs: implemented GetStandardValues ().
9175
9176         * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
9177
9178 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
9179
9180         * DataGrid.cs                 - AutoCreateColumns: Bug fixes.
9181
9182 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
9183
9184         * DataGrid.cs                 - AutoCreateColumns: completed, hopefully!
9185
9186 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
9187
9188         * DataGrid.cs                 - Working on the undocumented protected
9189                               method CreateColumnSet. AutoCreateColumns method
9190                               stubbed. Left CreateControlHierarchy for the time
9191                               being, looks like I'm going insane. ;-)
9192
9193 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
9194
9195         * Button.cs                   - Steffen's OnCommand bug fix.
9196
9197 2002-08-12      Gaurav Vaish <gvaish_mono@lycos.com>
9198
9199         * DataGrid.cs                 - Added protected method (skeleton)
9200                                         CreateColumnSet(PagedDataSource, bool)
9201                                       Still trying to know how will it be used
9202                                       and what for...
9203
9204 2002-08-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9205
9206         * PagedDataSource.cs: fixed compilation.
9207
9208 2002-08-08      Gaurav Vaish <gvaish_mono@lycos.com>
9209
9210         * DataGrid.cs                 - Added private method
9211                                         CreatePagedDataSource
9212                                       - Started work on
9213                                         CreateControlHierarchy(bool)
9214         * PagedDataSource.cs          - Bug fixed.
9215                                         CurrentPageIndex is writable.
9216
9217 2002-08-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9218
9219         * DataGrid.cs: fixed typo.
9220         * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
9221
9222 2002-08-06      Gaurav Vaish <gvaish_mono@lycos.com>
9223
9224         * DataGridColumn.cs           - Added internal methods to get the
9225                                         various styles (needed in DataGrid.cs)
9226         * DataGrid.cs                 - Completed the method
9227                                         PrepareControlHierarchy()
9228
9229 2002-08-06      Gaurav Vaish <gvaish_mono@lycos.com>
9230
9231         * DataGrid.cs                 - Wokring on PrepareControlHierarchy()
9232                                       - Added private method
9233                              PrepareControlHierarchyForItem()
9234
9235 2002-08-05      Gaurav Vaish <gvaish_mono@lycos.com>
9236
9237         * DataGrid.cs                 - Completed method
9238                              OnBubbleEvent(object, EventArgs)
9239
9240 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9241
9242         * Xml.cs: implemented document/transform load.
9243
9244 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9245
9246         * Calendar.cs: added myself to the list of authors.
9247         * DropDownList.cs: fixed a few properties.
9248         * ListControl.cs: fixed SelectedIndex.
9249
9250 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9251
9252         * Calendar.cs: lots of fixes. Render days.  Still left to persist
9253         selected days when changing month.
9254
9255         * Unit.cs: fixed Percentage and Pixel.
9256
9257         * WebControl.cs: a few properties are now using ControlStyle instead
9258         of ViewState to persist.
9259
9260 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9261
9262         * BaseValidator.cs: it works now.
9263         * DataGridColumn.cs: added attribute and made it abstract.
9264         * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9265
9266 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9267
9268         * TextBox.cs: default for Wrap is true.
9269         (OnPreRender): don't save Text if there are no listeners on TextChanged.
9270
9271 2002-07-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9272
9273         * DropDownList.cs:
9274         (ToolTip): fixed.
9275
9276         * ListItem.cs:
9277         (LoadViewState): fixed.
9278
9279         * ListItemCollection.cs:
9280         (TrackViewState): use items instead of 'this' in foreach.
9281
9282         * Style.cs:
9283         (LoadViewState): more checking of parameters.
9284
9285         * WebControl.cs: implemented LoadViewState and SaveViewState.
9286         
9287
9288 2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9289
9290         * ListItem.cs: there was no code to unset the flags!!!
9291
9292 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9293
9294         * FontUnit.cs: use a hashtable for mapping size name to value.
9295         * HyperLink.cs: fixed a bug and a typo.
9296         * Unit.cs: some fixes to internal constructor.
9297
9298 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9299
9300         * ListControl.cs: fixed a couple of range checks.
9301         * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9302         an HtmlForm (p.e., Label).
9303
9304 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9305
9306         * AdRotator.cs:
9307         * Button.cs:
9308         * Calendar.cs:
9309         * CheckBox.cs:
9310         * CheckBoxList.cs:
9311         * DataList.cs:
9312         * DropDownList.cs:
9313         * HyperLink.cs:
9314         * HyperLinkColumn.cs:
9315         * Image.cs:
9316         * ImageButton.cs:
9317         * Label.cs:
9318         * LinkButton.cs:
9319         * ListBox.cs:
9320         * Panel.cs:
9321         * PlaceHolder.cs:
9322         * RadioButton.cs:
9323         * RadioButtonList.cs:
9324         * Table.cs:
9325         * TableRow.cs:
9326         * TextBox.cs:
9327         * WebControl.cs: removed attributes added by mistake (i used
9328         GetCustomAttributes (true), d'oh!).
9329
9330         * DataListItem.cs: implemented RenderItem.
9331
9332         * Repeater.cs: implemented CreateItem and InitializeItem.
9333
9334 2002-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9335
9336         * BaseDataList.cs: a couple of fiex and added attributes.
9337         * DataGrid.cs: little fixes.
9338
9339 2002-07-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9340
9341         * CheckBoxList.cs:
9342         * DataGrid.cs:
9343         * DataList.cs:
9344         * DropDownList.cs:
9345         * ListBox.cs:
9346         * PlaceHolder.cs:
9347         * RadioButton.cs:
9348         * RadioButtonList.cs:
9349         * TableRow.cs:
9350         * WebControl.cs:
9351         * Xml.cs: forgot to add using System.ComponentModel.
9352
9353         * BaseValidator.cs: use explicitly 
9354         System.ComponentModel.AttributeCollection as there is another class
9355         with the same name under System.Web.UI.
9356
9357 2002-07-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9358
9359         * AdRotator.cs:
9360         * Button.cs:
9361         * Calendar.cs:
9362         * CheckBox.cs:
9363         * CheckBoxList.cs:
9364         * DataGrid.cs:
9365         * DataList.cs:
9366         * DropDownList.cs:
9367         * HyperLink.cs:
9368         * Image.cs:
9369         * ImageButton.cs:
9370         * Label.cs:
9371         * LinkButton.cs:
9372         * ListBox.cs:
9373         * Panel.cs:
9374         * PlaceHolder.cs:
9375         * RadioButton.cs:
9376         * RadioButtonList.cs:
9377         * Table.cs:
9378         * TableRow.cs:
9379         * TextBox.cs:
9380         * WebControl.cs:
9381         * Xml.cs: added/fixed all attributes used by xsp.
9382
9383         * BaseValidator.cs: some fixes.
9384
9385 2002-07-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9386
9387         * Table.cs:
9388         (AddAttributesToRender): correctly default to border=1.
9389
9390 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9391
9392         * AdRotator.cs:
9393         (LoadAdFile): make the dictionary null after every iteration.
9394
9395         * LinkButton.cs:
9396         * ListControl.cs:
9397         * ListItem.cs: fixed warnings.
9398
9399 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9400
9401         * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9402
9403 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9404
9405         * DataGridColumn.cs:
9406         * DataGridPagerStyle.cs:
9407         * DataList.cs:
9408         * DataListItem.cs:
9409         * Image.cs:
9410         * LinkButton.cs:
9411         * ListControl.cs:
9412         * ListItem.cs:
9413         * ListItemCollection.cs:
9414         * Repeater.cs:
9415         * ServerValidateEventArgs.cs:
9416         * Style.cs:
9417         * TableRow.cs:
9418         * WebControl.cs:
9419         * Xml.cs: more class status page based changes.
9420
9421 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9422
9423         * Button.cs:
9424         (.ctor): fixed to render the correct tag.
9425         (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9426
9427 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9428
9429         * WebControl.cs:
9430         (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9431         WebControl derived classes should be rendered inside a HtmlForm.
9432
9433 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9434
9435         * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9436         processing methods.
9437
9438 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9439
9440         * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9441         * RepeatInfo.cs: implemented DoHorizontalRendering.
9442
9443 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9444
9445         * System.Web.UI.WebControls/Repeater.cs:
9446         (Controls):
9447         (OnDataBinding): fixed stack overflow.
9448
9449 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9450
9451         * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9452         * RepeatInfo.cs: implemented DoHorizontalRendering.
9453
9454 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9455
9456         * WebControl.cs:
9457         (CopyBaseAttributes): copy Attributes and don't throw exception.
9458
9459 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9460
9461         * ListBox.cs: mono-stylized.
9462         (AddAttributesToRender): call parent class method.
9463
9464 2002-06-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9465
9466         * Style.cs: fixed IsEmpty and Width.
9467
9468         * Table.cs: mono-stylized.
9469         (TableRowControlCollection.AddAt): fixed.
9470         (AddAttributesToRender): fixed.
9471         
9472         * TableCell.cs: mono-stylized.
9473         (.ctor): use PreventAutoID.
9474         (AddAttributesToRender): fixed.
9475         (AddParsedSubObject): fixed.
9476
9477         * TableRow.cs: mono-stylized. Added
9478         ParseChildren attribute.
9479
9480         * TableStyle.cs:
9481         (get_GridLine): fixed.
9482
9483 2002-06-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9484
9485         * Panel.cs: fixed stack overflow.
9486         * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9487         and SingleConverter.
9488
9489 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9490
9491         * RadioButton.cs: mono-stylized and some little fixes.
9492
9493         * TextBox.cs: mono-stylized.
9494         (MaxLength): fixed typo.
9495
9496         (AddAttributesToRender): don't render the text between the tags for
9497         SingleLine, use value attribute for it. Don't render the text for
9498         Password.
9499
9500         (OnPreRender): don't throw exception and call base.OnPreRender.
9501
9502         (Render): for MultiLine, render the text between the opening and
9503         closing tags encoded as HTML.
9504
9505 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9506
9507         * ImageButton.cs:
9508         (AddAttributesToRender): fixer another stack overflow.
9509
9510         * WebControl.cs:
9511         (TagName): modified to use TagKey instead of tagKey as the property
9512         can be overriden.
9513
9514 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9515
9516         * LinkButton.cs: mono-stylized.
9517         (AddParsedSubObject):
9518         (RenderControls): little fixes.
9519
9520         * WebControl.cs:
9521         (AddAttributesToRender): fixed usage of IEnumerator.
9522
9523 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9524
9525         * Literal.cs: beautified.
9526
9527 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9528
9529         * Label.cs: beautified and fixed a couple of 'classic' bugs.
9530
9531         * WebControl.cs: use Span as default tag when no other provided in 
9532         constructor. That is what MS renders.
9533
9534 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9535
9536         * Button.cs:
9537         (AddAttributesToRender): fixed (classic) stack overflow.
9538
9539         * CheckBox.cs: mono-stylized.
9540         (AutoPostBack): fixed stack overflow.
9541         (Render): fixed alignment issues. Also set the For attribute always
9542         for the label.
9543
9544 2002-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9545
9546         * AdRotator.cs: GetData does not work as it should, but now it returns
9547         useful data (only the first ad in the file).  Set the NavigateUrl
9548         property in the hyperlink if available.
9549
9550         * HyperLink.cs: fixed constructor and a couple of stack overflows.
9551
9552         * Image.cs: added an attribute and fixed stack overflow.
9553
9554         * WebControl.cs:
9555         (RenderBeginTag): fixed.
9556         (TagName): don't call Enum.IsDefined twice.
9557
9558 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9559
9560         * WebControl.cs: added attributes PersistChildrenAttribute and 
9561         ParseChildrenAttribute.
9562
9563 2002-05-24  Duncan Mak  <duncan@ximian.com>
9564
9565         * DataGridItem.cs (SetItemType): Changed function signature to
9566         match 1.0 spec.
9567
9568         * ListItemCollection.cs (this): Changes the visibility level of
9569         the indexer.
9570
9571         * Repeater.cs (OnItemCommand):
9572         (OnItemCreated):
9573         (OnItemDataBound): Added necessary casts.
9574
9575 2002-05-07  Duncan Mak  <duncan@ximian.com>
9576
9577         * Button.cs (AddAttributesToRender): 
9578         * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9579         GetClientValidatedEvent method.
9580
9581 2002-03-27      Gaurav Vaish <gvaish@iitk.ac.in>
9582
9583         * Removed extra methods, corrected access modifiers to several
9584           methods.
9585
9586 2002-03-26      Gaurav Vaish <gvaish@iitk.ac.in>
9587
9588         * <SeveralFiles>.cs        - Added some attributes
9589         * FontUnitConverter.cs     - Added stubs for GetStandardValues*(..)
9590             methods. Will complete them later. Right now, busy with
9591             the attributes part.
9592         * RepeaterItem.cs          - Completed.
9593         
9594          Oh God! Mercy! I will die applying attributes. I look at the missing
9595           part in the class-status - daemon! Kyrie eleison!
9596
9597 2002-03-19      Gaurav Vaish <gvaish@iitk.ac.in>
9598
9599            Some bug fixes
9600
9601         * AdRotator.cs             - Added definition for Font.
9602         * BaseCompareValidator.cs  - Added definition for Controls.
9603         * Calendar.cs              - SelectMonthText definition corrected.
9604         * DataList.cs              - Added definition for SeparatorTemplate.
9605         * BorderStyle.cs           - Namespace correction. It belongs not to UI,
9606                                      but to UI.WebControls.
9607
9608 2002-03-17      Gaurav Vaish <gvaish@iitk.ac.in>
9609
9610         Finally, I have made it. Today I did a second build for the
9611          System.Web assembly. It compiled 195 classes today.
9612         I am waiting eagerly for the runtime to come up so that the objects
9613          may be tested to their last levels. Several of the methods are still
9614          under the tag of "TODO" throwing NotImplementedException. Well, I
9615          hope to remove them soon, but how far is this soon - even I don't
9616          know, though I am happy to make the build a success even before
9617          the vacations to come.
9618
9619 2002-03-07      Gaurav Vaish <gvaish@iitk.ac.in>
9620
9621         Yesterday and today I tried to do some building of the aseembly,
9622          but was dumped with uncoutably infinite errors. ;-)
9623         I have put the copies of the recent errors on my home page, want
9624          to have a look at them? See:
9625           http://mastergaurav.virtualave.net/mono/
9626         I don't know what to do with these errors. Oh! The buggy me! How
9627          will I overcome myself. Hopefully, by when my vacations over, I
9628          should have made a repository where the build will not fail.
9629
9630 2002-03-05      Gaurav Vaish <gvaish@iitk.ac.in>
9631
9632         I am now going to do a build that will include the
9633          System.Web.UI.WebControls namespace. Hoping that I will make it
9634          soon. My exams are coming near and I have to pack up soon.
9635
9636
9637 2002-03-04      Gaurav Vaish <gvaish@iitk.ac.in>
9638
9639 Comments:
9640         And with this, ie, today's work, all the objects mentioned in the
9641         namespace appear in the implementation. But it may not be worth
9642         trying to go for a build because of dependence of several of the
9643         internal methods that may clash with already available assembly
9644         System.Web.
9645         
9646         Also, the classes lack possible attributes, like those informing
9647         about child-controls etc. But I have to first create the attribute
9648         classes before I attach the attributes to the classes.
9649
9650         * CustomValidator.cs          - Completed. In process realized that
9651                      I have to complete / rejuvinate BaseValidator class.
9652         * BaseValidator.cs            - Complete rejuvination. Completed 80%
9653                     of the job. All that is left is Render(HtmlTextWriter),
9654                     DetermineRenderUplevel(), RegisterValidatorCommonScript()
9655                     RegisterValidatorDeclaration()
9656         * DataGridPagerStyle.cs       - Completed. That adds one more missle
9657                     in my artillery.
9658         * DataKeyCollection.cs        - Completed. Petty small.
9659         * Repeater.cs                 - Work started off. This is a quite
9660                     heavy class. Hooh!
9661         * DataGridItemEventArgs.cs,
9662         * DataGridShortCommandEventArgs.cs,
9663         * DataListItemEventArgs.cs,
9664         * MonthChangedEventArgs.cs,
9665         * RepeaterItemEventArgs.cs,
9666         * ServerValidateEventArgs.cs,
9667         * DataGridPageChangedEventArgs.cs
9668                                       - Damn, I marked them "*", while they
9669                     did not exist.
9670         * Repeater.cs                 - Done all except for an undocumented
9671                     method CreateControlHierarchy(bool). Though the method
9672                     is quite clear by its name, but it will take some time
9673                     for me to come with some material to flush in.
9674
9675 2002-03-03      Gaurav Vaish <gvaish@iitk.ac.in>
9676
9677         * SelectedDatesCollection.cs  - Completed.
9678         * PagedDataSource.cs          - Completed. Pathetically nice class.
9679         * RegularExpressionValidator.cs
9680                                       - Completed. Ridiculously small and
9681                     annoyinglyc crazy-driving class, basically the method
9682                     EvaluateIsValid().
9683         * RangeValidator.cs           - Completed.
9684         * DataGridColumn.cs           - Completed.
9685         * EditCommandColumn.cs        - All is complete except for the
9686                     InitializeCell(TableCell, int, ListItemType) method.
9687         * DataListItem.cs             - All done except for a longish method
9688                     RenderItem(HtmlTextWriter, bool, bool)
9689
9690 2002-03-02      Gaurav Vaish <gvaish@iitk.ac.in>
9691
9692         * RepeaterItemCollection.cs   - Completed.
9693                     I love *Collection classes. I am planning to make a
9694                     program that will generate a *Collection class. It's so
9695                     simple and the same. ;-)
9696         * DataGridColumnCollection.cs - Completed.
9697                     ... except probably for *ColumnCollection classes, where
9698                     you have to put in some more effort. Still, these class
9699                     generation can be automated.
9700         * DataListItemCollection.cs   - Completed.
9701                     See, how easily, in less than a quarter of a minute, I
9702                     completed this class - manually. Copy-Paste/Cut-Replace.
9703
9704 2002-02-21      Gaurav Vaish <gvaish@iitk.ac.in>
9705
9706         * DataGrid.cs                 - Following methods implemented:
9707                     TrackViewState(), LoadViewState(object), SaveViewState(),
9708                     On* -- The event raisers.
9709                     OnBubbleEvent(object, EventArgs) is still incomplete.
9710         * DataGridItem.cs             - Initial Implementation
9711         * DataGridItemCollection.cs   - Completed.
9712
9713 2002-02-08      Gaurav Vaish <gvaish@iitk.ac.in>
9714
9715         * DataGrid.cs                 - Initial Implementation. Worked
9716                     primarily with some properties.
9717
9718 2002-02-07      Gaurav Vaish <gvaish@iitk.ac.in>
9719
9720         * ListBox.cs                  - Completed. Implemented
9721                    LoadPostData(string, NameValueCollection)
9722         * RequiredFieldValidator.cs   - Completed. Pretty simple class.
9723
9724 2002-02-06      Gaurav Vaish <gvaish@iitk.ac.in>
9725
9726         * ListBox.cs                  - Implemented the following:
9727                    RaisePostDataChangedEvent()
9728
9729 2002-02-02      Gaurav Vaish <gvaish@iitk.ac.in>
9730
9731         * ListBox.cs                  - Supports the following properties:
9732                    BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9733                    ToolTip.
9734                   Methods:
9735                    AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9736                    RenderContents(HtmlTextWriter)
9737
9738
9739 2002-02-01      Gaurav Vaish <gvaish@iitk.ac.in>
9740
9741         * TargetConverter.cs          - Completed
9742         * TemplateColumn.cs           - Completed
9743         * DataList.cs                 - Corrected the get-er methods for the
9744                  *Style objects. Corrected the get/set-er methods for ViewState
9745                    related objects.
9746                  Addded support for properties:
9747                    GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9748                    RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9749                    SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9750                    SeparatorStyle, SeparatorItemTemplate.
9751                  Events:
9752                    CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9753                    ItemCreated, ItemDataBound, UpdateCommand.
9754                  Methods:
9755                    CreateControlStyle(), LoadViewState(object),
9756                    SaveViewState(), TrackViewState
9757                  Event handlers:
9758                    OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9759                    OnEditCommand, OnItemCommand, OnItemCreated,
9760                    OnItemDataBound, OnUpdateCommand
9761                  Added dummy methods for some undocumented methods:
9762                    CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9763                    CreateItem(int, ListItemType, bool, object),
9764                    PrepareControlHierarchy(), InitializeItem(DataListItem)
9765         * ListBox.cs                  - Started working.
9766
9767
9768
9769 2002-01-31      Gaurav Vaish <gvaish@iitk.ac.in>
9770
9771         * RepeaterInfo.cs             - Initial Implementation. Done all
9772                                         except for RepeatDirection.Vertical
9773         * TableStyle.cs               - Completed
9774
9775 2002-01-30      Gaurav Vaish <gvaish@iitk.ac.in>
9776
9777         * DropDownList.cs             - Completed
9778         * ListItemCollection.cs       - Added method FindByValueInternal to
9779                                         assist in the derived classes.
9780                                         Discovered bug in FindByValue. Removed
9781         * UnitConverter.cs            - Completed
9782         * PlaceHolder.cs              - What can be simpler than this?
9783         * PlaceHolderControlBuilder.cs
9784                                       - Uh! Damn cool one.
9785         * RadioButtonList.cs          - Initial Implementation. All is done
9786                                         except for the implementation of
9787                                         method IRepeatInfoUser.RenderItem(...)
9788         * ValidatedControlConverter.cs
9789           ^^^^^^^^^^^^^^^^^^^^^^^^^   - Looks complete. Doubtful though !!
9790         * ValidationSummary.cs        - Initial Implementation.
9791         * WebColorConverter.cs        - Initial Implementation
9792
9793 2002-01-27      Gaurav Vaish <gvaish@iitk.ac.in>
9794
9795         * FontNamesConverter.cs       - Completed
9796         * FontUnitConverter.cs        - Partial Implementation
9797         * ListItemControlBuilder.cs   - Completed
9798
9799 2002-01-27      Gaurav Vaish <gvaish@iitk.ac.in>
9800
9801         * TextBox.cs                  - All done except *Render* methods
9802         * TextBoxControlBuilder.cs    - Completed
9803         * Xml.cs                      - Partial Implementation
9804
9805 2002-01-26      Gaurav Vaish <gvaish@iitk.ac.in>
9806
9807         * RadioButton.cs              - Completed
9808         * TextBox.cs                  - Partial Implementation
9809
9810 2002-01-25      Gaurav Vaish <gvaish@iitk.ac.in>
9811
9812         * Panel.cs                    - Completed
9813         * TableItemStyle.cs           - Completed
9814
9815 2002-01-18      Gaurav Vaish <gvaish@iitk.ac.in>
9816
9817         * TableCellCollection.cs      - Completed
9818         * TableRowCollection.cs       - Completed
9819         * TableHeaderCell.cs          - Completed
9820         * TableRow.cs                 - Completed
9821
9822 2002-01-09      Gaurav Vaish <gvaish@iitk.ac.in>
9823
9824         * TableCellControlBuilder.cs  - Completed
9825         * Table.cs                    - Completed
9826         * TableCell.cs                - Completed
9827
9828 2002-01-07      Gaurav Vaish <gvaish@iitk.ac.in>
9829
9830         * CheckBoxList.cs             - Completed
9831         * ButtonColumn.cs             - Completed
9832         * Button.cs                   - Completed
9833
9834 2001-12-28      Gaurav Vaish <gvaish@iitk.ac.in>
9835
9836         * HyperLink.cs                - Completed
9837         * Image.cs                    - Completed
9838         * ImageButton.cs              - Completed
9839         * Label.cs                    - Completed
9840         * LabelControlBuilder.cs      - Completed
9841         * LinkButton.cs               - Completed
9842         * LinkButtonControlBuilder.cs - Completed
9843         * Literal.cs                  - Completed
9844         * LieteralControlBuilder.cs   - Completed
9845         * FontUnit.cs                 - Completed
9846
9847
9848 2001-12-27      Gaurav Vaish <gvaish@iitk.ac.in>
9849
9850         * Calendar.cs                 - Completed the functions of Render*,
9851                                         ViewStates (Track/View/Save),
9852                                         RaisePostBackEvent.
9853                                         Left: RenderAllDays (partially)
9854
9855 2001-12-21      Gaurav Vaish <gvaish@iitk.ac.in>
9856
9857         * Calendar.cs                 - Added some more functions
9858         * Style.cs                    - Completed
9859         * ListItem.cs                 - Completed
9860         * ListItemCollection.cs       - Completed
9861
9862   Made the first successful build of System.Web.dll that included
9863   System.Web.UI.WebControls!
9864
9865 2001-12-20      Gaurav Vaish <gvaish@iitk.ac.in>
9866
9867         FontInfo.cs                 - Complete revamp. Completed
9868
9869 2001-12-19      Gaurav Vaish <gvaish@iitk.ac.in>
9870
9871         ListItemCollection.cs       - Completed
9872         ListItem.cs                 - Initial Implementation
9873         Style.cs                    - Initial Implementation
9874
9875   Right now I am in a total mood to do a successful build. Creating so many
9876   classes, completing classes in System.Web System.Web.UI namespaces.
9877
9878 2001-12-18      Gaurav Vaish <gvaish@iitk.ac.in>
9879
9880         TODO                        - Properly added
9881         CheckBox.cs                 - Completed
9882         BaseDataList.cs             - Completed
9883         DayRenderEventArgs.cs       - Completed
9884         RepeaterItem.cs             - Initial implementation
9885
9886 2001-12-17      Gaurav Vaish <gvaish@iitk.ac.in>
9887
9888         BaseCompareValidator.cs     - Completed
9889         AdRotator.cs                - Completed
9890
9891 2001-12-15      Gaurav Vaish <gvaish@iitk.ac.in>
9892
9893         CommandEventArgs.cs         - Completed
9894         DataGridCommandEventArgs.cs - Completed
9895         RepeaterCommandEventArgs.cs - Completed
9896         DataListCommandEventArgs.cs - Completed
9897         CompareValidator.cs         - Partial Implementation
9898
9899 2001-12-02      Gaurav Vaish <gvaish@iitk.ac.in>
9900
9901         CheckBoxList.cs            - Partial Implementation.
9902                                      All except "Render"
9903
9904 2001-12-01      Gaurav Vaish <gvaish@iitk.ac.in>
9905
9906         ListControl.cs             - Completed
9907
9908 2001-11-30      Gaurav Vaish <gvaish@iitk.ac.in>
9909
9910         CheckBox.cs                - Completed
9911         ListControl.cs             - Initial Implementation
9912         CheckBoxList.cs            - Started with it, but first needed
9913                                      ListControl. Left it.
9914
9915 2001-11-29      Gaurav Vaish <gvaish@iitk.ac.in>
9916
9917         CalendarDay.cs             - Making a note that this
9918                                      has been implemented
9919         Calendar.cs                - Making a note that have made some changes.
9920                                      Unimplmented functions throw
9921                                      NotImplementedException
9922         CheckBox.cs                - Can now "Render" and "LoadPostData"
9923
9924
9925 2001-11-08      Gaurav Vaish <gvaish@iitk.ac.in>
9926         WebControl.cs              - Total Revamp, Partial Implementation
9927         AdRotator.cs               - Able to load files
9928         AdCreatedEventArgs.cs      - Implemented
9929
9930 2001-11-05      Gaurav Vaish <gvaish@iitk.ac.in>
9931         Calendar.cs                - Initial Implementation
9932         ButtonColumn.cs            - Initial Implementation
9933         Button.cs                  - Initial Implementation
9934         BoundColumn.cs             - Initial Implementation
9935         BaseCompareValidator.cs    - Minor Changes
9936         DataList.cs, BaseValidator.cs, BaseDataList.cs
9937                                    - Added more functions, other changes
9938         
9939 2001-10-28      Gaurav Vaish <gvaish@iitk.ac.in>
9940         WebControl.cs              - Initial Implementation
9941         DataList.cs                - Initial Implementation
9942         BaseValidator.cs           - Initial Implementation
9943         BaseDataList.cs            - Initial Implementation
9944
9945 2001-10-27      Gaurav Vaish <gvaish@iitk.ac.in>
9946
9947         AdCreatedEventArgs.cs      - Initial Implementation
9948         AdCratedEventHandler.cs    - Implemented
9949         AdRotator.cs               - Initial Implementation
9950         BorderStyle.cs             - Implemented
9951         ButtonColumnStyle.cs       - Implemented
9952         CalendarSelectionMode.cs   - Implemented
9953         DayNameFormat.cs           - Implemented
9954         FirstDayOfWeek             - Implemented
9955         FontInfo.cs                - Partial Implementation
9956         FontSize.cs                - Implemented
9957         GridLines.cs               - Implemented
9958         HorizontalAlign.cs         - Implemented
9959         HyperLink.cs               - Initial Implementation
9960         ImageAlign.cs              - Implemented
9961         IRepeatInfoUser.cs         - Implemented
9962         ListItemType.cs            - Implemented
9963         ListSelectionMode.cs       - Implemented
9964         NextPrevFormat.cs          - Implemented
9965         PagerMode.cs               - Implemented
9966         PagerPosition.cs           - Implemented
9967         RepeatDirection.cs         - Implemented
9968         RepeatLayout.cs            - Implemented
9969         TextAlign.cs               - Implemented
9970         TextBoxMode.cs             - Implemented
9971         TitleFormat.cs             - Implemented
9972         UnitType.cs                - Implemented
9973         ValidationCompareOperator.cs
9974                                    - Implemented
9975         ValidationDataType.cs      - Implemented
9976         ValidationSummaryDisplayMode.cs
9977                                    - Implemented
9978         ValidatorDisplay.cs        - Implemented
9979         VerticalAlign.cs           - Implemented
9980
9981
9982
9983 i/ File Created 2001-11-13