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