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