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