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