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