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