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