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