2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / ChangeLog
1 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2
3         * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
4
5 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
6
7         * DetailsView.cs: fixed: CurrentMode property.
8
9 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
10
11         * DetailsView.cs: fixed: current state are not changed during paging.
12
13 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
14
15         * DetailsView.cs: fixed: 
16         in Insert mode Select not invoked from DataSource
17                 
18 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
19
20         * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
21
22 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
23
24         * FormView.cs: fixed: CreateDataSourceSelectArguments method.
25         (corresponding test does not work because bug in ObjectDataSourceView)
26
27 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
28
29         * DataBoundControl.cs: fixed: DataBind calls
30         CreateDataSourceSelectArguments() and stores result in  SelectArguments
31
32 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
33
34         * DetailsView.cs: 
35         * DetailsView.js: 
36         fixed: EnablePagingCallbacks feature.
37         when postback is invoked after callback control state is restored
38         properly. 
39
40 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
41
42         * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
43
44 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
45
46         * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
47         (corresponding test does not work because bug in ObjectDataSourceView)
48
49 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
50
51         * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
52         when postback is invoked after callback control state is restored
53         properly. 
54
55 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
56
57         * GridView.cs: fixed: Sorting feature.
58         When sorting EditIndex and PageIndex are reseted
59
60 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
61
62         * GridView.cs: fixed: Sorting feature.
63         CreateDataSourceSelectArguments considers SortExpression and SortDirection.
64         (corresponding test does not work because bug in ObjectDataSourceView)
65
66 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
67
68         * GridView.cs: fixed: 
69         CreateDataSourceSelectArguments works according to MSDN.
70         (corresponding test does not work because bug in ObjectDataSourceView)
71
72 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
73
74         * ObjectDataSourceView.cs: fixed: 
75         CanRetrieveTotalRowCount returns true if EnablePaging = false
76
77 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
78
79         * DataBoundControl.cs: fixed: DataBind flow
80         CreateDataSourceSelectArguments() is called 
81         each time as DataBind() is called       
82
83 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
84
85         * BoundField.cs: implemented ValidateSupportsCallback().
86
87 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
88
89         * CommandField.cs: ValidateSupportsCallback(): exception's message.
90
91 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
92
93         * FormView.cs: fixed: CurrentMode property.
94
95 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
96
97         * FormView.cs:
98         * GridView.cs:
99         * DetailsView.cs: 
100         * PagerSettings.cs: 
101         reverted r66222, problem solved in r66283: command buttons inherit ForeColor
102                 
103 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
104
105         * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
106         fail.
107
108 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
109
110         * HyperLink.cs: don't render the img tag 'by hand' but use an Image
111         instead, which takes care of the 0/0px case. Also set the ToolTip
112         property. Fixes bug #79585.
113
114 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
115
116         * DetailsView.cs: optimization for previous patch
117
118 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
119
120         * FormView.cs: optimization for previous patch
121
122 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
123
124         * DetailsView.cs:
125         * DetailsViewRow.cs:
126         implemented PrepareControlHierarchy()
127         styles are applied correct
128
129 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
130
131         * FormView.cs:
132         implemented PrepareControlHierarchy()
133         styles are applied correct
134
135 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
136
137         * GridView.cs:
138         * DataControlButton.cs:
139         * DataControlField.cs:
140         implemented PrepareControlHierarchy()
141         styles are applied correct
142         command buttons inherit ForeColor
143
144 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
145
146         * WebControl.cs: fixed: CreateControlStyle()
147
148 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
149
150         * FormView.cs:
151         * GridView.cs:
152         * DetailsView.cs: 
153         * PagerSettings.cs: 
154         corrected pager rendering: Color style applied to A tag,
155         Input type="image" used if ImageUrl is not empty.
156                 
157 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
158
159         * GridView.cs: corrected rendering 
160         * ContainedTable.cs: added new helper class 
161                 
162 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
163
164         * FormView.cs: fixed: 
165         in Insert mode Select not invoked from DataSource
166                 
167 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
168
169         * FormView.cs: fixed: 
170         Pager is not shown when page count < 1
171         in Edit mode use EmptyDataTemplate if there is no DataItem
172         when page changed FormView stays in current state. 
173                 
174 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
175
176         * FormView.cs: fixed: OnBubbleEvent works properly
177                 
178 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
179
180         * DataBoundControl.cs: fixed: DataBind flow
181         GetData return "empty" DataSourceView when no DataSource and DataSourceID
182         was assigned to cause PerformDataBinding be called.     
183                 
184 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
185
186         * DataList.cs: use ExtractTemplateRows to determine if the style is
187         applied to the Table in a template or to its rows. Fixes bug #78058.
188
189 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
190
191         * ListBox.cs: if the list is not enabled, don't require a postback.
192         Fixes bug #79445.
193
194 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
195
196         * HyperLink.cs: don't output the nabvigate url if disabled.
197         * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
198         the link URL if disabled.
199         Fixes bug #79443.
200
201 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
202
203         * RadioButtonList.cs: 
204         make it to consider CausesValidation and ValidationGroup properties
205                 
206 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
207
208         * CheckBoxList.cs: 
209         make it to consider CausesValidation and ValidationGroup properties
210                 
211 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
212
213         * RadioButton.cs: 
214         Page.Validate() is called when CausesValidation=true
215                 
216 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
217
218         * CheckBox.cs: 
219         make onclick attribute to consider ValidationGroup property.
220         
221 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
222
223         * BulletedLis.cs: 
224         make rendering of the href attribute to consider ValidationGroup property.
225         Page.Validate() is called when CausesValidation=true
226         
227 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
228
229         * ListBox.cs: 
230         make rendering of the onchange attribute to consider ValidationGroup 
231         property.
232         Page.Validate() is called when CausesValidation=true
233         
234 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
235
236         * DropDownList.cs: 
237         make rendering of the onclick attribute to consider ValidationGroup property
238         Page.Validate() is called when CausesValidation=true
239         
240 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
241
242         * ListControl.cs: 
243         VewState saving and restoring rolled back to 1.1 implementation 
244         (fixed corresponding test), corrected public interface (there are no 
245         overriden methods SaveControlState, LoadControlState and OnInit), 
246         implemented CausesValidation and ValidationGroup properties.
247         
248 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
249
250         * TextBox.cs: 
251         make rendering of the onclick attribute to consider ValidationGroup property
252         Page.Validate() is called when CausesValidation=true
253         
254 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
255
256         * LinkButton.cs: 
257         implemented: RaisePostBackEvent, 
258         refactoring: GetPostBackOptions used to build onclick client event
259
260 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
261
262         * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
263
264 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
265
266         * BaseValidator.cs: implemented ValidationGroup feature on client side
267         * ValidationSummary.cs: 
268
269 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
270
271         * TreeView.cs: corrected rendering
272         * TreeNode.cs:  
273
274 2006-09-11  Konstantin Triger <kostat@mainsoft.com>
275
276         * Login.cs: ensure the urls are correctly resolved.
277
278 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
279
280         * TreeView.cs: corrected rendering: styles are applied correct
281         * TreeNode.cs:  
282         * TreeNodeStyle.cs:     
283
284 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
285
286         * TreeView.cs: corrected rendering: HoverNodeStyle works
287         * TreeNode.cs:  
288         * TreeView.js:  
289
290 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
291
292         * TreeNodeStyle.cs: fixed: ViewState restored properly  
293
294 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
295
296         * Style.cs:
297         * TableStyle.cs:        
298         * TableItemStyle.cs:    
299         * DataGridPagerStyle.cs:        
300         refactoring: makes Style class more flexible for inheriting and reuse   
301
302 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
303
304         * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked 
305         state restored correct on PostBack.
306         * TreeView.js   
307
308 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
309
310         * ObjectDataSourceView.cs: correctly find the type when it is not in the
311         executing assembly. Fixes bug #78321. Patch by Marek Habersack.
312
313 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
314
315         * ControlParameter.cs: fix search for controls so that they use their
316         NamingContainer, not the Page. Patch by Marek Habersack that fixes
317         bug #78320.
318
319 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
320
321         * Login.cs: fix problem with the login control and master pages.
322         Patch by Marek Habersack that fixes bug #78219.
323
324 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
325
326         * TreeView.cs: fixed: populating nodes.
327         * TreeView.js   
328
329 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
330
331         * TreeNode.cs: fixed: ToggleExpandState.
332
333 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
334
335         * SqlDataSourceView.cs: return DataView from ExecuteSelect when
336         DataSourceMode is DataSet.
337
338 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
339
340         * TreeView.cs: fixed: populating nodes flow.
341         * TreeNodeCollection.cs
342         * TreeNode.cs
343
344 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
345
346         * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.    
347
348 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
349
350         * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.        
351
352 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
353
354         * TreeView.cs: fixed: when specified value is not one of 
355         the TreeNodeTypes values exception is threw.     
356
357 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
358
359         * TreeView.cs: fixed: when specified image set is not one of 
360         the TreeViewImageSet values exception is threw.  
361
362 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
363
364         * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.       
365
366 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
367
368         * Style.cs: implemented SetBit().        
369
370 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
371
372         * CompareValidator.cs: fixed controltocompare attribute.         
373
374 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
375
376         * Login.cs: fixed:
377         when login attempt was not successful FailureText is shown.      
378
379 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
380
381         * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage 
382         is formatted correct. 
383
384 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
385
386         * CreateUserWizard.cs: 
387         * CompleteWizardStep.cs: 
388         * CreateUserWizardStep.cs: 
389         * Wizard.cs:
390          fixed: ContinueButtonClick occurs when the user clicks 
391          the Continue button in the final user account creation step.
392          ContinueDestinationPageUrl - redirected after clicking 
393          the Continue button on the success page.       
394
395 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
396
397         * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
398         insted internal DataControlButton. 
399
400 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
401
402         * Button.cs: implemented GetPostBackOptions + refactoring
403
404 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
405
406         * ImageButton.cs: implemented 2.0 features
407         OnClientClick attached to onclick attribute.
408         PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
409         generate onclick attribute.
410
411 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
412
413         * LinkButton.cs: typo fix
414
415 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
416
417         * Button.cs: refactoring
418
419 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
420
421         * LinkButton.cs: implemented 2.0 features
422         OnClientClick attached to onclick attribute.
423         PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
424         for href attribute.
425
426 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
427
428         * Button.cs: implemented 2.0 features
429
430 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
431
432         * Menu.cs: refactoring
433         * Style.cs:
434
435 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
436
437         * TreeView.cs: fixed data binding
438
439 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
440
441         * TreeNodeBinding.cs: fixed ToString method
442
443 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
444
445         * MenuItem.cs: typo fix
446
447 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
448
449         * CreateUserWizardStep.cs: fixed validators message display
450
451 2006-08-25  Kornél Pál  <kornelpal@gmail.com>
452
453         * FileUpload.cs: Use assembly name constants.
454
455 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
456
457         * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
458         always creates ExtractTemplateValuesMethod delegate
459
460 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
461
462         * TreeNodeBinding.cs: corrected public interface
463         * TreeNodeStyle.cs: 
464
465 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
466
467         * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
468         case, but there are many others.
469
470 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
471
472         * Menu.cs: corrected rendering of static and dynamic items
473         * Menu.js: 
474
475 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
476
477         * Style.cs:
478         * FontInfo.cs: 
479         fixed: AddAttributesToRender method calls FillStyleAttributes,
480         text styles applied correct.
481
482 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
483
484         * FontInfo.cs: 
485         fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
486         refactoring: Name and Names properties has same source in bag.
487
488 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
489
490         * Style.cs: restored r63894: for 1.x is refactoring only
491
492 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
493
494         * FontInfo.cs: 
495         fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
496         added ClearDefaults method for 2.0.
497
498 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
499
500         * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
501         should be false
502
503 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
504
505         * SubMenuStyle.cs: fixed:
506         Unit.ToString() already include unit (e.g. "3px")
507
508 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
509
510         * Style.cs:
511         * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
512         submitted for review and it only added tests for the 2.0 profile.
513
514 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
515
516         * FormView.cs: added explicit implementation of
517         IDataItemContainer.DataItemIndex, as documented
518
519 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
520
521         * Style.cs: fixed:
522         When style is registered with StyleSheet AddAttributesToRender method
523         adds class attribute but not style to writer 
524
525 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
526
527         * Menu.cs: fixed: 
528         OnBubleEvent works properly - controls like Button, LinkButton nested into template
529         can raise MenuItemClick event,
530         ViewState of Items saved and restored properly.
531
532 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
533
534         * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
535         MS.NET's behaviour.
536
537 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
538
539         * Menu.cs: fixed databinding feature:
540         ensure that items initialization occurs only once
541
542 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
543
544         * Menu.cs, MenuItem.cs: fixed databinding feature
545
546 2006-08-09  Robert Jordan  <robertj@gmx.net>
547
548         * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
549         replace ResolveUrl with ResolveClientUrl to match MS.NET's
550         behaviour. Fixes bug #77539.
551
552 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
553
554         * HierarchicalDataBoundControl.cs: fixed DataBind flow
555
556 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
557
558         * Content.cs:
559         * Label.cs:
560         * ListControl.cs:
561         * MultiView.cs:
562         * WebControl.cs: fixed ParseChildren attribute to be compliant
563         to .net
564
565 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
566
567         * MultiView.cs: fixed: EnableTheming property
568
569 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
570
571         * Style.cs:
572         * Label.cs:
573         * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
574
575 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
576
577         * Style.cs: fixed restoring FontInfo from ViewState
578
579 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
580
581         * XmlDataSource.cs: implemented caching functionality
582
583 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
584
585         * PagerSettings.cs: Fixed the pager range calculation formula. The old
586         one didn't work with more than 20 pages. Patch by Marek Habersack that
587         closes bug #78328.
588
589 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
590
591         * FormView.cs: fixes to make Render more similar to dotnet.
592
593 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
594
595         * Wizard.cs: fixed return value of OnBubbleEvent
596
597 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
598
599         * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
600         handle null result of GetData().
601
602 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
603
604         * FormView.cs: use TableStyle for ControlStyle.
605
606 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
607
608         * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
609
610 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
611
612         * FormView.cs: init DataKeys and fix null reference.
613
614 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
615
616         * TreeView.cs: several changes to improve compatibility with MS.
617         Patch by Marek Habersack that fixes bug #77551.
618
619 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
620
621         * Style.cs: output the text-decoration value even when it is 'none'.
622         Patch by Marek Habersack that fixes bug #78968.
623
624 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
625
626         * FormView.cs: initialize PageCount with 0; fix IsBindableType to
627         include Decimal.
628
629 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
630
631         * DetailsViewRowCollection.cs: returns this in SyncRoot.
632
633 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
634
635         * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
636         and CellPadding.
637
638 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
639
640         * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
641
642 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
643
644         * AutoGeneratedField.cs: fix the internal constructor according to test
645         DetailsView_CreateAutoGenerateRow.
646
647 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
648
649         * XmlDataSource.cs: implemented XSLT, removed properties from
650         view state
651         * XmlDataSourceView.cs: fixed default xpath
652
653 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
654
655         * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
656
657 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
658
659         * Wizard.cs: fixed ActiveStep property
660         fixed templated side bar
661
662 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
663
664         * ImageField.cs: fix null reference bug.
665
666 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
667
668         * DetailsView.cs: init DataKey property with empty collection.
669         * DataKey.cs: fix unexpected exception bug.
670         * DataControlField.cs: override ToString according to MSDN.
671
672 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
673
674         * DetailsView.cs: create table style in CreateControlStyle.
675
676 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
677
678         * DetailsView.cs: don't throw the exception which .Net does not throw.
679
680 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
681
682         * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
683         to match .Net; fix PageCount to match record count.
684
685 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
686
687         * Menu.cs: fixed properties default values, fixed rendering
688         SkipLinkText
689
690 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
691
692         * Wizard.cs: implemented SkipLinkText, TagKey
693         fixed rendering bugs, fixed templated button bar rendering
694         fixed side bar rendering
695         * WizardStepBase.cs: fixed Name property
696
697 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
698
699         * DetailsView.cs: fix the regressions, caused by the previous commit.
700
701 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
702
703         * DetailsView.cs: correct handling the different default values of
704         DetailsView.CellSpacing and Table.CellSpacing.
705
706 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
707
708         * DetailsView.cs: create a pager row when needed.
709
710 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
711
712         * DetailsView.cs:
713         * GridView.cs:
714         * PagedDataSource.cs:
715         * FormView.cs:
716         * ImageButton.cs:
717         * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
718         support it. The GridView control will no longer throw an exception when
719         rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
720
721 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
722
723         * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
724         Rows with empty collection; call EnsureChildControls from get Row;
725         NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
726         implemented IPostBackContainer.GetPostBackOptions.
727
728 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
729
730         * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
731         and FooterText are empty, to match .NET. Otherwise we have NullReference
732         when .NET does not.
733
734 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
735
736         * DetailsView.cs: Render fix.
737
738 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
739
740         * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
741         property name.
742
743 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
744
745         * DetailsView.cs: NullReferenceException fix
746
747 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
748
749         * PagerSettings.cs: implemented PropertyGhanged event
750
751 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
752
753         * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
754         with .Net; don't throw NotImplemented when base class implementation
755         is available.
756
757 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
758
759         * DetailsViewPagerRow.cs: add a stub for this class
760
761 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
762
763         * GridView: fixed DataKeyNames property, moved to ControlState
764         fixed PageCount property, initial PageCount ahould be zero
765         fixed SelectedDataKey, should throw exception if not initialized
766         fixed CreateColumns, wrong order of columns
767         fixed CreateControlStyle,
768         fixed InitializePager, no columnspan attrib on only one column
769         fixed LoadControlState, SaveControlState added DataKeyNames
770         fixed Render, RenderGrid should render within div tag
771         implemented GetPostBackOptions
772         * DataControlButton.cs: fixed Render, fixed style for img button
773
774 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
775
776         * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
777         mode
778
779 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
780
781         * CommandField.cs: fixed ValidateSupportsCallback
782
783 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
784
785         * Image.cs: prepare to use HttpBrowserCapabilities. Does not
786         affect the flow yet.
787
788 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
789
790         * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
791
792 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
793
794         * WebControl.cs: fix for AddAttributesToRender - add display
795         style when appropriate
796
797 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
798
799         * CommandField.cs: fixed InitializeCell, wrong order of command 
800         buttons
801         * ImageField.cs: image field with null src and ConvertEmptyStringToNull
802         should be rendered as label
803         * BoundField.cs: empty null value should be rendered as nbsp
804         * GridViewRowCollection.cs: fixed SyncRoot
805
806 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
807
808         * SiteMapPath.cs: create Literal instead of Label according to the
809         MSDN and test SiteMapPath_InitializeItem.
810
811 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
812
813         * Style.cs: BorderStyle should be added if BorderWidth greater than 0
814         * Image.cs: in 2.0 there is no border attribute, but border-width
815         style attribute
816
817 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
818
819         * Button.cs: always render the 'name' attribute. Fixes bug #78746.
820
821 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
822
823         * DataList.cs: correctly initialize editable items when there's an
824         EditItemTemplate. Patch by JarosÅ‚aw Pawlak.
825
826 2006-07-13  Juraj Skripsky <js@hotfeet.ch>
827
828         * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
829         unchanged.
830
831 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
832
833         * BulletedList.cs: fixed Render, RenderBulletText, various properties
834         * ListItem.cs, ListItemCollection.cs: added Enabled property that is 
835         new in 2.0
836
837 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
838
839         * MultiView.cs: 'initied' state variable was changed to views count in
840         the views collection.
841
842 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
843
844         * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
845         checkbox should have tooltip
846         * HyperLinkField.cs: fixed InitializeCell, should create link control
847         only in data cell (not in header or footer), initialization of 
848         ControlStyle
849         * ImageField.cs: fixed InitializeDataCell, initialization of 
850         ControlStyle
851
852 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
853
854         * MultiView.cs: removed exception throwing from ActiveViewIndex
855
856 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
857
858         * DataControlFieldCollection.cs: added OnClearComplete override;
859                 refactor to eliminate null reference exception.
860
861 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
862
863         * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
864         * View.cs: fixed Visible property
865
866 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
867
868         * ImageField.cs: fixing .net compliancy.
869
870 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
871
872         * SiteMapPath.cs: fix the default PathSeparator value.
873
874 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
875
876         * GridView.cs: always create Header/Fotter rows, but render only when
877         ShowHeader/Footer is true. Compute Header/Footer rows from rows
878         collection.
879         * CheckBoxField.cs: add override to ApplyFormatInEditMode,
880         add ToolTip and Text to the created CheckBox,
881         wrap exception thrown in OnDataBindField in httpException.
882
883 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
884
885         * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
886
887 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
888
889         * DataControlField.cs: correct handling empty header/footer text.
890         * TemplateField.cs: correct initialization according to
891         DataControlRowState.
892
893 2006-07-05  Vladimir Krasnov  <vladimirk@mainsoft.com>
894
895         * Wizard.cs: added functionality for Templated WizardStep
896         and CreateUserWizard
897         * added CompleteWizardStep.cs,  CreateUserWizard.cs, 
898         CreateUserWizardStep.cs, TemplatedWizardStep.cs
899
900 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
901
902         * AutoGeneratedField.cs: correcting default dataType.
903
904 2006-07-03  Vladimir Krasnov  <vladimirk@mainsoft.com>
905
906         * DataControlField.cs: fixed Initialize, should always return false
907
908 2006-07-03  Lluis Sanchez  <lluis@novell.com>
909
910         * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
911
912 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
913
914         * DataBoundControl.cs: implement MarkAsDataBound and consider it while
915         setting RequiresDataBinding in OnLoad event.
916         * GridView.cs: DataBind rows before other control can access the data.
917         * BoundField.cs: add unique ID to control for postback parameters.
918
919 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
920
921         * WebControl.cs: fix typo in EnableTheming.
922
923 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
924
925         * MenuItemCollection.cs: save items if the collection is dirty.
926         * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
927         Add item to collection before binding to let the state be correctly tracked.
928         * Menu.cs: Add item to collection before binding to let the state be correctly
929         tracked.
930
931 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
932
933         * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
934         test against with "^...$" if necessary. MS.NET does this too.
935
936 2006-06-28  Vladimir Krasnov  <vladimirk@mainsoft.com>
937
938         * WizardStepCollection.cs: Fixed Add methods to initialize
939         WizardStep.Wizard property
940         * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
941         Fixed GetStepType, if only one step present, it should be FinishStep
942         Fixed styles of tables for more accurate rendering, fixed Wizard 
943         buttons order
944
945 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
946
947         * FormView.cs: instantiate correct template when the bounding data source is
948         empty.
949
950 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
951
952         * FormView.cs: disabling setting out of range FormView.PageIndex.
953
954 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
955
956         * FileUpload.cs: added
957
958 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
959
960         * FormView.cs: handle CssClass attribute
961
962 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
963
964         * Button.cs: do something in PostBackUrl.
965         * Repeater.cs: when creating the RepeaterItemCollection, initialize
966         'items' if it hasn't been done yet. Fixes bug #78417.
967
968 2006-06-14  Vladimir Krasnov  <vladimirk@mainsoft.com>
969
970         * BaseDataList.cs: added ConnectToDataSource method that called from 
971         OnLoad, fixed GetData method
972         * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
973         has been created
974
975 2006-06-14  Andrew Skiba <andrews@mainsoft.com>
976
977         * Menu.cs: add CssStyle value to the rendered class attribute
978
979 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
980
981         * Calendar.cs: Make sure WebControls.Enabled is respected.
982         * SelectedDatesCollection.cs: Set time for all DateTime object passed in
983         to 12:00am as MS.NET does the same.
984         Fixes bug #71251.
985
986 2006-06-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
987
988         * Repeater.cs: fixed ConnectToDataSource method, subscribed to
989         DataSourceViewChanged, looks for a datasource in its parent control
990         fixed GetData method, should not get data if datasource is null
991
992 2006-06-13  Konstantin Triger  <kostat@mainsoft.com>
993
994         * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
995
996 2006-06-11  Konstantin Triger  <kostat@mainsoft.com>
997
998         * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
999
1000 2006-06-11  Konstantin Triger  <kostat@mainsoft.com>
1001
1002         * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
1003
1004 2006-05-24  Vladimir Krasnov  <vladimirk@mainsoft.com>
1005
1006         * DataList.cs: Fixed LoadViewState method
1007
1008 2006-05-04  Lluis Sanchez  <lluis@novell.com>
1009
1010         * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
1011
1012 2006-04-25  Konstantin Triger  <kostat@mainsoft.com>
1013
1014         * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
1015
1016 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
1017
1018         * FormView.cs: fix FormView.PageCount after data binding.
1019
1020 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1021
1022         * CheckBox.cs: certain attributes have to be rendered in the input tag,
1023         not the <span>. Fixes bug #71251.
1024
1025 2006-04-20  Konstantin Triger  <kostat@mainsoft.com>
1026
1027         * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
1028         * FormView.cs: 
1029                 enable binding.
1030                 ensure rebinding when FormView.PageIndex is called.
1031                 and bind to the correct PageIndex.
1032
1033 2006-04-20  Konstantin Triger  <kostat@mainsoft.com>
1034
1035         * MenuItem.cs: when binding to IHierarchyData, check whether 
1036                 it implements INavigateUIData and retrieve NavigateUrl.
1037         * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
1038         * Menu.cs:
1039                 Enable DataBinding by not throwing NotImplementedException in OnDataBound event. 
1040                 Provide basic CreateChildControls implementation by ensuring the control is bound. 
1041                 Ensure the child controls are created when the postback event is raised. 
1042                 Provide default implementation for SkipLinkText to let the default functionality to work.
1043
1044 2006-04-11  Lluis Sanchez  <lluis@novell.com>
1045
1046         * TreeNodeBinding.cs: Added HasPropertyValue property
1047           to check if some properties have a value in the
1048           state bag.
1049         * TreeNode.cs: Lazily get the dataPath. Instead of getting
1050           bound properties when they are requested, get all of
1051           them when the node is bound and store their values in
1052           the state bag. In this way it won't be necessary to
1053           query every time the datasource to get the values.
1054         * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
1055         * TreeView.cs: Call base in OnInit(). Bind nodes after
1056           adding them to the list, to properly keep track of
1057           changes. Don't databind in postbacks.
1058
1059 2006-04-11  Chris Toshok  <toshok@ximian.com>
1060
1061         * Login.cs (OnLoggingIn): use Events[loggingInEvent].
1062
1063 2006-04-06      Konstantin Triger <kostat@mainsoft.com>
1064
1065         * BaseDataList.cs: Fix searching control by DataSourceID.
1066         * DataList.cs: Enable binding using DataSourceID for NET_2_0.
1067
1068         
1069 2006-04-06      Konstantin Triger <kostat@mainsoft.com>
1070
1071         * Login.cs: Added LayoutTemplate property support.
1072         * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
1073                 DataBind: correctly bind child controls.
1074                 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
1075
1076 2006-03-29  Robert Jordan  <robertj@gmx.net>
1077  
1078         * DataGrid.cs: if custom paging is enabled the persisted item count
1079         must be the count of the rendered items, otherwise paging from the
1080         last to a previous page won't work correctly. Fixes bug #77556.
1081  
1082 2006-03-29  Vladimir Krasnov  <vladimirk@mainsoft.com>
1083
1084         * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
1085         when rendering disabled list control
1086
1087 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1088
1089         * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
1090
1091 2006-03-28  Alexandre Miguel Pedro Gomes  <alexmipego@gmail.com>
1092
1093         * FontInfo.cs: Implemented ShouldSerializeNames
1094
1095 2006-03-23  Vladimir Krasnov  <vladimirk@mainsoft.com>
1096
1097         * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
1098
1099 2006-03-23  Vladimir Krasnov  <vladimirk@mainsoft.com>
1100
1101         * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
1102         validation
1103         in PrepareControlHierarchy fixed style applying to AlternatingItem
1104
1105 2006-03-22  Vladimir Krasnov  <vladimirk@mainsoft.com>
1106
1107         * DataList.cs: fixed RepeatColumns property, added value validation
1108         in PrepareControlHierarchy method fixed style applying for
1109         AlternatingItem, EditItem and Separator item
1110         fixed RenderContents method, if no items exist, no nned to
1111         render emty table strructure.
1112
1113 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1114
1115         * CompareValidator.cs: when searching for the control to compare, use
1116         NamingContainer instead of Page. Fixes bug #77793.
1117
1118 2006-03-15  Chris Toshok  <toshok@ximian.com>
1119
1120         * SiteMapPath.cs (InitializeItem): in the Current and Root node
1121         cases, apply the NodeTemplate if it exists and there isn't a
1122         CurrentNodeTemplate or RootNodeTemplate, respectively.
1123
1124 2006-03-15  Chris Toshok  <toshok@ximian.com>
1125
1126         * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
1127
1128         * SiteMapDataSource.cs (StartingNodeOffset): new property.
1129         (GetStartNode): add code to handle StartNodeOffset < 0.
1130
1131         * CompositeControl.cs
1132         (ICompositeControlDesignerAccessor.RecreateChildControls): just
1133         call the non-iface method.
1134
1135         * DataBoundControl.cs (GetDataSource): this is likely wrong, but
1136         traverse up the naming container tree looking for our datasource
1137         if we're bound using a DataSourceID.  This fixes things in the
1138         sitemap1 test, which uses a mixture of templates and
1139         ContentPlaceholders with the sitemapdatasource and sitemappath at
1140         different levels in the naming container tree (let along the
1141         itemnode template.)
1142
1143         * SiteMapPath.cs (DataBind): implement this by chaining up to
1144         base.DataBind, then by looping over our children, emitting
1145         OnItemDataBound for each SiteMapNodeItem.
1146         (AddAttributesToRender): remove.
1147         (CreateChildControls): call DataBind as the final step here..  I
1148         have, of course, no idea if this is right.
1149         (CreateControlHierarchy): don't databind our children here, as
1150         they need to be in the Controls collection before we do.
1151         (RenderContents): render our accessibility/screenreader stuff
1152         here, if SkipLinkText != "".
1153
1154 2006-03-15  Vladimir Krasnov  <vladimirk@mainsoft.com>
1155
1156         * DataGridPagerStyle.cs: fixed PrevPageText property
1157
1158 2006-03-13  Chris Toshok  <toshok@ximian.com>
1159
1160         * BaseCompareValidator.cs (Convert): make the
1161         ValidationDataType.String case a bit more compact.
1162
1163 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1164
1165         * ListBox.cs:
1166         (RenderContents): don't call base.RenderContents. Fixes bug #77740.
1167         Patch by Hubert Fongarnand.
1168
1169 2006-03-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
1170
1171         * FontInfo.cs: fixed CopyFrom, this method should not reset the 
1172         received fontinfo if it is the same instance
1173         fixed ToString, corrected output where only font size specified
1174
1175 2006-03-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
1176
1177         * Style.cs: fixed WriteStyleAttributes to set border style to solid,
1178         if it not set but the border has width
1179         fixes in CopyFrom, MergeWith correct unit compare when it has zero 
1180         value
1181
1182 2006-03-12  Vladimir Krasnov  <vladimirk@mainsoft.com>
1183
1184         * DataGrid.cs: in AddColumnsFromSource method fixed columns from
1185         properties of custom class
1186         fixed InitializeNumericPager, pager numbers should be a Label control
1187         fixed CreateControlHierarchy, corrected dataset index of items if
1188         paging is enabled
1189
1190 2006-03-09  Vladimir Krasnov  <vladimirk@mainsoft.com>
1191
1192         * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
1193         of separator item.
1194         fixed CreateControlStyle to set correct cellspacing of table style
1195         fixed InitializeItem to correct applying template to selected and
1196         edit items.
1197
1198 2006-03-08  Chris Toshok  <toshok@ximian.com>
1199
1200         * SiteMapNodeType.cs: nuke.
1201
1202         * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
1203         DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
1204         NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
1205         RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
1206         TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
1207         ValidationCompareOperator.cs, ValidationDataType.cs,
1208         ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
1209         [Serializable] in 2.0.
1210
1211         * DayNameFormat.cs: add "Shortest".
1212
1213 2006-03-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
1214
1215         * LinkButton.cs: fixed AddAttributesToRender, removed not needed 
1216         language attribute
1217
1218 2006-03-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
1219
1220         * TextBox.cs: fixed missing value validations, fixed rendering
1221         of empty value attribute
1222
1223 2006-03-07  Chris Toshok  <toshok@ximian.com>
1224
1225         * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
1226         by chaining up to base.EnableTheming.
1227
1228 2006-03-07  Vladimir Krasnov  <vladimirk@mainsoft.com>
1229
1230         * DataList.cs: fixed CreateControlHierarchy, fixes 77693
1231
1232 2006-03-06  Vladimir Krasnov  <vladimirk@mainsoft.com>
1233
1234         * RadioButton.cs: added ValueAttribute property to store the button
1235         value when in list
1236         * RadioButtonList.cs: fixed tab index when rendering.
1237
1238 2006-03-02  Chris Toshok  <toshok@ximian.com>
1239
1240         * WebControl.cs (SkinID): implement setter/getter, and have them
1241         just chain up to base.SkinID.
1242
1243 2006-02-27  Chris Toshok  <toshok@ximian.com>
1244
1245         * SqlDataSource.cs: track change to DataSourceControl's protected
1246         methods.
1247
1248         * AccessDataSource.cs: same.
1249
1250 2006-02-27  Vladimir Krasnov  <vladimirk@mainsoft.com>
1251
1252         * ListControl.cs: fixed SelectedIndex property, fixed selection
1253         reset on incorrect value
1254
1255 2006-02-27  Vladimir Krasnov  <vladimirk@mainsoft.com>
1256
1257         * TableStyle.cs: fixed AddAttributesToRender function, style
1258         BorderCollapse:Collapse was added if table's CellSpacing is zero
1259
1260 2006-02-23  Chris Toshok  <toshok@ximian.com>
1261
1262         * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
1263         ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
1264         DataControlFieldHeaderCell.cs, DataGridColumn.cs,
1265         HierarchicalDataBoundControl.cs, HyperLinkField.cs,
1266         ImageButton.cs, ImageField.cs, Literal.cs,
1267         ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
1268
1269         * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
1270         DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
1271         HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
1272         SqlDataSourceCommandType.cs, TableSectionStyle.cs,
1273         TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
1274         ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
1275         errors.  most were caused by a property/method being virtual when
1276         it shouldn't be, or vice versa.
1277
1278 2006-02-22  Chris Toshok  <toshok@ximian.com>
1279
1280         * ObjectDataSource.cs: corcompare work.
1281
1282 2006-02-22  Chris Toshok  <toshok@ximian.com>
1283
1284         * ParameterCollection.cs: add an EditorAttribute to the class.
1285
1286         * Parameter.cs: cleanup, fix the Value property, and implement the
1287         Size property.
1288
1289         * SqlDataSourceView.cs: clean things up a bit, and add handling
1290         for parameters.
1291
1292 2006-02-22  Chris Toshok  <toshok@ximian.com>
1293
1294         * SqlDataSourceFilteringEventArgs.cs: formatting.
1295
1296         * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
1297         both the property and ctor arg.
1298
1299         * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
1300         not CommandEventArgs.  Also, cast the return value of
1301         oleCommand.ExecuteReader.
1302
1303         * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
1304         comments.
1305         (GetDbProviderFactory): implement naively, and leave a MonoTODO.
1306         (GetPhysicalDataFilePath): implement, again naively.  this is
1307         where the NRE is generated when we access ConnectionString in a
1308         testcase on .net.
1309         (ConnectionString): dynamically generate this based on our
1310         DataFile attribute.
1311         (DataFile): clear the ConnectionString in the setter so we'll
1312         regenerate it.
1313         (ProviderName): use base.ProviderName in the getter, not
1314         this.ProviderName, so we don't recurse infinitely.
1315         
1316         * SqlDataSourceView.cs: start reworking this class.
1317
1318         * SqlDataSource.cs (GetDbProviderFactory): implement this,
1319         following the MS docs on the matter (if ProviderName is null/"",
1320         return SqlClientFactory.Instance.)
1321         (GetDbProviderFactoryInternal): add an internal method for use by
1322         SqlDataSourceView.
1323         (TrackViewState): don't invoke View.TrackViewState unless we have
1324         one.
1325         (Selecting): change event handler type to match MS.
1326         (Filtering): add missing event.
1327         (View): call CreateDataSourceView, don't just create an
1328         SqlDataSourceView.
1329         
1330 2006-02-21  Chris Toshok  <toshok@ximian.com>
1331
1332         * BoundField.cs: ues the ViewState.Get* pattern with default
1333         instead of the explicit ViewState lookup + null check, and fix the
1334         scope of InitializeDataCell.
1335
1336         * ButtonField.cs: ues the ViewState.Get* pattern with default
1337         instead of the explicit ViewState lookup + null check.
1338
1339         * CommandField.cs: same.
1340
1341         * CheckBox.cs: same.
1342
1343         * AutoGeneratedFieldProperties.cs: same.
1344
1345         * BaseDataList.cs: same.
1346
1347         * CircleHotSpot.cs: same.
1348
1349         * BulletedList.cs: same.
1350
1351         * DataBoundControl.cs: same.
1352
1353         * CookieParameter.cs: same.
1354
1355         * ControlParameter.cs: same.
1356
1357         * CustomValidator.cs: same.
1358
1359         * ButtonFieldBase.cs: same.
1360
1361         * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
1362
1363         * AutoGeneratedField.cs: fix scope of InitializeDataCell.
1364
1365         * BaseValidator.cs: same, and clean up the getter/setter formatting.
1366
1367         * CompareValidator.cs: same.
1368         
1369 2006-02-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
1370
1371         * ListControl.cs: fixed DataSource property, to throw 
1372         ArgumentException on incorrect value
1373
1374 2006-02-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
1375
1376         * Image.cs: fixed missing border="0" attribute, when image has style, 
1377         but border width is not specified.
1378
1379 2006-02-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
1380
1381         * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
1382         correct the "disabled" attribute in CheckBoxList
1383         * CheckBoxList.cs: fixed RenderItem, to correct the "disabled" 
1384         attribute in CheckBoxList
1385
1386 2006-02-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
1387
1388         * CheckBox.cs: fixed Render function, removed rendering of empty 
1389         <span> element if ControlStyleCreated but it's empty.
1390         fixed "disabled" attribute, it should be placed into span element
1391
1392 2006-02-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
1393
1394         * BoundColumn.cs: fixed InitializeCell function, if DataField is 
1395         null or empty string, the cell should not be bound.
1396
1397 2006-02-08  Chris Toshok  <toshok@ximian.com>
1398
1399         * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
1400         AppendDataBoundItems != false.  Also, split all the databinding
1401         logic out to DoDataBinding, which we call from here only if
1402         !NET_2_0.
1403         (DoDataBinding): new function. actually perform the binding.
1404         (PerformDataBinding): implement.
1405         (PerformSelect): chain up to base class.
1406
1407 2006-02-07  Chris Toshok  <toshok@ximian.com>
1408
1409         * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
1410
1411         * Content.cs: use ContentControlBuilderInternal, and add a bunch
1412         of unused (for now) EventHandler's here.
1413
1414         * ContentControlBuilderInternal.cs: rename ContentControlBuilder
1415         to this.
1416
1417 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1418
1419         * ListControl.cs: bound checking for Items when loading the control
1420         state, as the number might have been changed on the fly. Patch by
1421         Elliott Draper.
1422
1423 2006-01-22  Chris Toshok  <toshok@ximian.com>
1424
1425         * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
1426
1427         * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
1428         the intended comparison right and quiet mcs.
1429
1430 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1431
1432         * Button.cs: Add semicolon after client script if does not exist.
1433
1434 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1435
1436         * Button.cs: preserve user logic when adding client validation.
1437
1438 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1439
1440         * BaseValidator.cs: fixing visibility bahavior
1441
1442 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1443
1444         * RangeValidator.cs: allow empty data from the control. Patch from Marek
1445         Habersack that fixes bug #77239.
1446
1447 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1448
1449         * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
1450         by Cyrille Colin. Closes bug #77184.
1451
1452 2006-01-08  Konstantin Triger <kostat@mainsoft.com>
1453
1454         * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
1455          compilation pass with csc 1.1.
1456
1457 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1458
1459         * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
1460
1461 2005-12-07  Chris Toshok  <toshok@ximian.com>
1462
1463         * BaseValidator.cs: in the uplevel rendering case, don't render
1464         the text if the validator's Display attribute is "None".  Should
1465         fix bug #76924.
1466
1467 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1468
1469         * RadioButton.cs: if the 'value' attribute is set explicitly (as
1470         RadioButtonList does now), use that as the 'name' attribute.
1471         * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
1472         the radiobuttons.
1473
1474         Fixes bug #76706.
1475
1476 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1477
1478         * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
1479         the 'name' attribute when not aligninng to the right.
1480         * RadioButton.cs: use NameAttribute instead of GroupName when indexing
1481         the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
1482
1483 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1484
1485         * DataGrid.cs: clear the control collection on every call to
1486         CreateControlHierarchy. Fixes bug #76732.
1487
1488 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1489
1490         * ListBox.cs: Rows and SelectionMode are virtual in 1.1
1491
1492 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1493
1494         * CheckBox.cs: use the NameAttribute property for setting 'name'.
1495         * RadioButton.cs: get a UniqueID based identifier for 'name'.
1496         Fixes bug #76710.
1497
1498 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1499
1500         * LinkButton.cs: don't output any javascript when the linkbutton is
1501         disabled. Fixes bug #76713.
1502
1503 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1504
1505         * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
1506         UseAccesibleHeader property is true. Patch by Robert Jordan.
1507
1508 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1509
1510         * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
1511         control to validate. Fixes bug #76641.
1512
1513 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1514
1515         * BoundColumn.cs: when the column is readonly and we're in edit mode,
1516         keep it as a TextBox. Fixes bug #76714.
1517
1518 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1519
1520         * ListBox.cs: render the 'onchange' attribute when AutoPostback is
1521         enabled. Fixes bug #76608.
1522
1523 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1524
1525         * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
1526         the logic to Render and make it render the ID, which fixes bug #76596.
1527
1528 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1529
1530         * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
1531
1532 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1533
1534         * Literal.cs: allow LiteralControl as child, but instead of adding it
1535         to the control collection, it just gets the Text out of it.
1536
1537 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1538
1539         * PagedDataSource.cs: fix range when we're at the last page.
1540         * DataGrid.cs: only need to keep the item count in the viewstate.
1541         Fixes bug #76503.
1542
1543 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1544
1545         * ListControl.cs: made GetSelectedIndices() internal.
1546         * ListBox.cs: html-encode the item text. Fixed single and multiple
1547         selection handling. All the tests pass now. Closes bug #76478.
1548
1549 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1550
1551         * ListControl.cs: throw when the selected value is not in the
1552         items collection. Fixes bug #76415.
1553
1554 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1555
1556         * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
1557         throw a nullref, so we have to do it by ourselves here to make
1558         the test happy.
1559
1560         * BaseValidator.cs: render the text of the error message even if
1561         we set IsValid programatically. Don't use 'valid' directly, as
1562         IsValid is virtual.
1563
1564         Fixes bug #76299.
1565
1566 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1567
1568         * CustomValidator.cs: an empty ControlToValidate is valid.
1569
1570 2005-10-17  Sebastien Pouliot  <sebastien@ximian.com> 
1571
1572         * RequiredFieldValidator.cs: Added missing permissions.
1573
1574 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1575
1576         * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
1577         Now the items get the attributes from the styles in datalist.  Add the
1578         separators after each item, not before. GetItemStyle returns the actual
1579         item style, not the styles in the datalist. Fixes bug #76384 and all
1580         new tests pass.
1581
1582 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1583
1584         * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
1585         76373.
1586
1587 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1588
1589         * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
1590         bug #76359.
1591
1592 2005-10-06  Sebastien Pouliot  <sebastien@ximian.com> 
1593
1594         * FontInfo.cs: Gendarme strikes again. Sealed class have no need for 
1595         inheritance demands.
1596         * FontUnit.cs: Structs are sealed so there's no need for inheritance 
1597         demands.
1598         * Unit.cs: Structs are sealed so there's no need for inheritance 
1599         demands.
1600
1601 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1602
1603         * PagedDataSource.cs: fix the upper bound for collection and ilist
1604         enumarators.
1605
1606 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1607
1608         * DataGrid.cs: change the ListItemType for the item selected, set
1609         SelectedIndex before calling OnSelectedIndexChanged and set the selected
1610         item type correctly when creating the columns. Fixes bug #76334.
1611
1612         * ButtonColumn.cs:
1613         * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
1614         selecting the row, the button keep the regular link color.
1615
1616         * DataGridColumn.cs: made the class internal.
1617
1618 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1619
1620         * DataGrid.cs: fix breakaga of alternating item style in one of my
1621         last patches.
1622
1623 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1624
1625         * Calendar.cs: remove Console.
1626         * ListBox.cs: the name is the UniqueID, not the ClientID.
1627         * WebControl.cs: Attributes is case insensitive.
1628
1629 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1630
1631         * ImageButton.cs: use UniqueID in LoadPostData and also try just the
1632         UniqueID without appending a ".x" or ".y". Fixes several issues in
1633         mojoPortal. Thanks to Joe Audetter for his patience.
1634
1635 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1636
1637         * ButtonColumn.cs: it was lacking databinding, so copied most of it
1638         from BoundColumn.
1639
1640 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1641
1642         * FontInfo.cs: removed useless ctor.
1643         * Style.cs: keep here some commented out debugging code.
1644         * DataGrid.cs: the Items property does not create a new arraylist if
1645         the items_list was already initialized. Add case for Separator.
1646         * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
1647         in the header columns has a special ForeColor handling.
1648
1649 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1650
1651         * DataGrid.cs: PageCount must persist in ViewState too and returns the
1652         number of pages in the paged data source once we set that. Fix checks
1653         for visibility of the pager: no more 2 pagers when custom paging is
1654         enabled.
1655
1656 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1657
1658         * ImageButton.cs: fix a bug reported on the list. We were triggering the
1659         command event on every POST. And the 'name' attribute was not being
1660         rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
1661         and we couldn't find the values.
1662
1663 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1664
1665         * DataGrid.cs: fix the links for the numeric pager.
1666
1667 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1668
1669         * DataGrid.cs: when paging is enable, the actual number of items is not
1670         the number of items rendered before the postback, but that number times
1671         the number of pages. Now we store the page count in the viewstate. Also,
1672         as the number might be big, don't allocate an array of objects to fake
1673         the collection for the PagedDataSource, but use the new NCollection
1674         class instead, which provides cheap (memory wise) enumerator for an
1675         arbitrary number of items. Thanks to "Adriano" for the test case.
1676
1677 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1678
1679         * Xml.cs: the show must go on. Removed a few NotImplemented.
1680
1681 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1682
1683         * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
1684         existing code in 1.1 (or viceversa). RenderContents() does nothing.
1685
1686         * DataGrid.cs: changed autoid api.
1687
1688         * EditCommandColumn.cs: only 'Update' causes validation.
1689
1690         * TableCell.cs: changed autoid api.  RenderContents checks the number
1691         of controls to decide what to do, not the value of Text in the
1692         viewstate.
1693
1694         * TableRow.cs: changed autoid api.
1695
1696         * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
1697         event. When we get an EditItem, we need a TextBox to be created and
1698         this one will be the one that gets the event.  Changed
1699         ItemDataBinding to deal with a TextBox too.
1700
1701 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1702
1703         * PagedDataSource.cs: fix IsLastPage. All tests pass.
1704         * DataGrid.cs: InitializePager always add a cell and it's brand new. No
1705         need to keep the old one in a field. Now all tests pass here too.
1706
1707 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1708
1709         * PagedDataSource.cs: don't use the properties when they just return a
1710         field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
1711         before ICollection (otherwise, an IList will always fall under the
1712         ICollection case). The enumerator for lists will be empty if 'start'
1713         is beyond the list size. All existing tests pass, but one in
1714         DataGridTest that fails because of some problem with the paging.
1715
1716 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1717
1718         * Style.cs: fix the 2.0 build.
1719
1720 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1721
1722         * Style.cs: avoid unnecesary creation of a CssStyleCollection and
1723         instead write the style attributes directly to the HtmlTextWriter.
1724
1725         * CheckBox.cs: adapted to new API.
1726
1727         * DataGrid.cs: handle null data sources. Fixed the contions that make
1728         the table to be added to the Controls collection.
1729
1730         * Calendar.cs: the table needed an ID and the attributes from the
1731         parent. Also don't create the ControlStyleCollection if it has not
1732         already been created.
1733
1734 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1735
1736         * DataGrid.cs: handle null data sources. Fixed the contions that make
1737         the table to be added to the Controls collection.
1738
1739 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1740
1741         * Calendar.cs: TrackViewState should be called upon creation, not on
1742         every get_XXX call. Cleanup.
1743
1744 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1745
1746         * DataGrid.cs: fix another test. The ID of the table generated by the
1747         datagrid is set to the one on the datagrid if no one set the ID for the
1748         table.
1749
1750 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1751
1752         * ListControl.cs: this fixes TestValueFieldAndTextFormat from
1753         DropDownListTest.
1754
1755 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1756
1757         * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
1758         converted to string as X{1,2}-.*. All FontUnitTests pass now.
1759         * Unit.cs: throw a format exception when there's not number or minus
1760         sign in the first non-whitespace character.
1761
1762 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1763
1764         * ListControl.cs: SelectedIndex/SelectedValue can be set before
1765         DataBinding () is called on the control, so we have to keep this values
1766         around and use them after the data is read. If both properties are
1767         used, they must refer to the same item.
1768
1769 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1770
1771         * DataList.cs: fill in the data keys from BaseDataList so that the
1772         events can see them. Only assign DataItem when using data binding and
1773         nullify it after all events are raised.
1774
1775 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1776
1777         * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
1778         called.
1779
1780 2005-09-23  Sebastien Pouliot  <sebastien@ximian.com> 
1781  
1782         * Button.cs: For 2.0 don't add the "name" attribute unless there's an 
1783         id.
1784         * DataGrid.cs: Fix TagKey (table) for 2.0.
1785         * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
1786         * DropDownList.cs: For 2.0 don't add the "name" attribute unless 
1787         there's an id.
1788         * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
1789         id.
1790         * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
1791         * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty 
1792         (i.e. not null).
1793         * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
1794         id.
1795         * TreeView.cs: Added declarative security (Link and Inheritance 
1796         demands) for Minimal.
1797         * XmlDataSource.cs: Added declarative security (Link and Inheritance
1798         demands) for Minimal.
1799
1800 2005-09-23  Sebastien Pouliot  <sebastien@ximian.com>
1801
1802         * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
1803         Inheritance demands) for Minimal.
1804         * Label.cs: Added declarative security (Link and Inheritance demands) 
1805         for Minimal.
1806         * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
1807         * ListItemCollection.cs: Added declarative security (LinkDemands) for 
1808         Minimal.
1809         * MonthChangedEventArgs.cs: Added declarative security (Link and, for 
1810         2.0, Inheritance demands) for Minimal.
1811         * PagedDataSource.cs: Added declarative security (LinkDemands) for 
1812         Minimal.
1813         * Panel.cs: Added declarative security (Link and Inheritance demands) 
1814         for Minimal.
1815         * Repeater.cs: Added declarative security (Link and Inheritance 
1816         demands) for Minimal.
1817         * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
1818         * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
1819         for Minimal.
1820         * TargetConverter.cs: Added declarative security (Link and Inheritance
1821         demands) for Minimal.
1822         * Unit.cs: Added, but only for 1.x, declarative security (Link and 
1823         Inheritance demands) for Minimal.
1824         * ValidatedControlConverter.cs: Added declarative security (Link and 
1825         Inheritance demands) for Minimal.
1826         * WebColorConverter.cs: Added declarative security (Link and 
1827         Inheritance demands) for Minimal.
1828         * Xml.cs: Added declarative security (Link and Inheritance demands) 
1829         for Minimal.
1830         * ValidationSummary.cs: Added declarative security (Link and 
1831         Inheritance demands) for Minimal.
1832
1833 2005-09-23  Sebastien Pouliot  <sebastien@ximian.com> 
1834
1835         * UnitConverter.cs: Remove conversion from Unit (see unit tests).
1836
1837 2005-09-22  Ben Maurer  <bmaurer@ximian.com>
1838
1839         * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
1840         it took O(height) time, not O(1).
1841
1842 2005-09-21  Sebastien Pouliot  <sebastien@ximian.com> 
1843  
1844         * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
1845
1846 2005-09-21  Sebastien Pouliot  <sebastien@ximian.com>
1847
1848         * AdCreatedEventArgs.cs: Added declarative security (Link and, for 
1849         2.0, Inheritance demands) for Minimal.
1850         * BaseCompareValidator.cs: Added declarative security (Link and 
1851         Inheritance demands) for Minimal.
1852         * BaseDataBoundControl.cs: Added declarative security (Link and 
1853         Inheritance demands) for Minimal.
1854         * BaseValidator.cs: Added declarative security (Link and Inheritance 
1855         demands) for Minimal.
1856         * BoundColumn.cs: Added declarative security (Link and Inheritance 
1857         demands) for Minimal.
1858         * ButtonColumn.cs: Added declarative security (Link and Inheritance 
1859         demands) for Minimal.
1860         * CalendarDay.cs: Added declarative security (Link and Inheritance 
1861         demands) for Minimal.
1862         * CheckBoxList.cs: Added declarative security (Link and Inheritance 
1863         demands) for Minimal.
1864         * CompareValidator.cs: Added declarative security (Link and 
1865         Inheritance demands) for Minimal.
1866         * CustomValidator.cs: Added declarative security (Link and Inheritance
1867         demands) for Minimal.
1868         * DataBoundControl.cs: Added declarative security (Link and 
1869         Inheritance demands) for Minimal.
1870         * DataGridItemCollection.cs: Added declarative security (Link and 
1871         Inheritance demands) for Minimal.
1872         * DataKeyCollection.cs: Added declarative security (LinkDemands) for 
1873         Minimal.
1874         * DataListItemCollection.cs: Added declarative security (LinkDemands) 
1875         for Minimal.
1876         * DataListItem.cs: Added declarative security (Link and Inheritance 
1877         demands) for Minimal.
1878         * FontNamesConverter.cs: Added declarative security (Link and 
1879         Inheritance demands) for Minimal.
1880         * HyperLink.cs: Added declarative security (Link and Inheritance 
1881         demands) for Minimal.
1882         * HyperLinkColumn.cs: Added declarative security (Link and Inheritance 
1883         demands) for Minimal.
1884         * Image.cs: Added declarative security (Link and Inheritance demands) 
1885         for Minimal.
1886
1887 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1888
1889         * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
1890         not the DataKeys.
1891         * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
1892         a data source, first try reflection, then componentmodel. If we get
1893         an enumerator, keep it around, as MS only calls GetEnumerator once.
1894         Throw an exception if no columns can be created from the given data
1895         source. Tested with DbDataRecord, DataTable, ArrayList and
1896         ICustomTypeDescriptor.
1897
1898 2005-09-20  Sebastien Pouliot  <sebastien@ximian.com>
1899
1900         * AccessDataSource.cs: Added declarative security (Link and Inheritance 
1901         demands) for Minimal. Added [ToolboxBitmap] on class.
1902         * AdRotator.cs: Added declarative security (Link and Inheritance 
1903         demands) for Minimal. Removed extra Page and ViewState properties.
1904         * BulletedList.cs: Added declarative security (Link and Inheritance 
1905         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1906         * Button.cs: Added declarative security (Link and Inheritance demands) 
1907         for Minimal. Added [SupportsEventValidation] on class (2.0).
1908         * Calendar.cs: Added declarative security (Link and Inheritance 
1909         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1910         * CheckBox.cs: Added declarative security (Link and Inheritance 
1911         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1912         * CompositeControl.cs: Added declarative security (Link and Inheritance 
1913         demands) for Minimal. Added new protected RecreateChildControls method.
1914         * DataControlCommands.cs: Added declarative security (LinkDemands) for 
1915         Minimal. Added private ctor.
1916         * DataGrid.cs: Added declarative security (Link and Inheritance 
1917         demands) for Minimal. Fixed properties for 2.0 (mostly removing 
1918         [Bindable]). Added override for TagKey property.
1919         * DataGridColumn.cs: Added declarative security (Link and Inheritance 
1920         demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
1921         * DataGridItem.cs: Added declarative security (Link and Inheritance 
1922         demands) for Minimal. Added IDataItemContainer interface for 2.0.
1923         * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for 
1924         Minimal. Remove [Bindable] from 2.0 and add [Localizable].
1925         * DataList.cs: Removed [Load|Save]ControlState methods.
1926         * DropDownList.cs: Added declarative security (Link and Inheritance 
1927         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1928         * EditCommandColumn.cs: Added declarative security (Link and 
1929         Inheritance demands) for Minimal. Added missing attributes, 
1930         [DefaultValue] and [Localize] for 2.0.
1931         * FontInfo.cs: Added declarative security (Link and Inheritance 
1932         demands) for Minimal. Remove [Bindable] and added [RefreshProperties] 
1933         for 2.0.
1934         * Login.cs: Added declarative security (Link and Inheritance demands) 
1935         for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
1936         * ImageButton.cs: Added declarative security (Link and Inheritance 
1937         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1938         * LinkButton.cs: Added declarative security (Link and Inheritance 
1939         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1940         * ListBox.cs: Added declarative security (Link and Inheritance demands) 
1941         for Minimal. Added [SupportsEventValidation] on class (2.0).
1942         * Literal.cs: Added declarative security (Link and Inheritance demands) 
1943         for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
1944         * LoginStatus.cs: Added missing [Themeable] attributes on properties.
1945         * MenuItemStyle.cs: Changed IsEmpty to public (required to compile - 
1946         but will be shown as extra).
1947         * RadioButton.cs: Added declarative security (Link and Inheritance 
1948         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1949         * RadioButtonList.cs: Added declarative security (Link and Inheritance 
1950         demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1951         * RangeValidator.cs: Added declarative security (Link and Inheritance 
1952         demands) for Minimal. Added missing [Themeable] attributes.
1953         * RegularExpressionValidator.cs: Added declarative security (Link and 
1954         Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add 
1955         [Localizable].
1956         * RoleGroupCollection.cs: Added declarative security (Link and 
1957         Inheritance demands) for Minimal. Fixed base class (changed in RC). 
1958         Re-implemented CopyTo. Removed some methods.
1959         * Style.cs: Added declarative security (Link and Inheritance demands) 
1960         for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
1961         is now public in 2.0.
1962         * Table.cs: Added declarative security (Link and Inheritance demands) 
1963         for Minimal. Added [SupportsEventValidation] on class (2.0).
1964         * TableCell.cs: Fixed PersistenceMode for 2.0.
1965         * TextBox.cs: Added declarative security (Link and Inheritance demands) 
1966         for Minimal. Added [SupportsEventValidation] on class (2.0).
1967         * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile - 
1968         but will be shown as extra).
1969         * WebControl.cs: Added declarative security (Link and Inheritance 
1970         demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated 
1971         property.
1972
1973 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1974
1975         * TableStyle.cs: fixed typo that prevented restoring GridLines from
1976         a saved viewstate.
1977
1978         * DataGrid.cs: the table does not get an auto ID. When restoring from
1979         viewstate, use all the saved columns, not just that data bound ones. Set
1980         the owner of the BoundColumns created. Save/restore columns.
1981         OnItemCreated happens after the item is initialized and the data item is
1982         set before the event and nullified after OnItemDataBound.
1983         Add the render_table to the Controls immediately, otherwise we might get
1984         errors from child controls such as "must be rendered inside a form".
1985         Keep the items created in the list waiting for them.
1986         The table uses the attributes from the DataGrid and ControlStyle.
1987         Raise OnItemCommand on all bubble events and don't propagate bubble
1988         event up in the hierarchy
1989
1990         * TableCell.cs: it does not get an automatic ID.
1991         * BoundColumn.cs: FormatDataValue returns an empty string on null input
1992         (there was already a test for this).
1993
1994         Fixes bug #76117.
1995
1996 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1997
1998         * DataGridColumnCollection.cs: track the view state in the newly added
1999         items.
2000
2001 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2002
2003         * DataGrid.cs: merge column styles too. Fixes bug #76106.
2004         * DataGridColumn.cs: new internal method to retrieve the styles without
2005         creating an instance for them.
2006
2007 2005-09-15  Sebastien Pouliot  <sebastien@ximian.com>
2008
2009         * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs, 
2010         Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with 
2011         StateBag.SetDirty (true).
2012
2013 2005-09-14  Sebastien Pouliot  <sebastien@ximian.com>
2014
2015         * Menu.cs: Fixed parameter orders for CreateStyleRule.
2016
2017 2005-09-13  Chris Toshok  <toshok@ximian.com>
2018
2019         * Style.cs: corcompare stuff.
2020
2021         * RequiredFieldValidator.cs: more corcompare stuff.
2022
2023         * CheckBoxList.cs: clean up some of the interface methods vs
2024         protected virtual 2.0 calls.
2025
2026         * SubMenuStyle.cs: corcompare says this should implement
2027         ICustomTypeDescriptor... sooo, make it.
2028
2029 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2030
2031         * TableCell.cs: do the same as HyperLink and others in
2032         AddParsedSubobject so that adding a literal control does not remove the
2033         existing controls if any. Fixes bug #76078.
2034
2035 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2036
2037         * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
2038
2039 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2040
2041         * ImageButton.cs: fix invalid cast exception.
2042
2043 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2044
2045         * ListItem.cs: throw in AddParsedSubObject if the object is not a
2046         LiteralControl.
2047         * RadioButtonList.cs: implemented LoadPostData and
2048         RaisePostDataChangedEvent.
2049
2050 2005-09-09  Chris Toshok  <toshok@ximian.com>
2051
2052         * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
2053         ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
2054         LoadPostData/RaisePostDataChangedEvent.
2055
2056 2005-09-09  Chris Toshok  <toshok@ximian.com>
2057
2058         * FontInfo.cs (IsEmpty): new internal property, used by
2059         Style.IsEmpty.
2060
2061         * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
2062         well.
2063
2064 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2065
2066         * ListItemCollection.cs: remove obsoleted methods.
2067         * ListBox.cs: use IStateManager on the item collection.
2068
2069 2005-09-08  Eyal Alaluf  <eyala@mainsoft.com>
2070
2071         * Use C# 1.0 style of delegate instantiating. Needed to compile
2072         Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
2073
2074 2005-09-07  Chris Toshok  <toshok@ximian.com>
2075
2076         * Calendar.cs (WriteDay): always add BackColor=Silver,
2077         ForeColor=White to selected day cells, before copying over the
2078         selectedDayStyle, if it exists.
2079         (WriteDays): fix nunit test - if the first day of the month falls
2080         on the first day of the week, go back one week (effectively adding
2081         a row of dates from the previous month.)
2082         (WriteTitle): don't copy the control style to the tableTitle,
2083         since it might have height specifications, which would make the
2084         title look rather off.
2085
2086 2005-09-07  Chris Toshok  <toshok@ximian.com>
2087
2088         * ValidationSummary.cs (AddAttributesToRender): we only set
2089         display=none if there are no errors.
2090
2091         * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
2092         call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
2093
2094 2005-09-07  Chris Toshok  <toshok@ximian.com>
2095
2096         * ListControl.cs (SelectedIndex): add comment about how you'd
2097         think OnSelectedIndexChanged would be called.. and you'd be wrong.
2098         (Text): implement in terms of SelectedValue.
2099         (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
2100         (LoadControlState): implement - this is where the selected index
2101         ArrayList gets stuffed in 2.0.
2102         (OnInit): call Page.RegisterRequiresControlState.
2103         (OnTextChanged): implement.
2104         (RenderContents): for now just chain up to base.RenderContents.
2105         (SaveControlState): save our control state properly.
2106         (GetSelectedIndices): split this out from SaveViewState to it can
2107         be used by both that and SaveControlState.
2108         (SaveViewState): mangle this function so it works in both 2.0 and
2109         1.0.
2110         (LoadViewState): same.
2111
2112 2005-09-06  Chris Toshok  <toshok@ximian.com>
2113
2114         * BaseValidator.cs (AddAttributesToRender): render our ClientID if
2115         we weren't assigned an ID.
2116
2117         * ValidationSummary.cs (AddAttributesToRender): same.
2118
2119 2005-09-06  Chris Toshok  <toshok@ximian.com>
2120
2121         * WebControl.cs: revert the last change.
2122
2123 2005-09-06  Chris Toshok  <toshok@ximian.com>
2124
2125         * WebControl.cs (AddAttributesToRender): always render ClientID.
2126
2127         * ValidationSummary.cs (Render): same.
2128
2129         * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
2130         here.
2131
2132 2005-09-06  Chris Toshok  <toshok@ximian.com>
2133
2134         * ValidationSummary.cs (Render): only do the JS stuff when the
2135         validators on the page are uplevel.
2136
2137         * BaseValidator.cs (Render): remove unnecessary comment.
2138
2139 2005-09-05  Chris Toshok  <toshok@ximian.com>
2140
2141         * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
2142         stored in the ViewState.
2143
2144 2005-09-02  Chris Toshok  <toshok@ximian.com>
2145
2146         * Repeater.cs (GetData): change this slightly so the Repeater
2147         doesn't keep a ref to the return value of GetData.
2148
2149 2005-09-01  Chris Toshok  <toshok@ximian.com>
2150
2151         * ListControl.cs (AppendDataBoundItems): implement (2.0)
2152         (TagKey): same.
2153
2154 2005-09-01  Chris Toshok  <toshok@ximian.com>
2155
2156         * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
2157         System.Web.UI.WebControls/ValidatedControlConverter.cs,
2158         System.Web.UI.WebControls/Xml.cs,
2159         System.Web.UI.WebControls/RegularExpressionValidator.cs,
2160         System.Web.UI.WebControls/ServerValidateEventArgs.cs,
2161         System.Web.UI.WebControls/Menu.cs,
2162         System.Web.UI.WebControls/MailMessageEventArgs.cs,
2163         System.Web.UI.WebControls/MenuItemStyle.cs,
2164         System.Web.UI.WebControls/RangeValidator.cs,
2165         System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
2166         System.Web.UI.WebControls/MenuItem.cs,
2167         System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
2168         System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
2169         System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
2170         System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
2171         System.Web.UI.WebControls/XmlBuilder.cs,
2172         System.Web.UI.WebControls/ImageButton.cs: someone stop me.  more
2173         corcompare work.
2174
2175 2005-09-01  Chris Toshok  <toshok@ximian.com>
2176
2177         * System.Web.UI.WebControls/Button.cs,
2178         System.Web.UI.WebControls/ButtonField.cs,
2179         System.Web.UI.WebControls/DataControlField.cs,
2180         System.Web.UI.WebControls/BaseCompareValidator.cs,
2181         System.Web.UI.WebControls/AutoGeneratedField.cs,
2182         System.Web.UI.WebControls/CustomValidator.cs,
2183         System.Web.UI.WebControls/Content.cs,
2184         System.Web.UI.WebControls/BoundField.cs,
2185         System.Web.UI.WebControls/AdRotator.cs,
2186         System.Web.UI.WebControls/ButtonColumn.cs,
2187         System.Web.UI.WebControls/CompareValidator.cs,
2188         System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
2189         work.  Stub things out, and add attributes.
2190
2191 2005-09-01  Chris Toshok  <toshok@ximian.com>
2192
2193         * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
2194         CommandField.cs, HyperLinkColumn.cs, Table.cs,
2195         RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
2196         CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
2197         Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
2198         TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
2199         BaseValidator.cs, CustomValidator.cs, TextBox.cs,
2200         ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
2201         RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
2202         Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
2203         XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
2204         CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
2205         WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
2206         TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
2207         TableItemStyle.cs: Add some WebCategory and WebSysDescription
2208         attributes.
2209
2210 2005-09-01  Chris Toshok  <toshok@ximian.com>
2211
2212         * AccessDataSource.cs: corcompare work.
2213
2214         * SqlDataSource.cs: same.
2215         
2216 2005-09-01  Miguel de Icaza  <miguel@novell.com>
2217
2218         * Various places: make sure that the DefaultValue matches the
2219         type.  Thanks to Michael for pointing this out.
2220
2221         In future audits, you might want to use the following awk command:
2222
2223         awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
2224         !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
2225         print $0; looking = 0; } /public/ && looking { looking = 0; } '
2226         *.cs
2227
2228         The above skips bools, strings and ints as those were fine as we
2229         set them.  The bug was on the other ones.
2230
2231 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2232
2233         * Repeater.cs: fix the build.
2234
2235 2005-08-31  Chris Toshok  <toshok@ximian.com>
2236
2237         * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
2238         {Base}DataList, and also from debug spew garnered from some
2239         Repeater subclass tests on MS.
2240         (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
2241         the IEnumerable by calling GetData().
2242         (DataBind): reset RequiresDataBinding to false (2.0).
2243         (DataMember): copy the set implementation from DataList, and add
2244         2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
2245         (DataSource): more c&p.
2246         (DataSourceID); implement (2.0)
2247         (Initialized): implement (2.0)
2248         (IsBoundUsingDataSource): implement (2.0)
2249         (RequiresDataBinding): implement (2.0)
2250         (SelectArguments): implement (2.0)
2251         (CreateDataSourceSelectArguments): implement (2.0)
2252         (EnsureDataBound): implement (2.0)
2253         (GetData): implement.
2254         (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
2255         (2.0)
2256         (OnDataSourceViewChanged): set RequiresDataBinding to true, but
2257         leave the MonoTODO. (2.0)
2258         (OnInit): call base.OnInit instead of throwing NIE, but leave the
2259         MonoTODO (2.0)
2260         (OnLoad): implement.
2261         (OnPreRender): implement.
2262         (ConnectToDataSource): new method - look for the right control.
2263
2264 2005-08-31  Chris Toshok  <toshok@ximian.com>
2265
2266         * XmlDataSourceView.cs: fix the scope of our select.  Don't use
2267         call SelectNodes on the XmlDocument, not on
2268         XmlDocument.DocumentElement.
2269
2270 2005-08-31  Chris Toshok  <toshok@ximian.com>
2271
2272         * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
2273         (DoXPathSelect): put the xpath selection stuff here.
2274         (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
2275         null).
2276
2277         * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
2278         select here, the view does it.
2279
2280 2005-08-31  Jackson Harper  <jackson@ximian.com>
2281
2282         * DataList.cs: Remove some debugging code that was starting to bug
2283         me (tee hee).
2284
2285 2005-08-31  Chris Toshok  <toshok@ximian.com>
2286
2287         * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
2288         create our Navigator by calling node.CreateNavigator().
2289
2290 2005-08-31  Chris Toshok  <toshok@ximian.com>
2291
2292         * XmlDataSource.cs (GetXmlDataDocument): rename this to
2293         GetXmlDocument, and change the return value from XmlDataDocument
2294         to XmlDocument.
2295         (LoadXmlDataDocument): similar change.
2296         (Save): xmlDataDocument -> xmlDocument.
2297         (CanBeSaved): there's no ReadOnly attribute.
2298         (LoadViewState, SaveViewState, TrackViewState): nuke.
2299         (GetHierarchicalView): xmlDataDocument -> xmlDocument.
2300         (CacheDuration): stub out with NIE.
2301         (CacheExpirationPolocy): same.
2302         (CacheKeyDependency): same.
2303         (EnableCaching): same.
2304         (ReadOnly): nuke.
2305         (Data, DataFile): xmlDataDocument -> xmlDocument.
2306         (Schema, SchemaFile): nuke.
2307         (Transform, TransformFile): xmlDataDocument -> xmlDocument.
2308         
2309 2005-08-30  Lluis Sanchez Gual  <lluis@novell.com> 
2310
2311         * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
2312           Don't use the obsolete IsSet method.
2313         * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
2314         * CheckBox.cs: Implement some 2.0 methods.
2315         * GridView.cs: Removed some "throw new NotImplementedException"
2316
2317 2005-08-29  Chris Toshok  <toshok@ximian.com>
2318
2319         * TreeView.cs: Use the StateBag accessors Ben added, and implement
2320         SkipLinkText and Visible.
2321
2322 2005-08-29  Chris Toshok  <toshok@ximian.com>
2323
2324         * TreeView.cs: fix typo in an attribute.
2325
2326 2005-08-29  Jackson Harper  <jackson@ximian.com>
2327
2328         * PagedDataSource.cs: If it's not a list or collection we don't
2329         use a bounded enumerator.
2330
2331 2005-08-29  Chris Toshok  <toshok@ximian.com>
2332
2333         * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
2334
2335         * CheckBox.cs: same.
2336         
2337         * BaseValidator.cs: same.
2338         
2339         * DropDownList.cs: same.
2340         
2341         * ValidationSummary.cs: same.
2342
2343 2005-08-28  Chris Toshok  <toshok@ximian.com>
2344
2345         * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
2346
2347 2005-08-26  Chris Toshok  <toshok@ximian.com>
2348
2349         * TextBox.cs: implement ValidationGroup and CausesValidation
2350         properties.
2351
2352 2005-08-26  Lluis Sanchez Gual  <lluis@novell.com> 
2353
2354         * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
2355         SetDirty.
2356
2357 2005-08-26  Chris Toshok  <toshok@ximian.com>
2358
2359         * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
2360
2361         * FontUnit.cs: add two 2.0 ctors, and the 2.0
2362         ToString(IFormatProvider) method.
2363
2364 2005-08-26  Sebastien Pouliot  <sebastien@ximian.com> 
2365  
2366         * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
2367         no items are present in the list.
2368         * RoleGroup.cs: Added missing attributes.
2369         * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
2370         documented) methods.
2371         * TableStyle.cs: *for 2.0* adding a "url({0})" to background image 
2372         must be done in the HtmlTextWriter (not in the TableStyle).
2373
2374 2005-08-26  Chris Toshok  <toshok@ximian.com>
2375
2376         * Calendar.cs (UseAccessibleHeader): implement.
2377         (RaisePostBackEvent): some #ifdef ugliness to get this all working
2378         propertly between 1.x and 2.0
2379         (WriteDayHeader): if UseAccessibleHeader == true, render header
2380         cells as th's, not td's, and add abbr and scope attributes.
2381
2382 2005-08-25  Chris Toshok  <toshok@ximian.com>
2383
2384         * Calendar.cs (Caption, CaptionAlign): implement these properties.
2385         (Render): if we have a non-empty caption, show it.
2386         (WriteCaption): new method, output the caption.
2387
2388 2005-08-25  Chris Toshok  <toshok@ximian.com>
2389
2390         * Calendar.cs (Render): Copy the entire style from the Calendar to
2391         the Table, not just the font.
2392         (WriteDay): don't just write the link/text/etc.  Create a
2393         LiteralControl as a child of the cell, before the call to
2394         OnDayRender, with its text set to the day number.  After
2395         OnDayRender, set the literal's text to either the number again (if
2396         it's not selectable) or the full text of the js __doPostBack
2397         hyperlink (if it is.)  Also, use cell.RenderControl here so we can
2398         render child controls with the id's listed properly (and arguably
2399         incorrectly).
2400         (ApplyTitleStyleCell): remove.
2401         (WriteTitle): apply the titleStyle to the enclosing table, not the
2402         table cell containing the month name.  Also, copy from the
2403         Calendar's ControlStyle to populate tableTitle's style initially.
2404         We end up with more (superfluous) style attributes than MS, but
2405         it's better than having less.
2406
2407 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>
2408
2409         * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
2410         an image is used.
2411
2412 2005-08-25  Peter Dennis Bartok  <pbartok@novell.com>
2413
2414         * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
2415           and RegisteredCssClass property
2416
2417 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com> 
2418  
2419         * LoginView.cs: Fixed attributes.
2420         * Style.cs: Change SetRegisteredCssClass to internal and not to throw
2421         an exception to allow pages to work on 2.x.
2422
2423 2005-08-25  Chris Toshok  <toshok@ximian.com>
2424
2425         * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
2426
2427         * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
2428         yet implemented.
2429
2430         * HiddenField.cs: stub out this class and label everything
2431         MonoTODO.
2432
2433 2005-08-25  Jackson Harper  <jackson@ximian.com>
2434
2435         * DataGrid.cs: Disable the pager row if there no paging enabled
2436         or available.
2437
2438 2005-08-25  Chris Toshok  <toshok@ximian.com>
2439
2440         * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
2441         typo.
2442
2443         * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
2444         add a using statement.
2445
2446 2005-08-25  Chris Toshok  <toshok@ximian.com>
2447
2448         * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
2449         corcompare.
2450
2451         * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
2452         corcompare.
2453
2454 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>
2455
2456         * Login.cs: Added rendering and fixed parts of the authentication.
2457         Now using IStateManager to allow compilation in another assembly (e.g.
2458         to test the control under IIS). Needs more tests (error conditions) 
2459         once we get a "real" Membership provider running.
2460         * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided 
2461         (returns true).
2462
2463 2005-08-25  Chris Toshok  <toshok@ximian.com>
2464
2465         * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
2466
2467 2005-08-25  Chris Toshok  <toshok@ximian.com>
2468
2469         * AdRotator.cs: stub out enough of the 2.0 methods/properties by
2470         calling base.Foo to get the standalone adrotator (1.0) tests to
2471         run without throwing exceptions.
2472
2473 2005-08-25  Chris Toshok  <toshok@ximian.com>
2474
2475         * ValidationSummary.cs (ValidationGroup): implement.
2476         (Render): use Page.GetValidators in .net 2.0, so we can support
2477         ValidationGroups.  Also, <br>'s get rendered as <br /> in .net
2478         2.0.
2479
2480 2005-08-25  Chris Toshok  <toshok@ximian.com>
2481
2482         * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
2483         2.0 attribute modifiers, and revert back to "override".
2484
2485         * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
2486         2.0 attribute modifiers, and revert back to "override".
2487         (BorderStyle): same.
2488         (BorderWidth): same.
2489
2490         * TextBox.cs (SaveViewState): implement naively, calling
2491         base.SaveViewState.
2492         (TagKey): disable (but flag) the "virtual new" 2.0 attribute
2493         modifiers, and revert back to "override".
2494
2495 2005-08-25  Peter Dennis Bartok  <pbartok@novell.com>
2496
2497         * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
2498           Load ViewState for derived classes; no public LoadViewState override 
2499           exists in those classes
2500         * Style.cs: Added 2.0 IsStyleEmpty method
2501
2502 2005-08-25  Jackson Harper  <jackson@ximian.com>
2503
2504         * DataGrid.cs: The number of pages set in the pager is specified
2505         by PageButtonCount.
2506
2507 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>
2508
2509         * LoginView.cs: New (2.0). Work in progress.
2510
2511 2005-08-24  Chris Toshok  <toshok@ximian.com>
2512
2513         * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
2514         Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
2515         ListControl.cs, SiteMapPath.cs, BulletedList.cs,
2516         DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
2517         Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
2518         PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
2519         DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
2520         Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
2521         ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
2522         Add MonoTODO's for all things that throw NotImplementException.
2523
2524 2005-08-24  Sebastien Pouliot  <sebastien@ximian.com>
2525
2526         * RoleGroup.cs: New (2.0). Complete implementation.
2527         * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
2528
2529 2005-08-23  Chris Toshok  <toshok@ximian.com>
2530
2531         * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
2532         on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
2533         even though they were written for the 1.0 stuff.
2534
2535 2005-08-23  Chris Toshok  <toshok@ximian.com>
2536
2537         * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
2538         output.  Our tests now pass on both mono and ms, with both 1.x and
2539         2.0 profiles.
2540
2541 2005-08-23  Sebastien Pouliot  <sebastien@ximian.com>
2542
2543         * Login.cs: Throw exception if the specified provider doesn't exists.
2544         * LoginStatus.cs: Complete events.
2545
2546 2005-08-22  Jackson Harper  <jackson@ximian.com>
2547
2548         * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
2549         controls.
2550         (InitializeNumericPager): Now that the pager actually renders
2551         properly I can see that I was computing it incorrectly.
2552
2553 2005-08-22  Jackson Harper  <jackson@ximian.com>
2554
2555         * DataGrid.cs (RenderTable): Make sure the new table gets the
2556         correct style.
2557         (CreateColumnSet): Clear the data source columnbs before adding
2558         new ones regardless of whether or not a property descriptor was
2559         found.
2560         (InitializePager): pager_cell needs to be a member so it isn't
2561         created more then once per a render.
2562         (InitializeNumericPager): Compute start and end more
2563         correctly.
2564         - Link commands are 1 indexed.
2565         (CreateControlHierarchy): Clear the table before we begin
2566         rendering.
2567         - Revert patch that made adding the pagers conditional. This is
2568         incorrect, the pagers are always added. Only their visibility is
2569         affected by the pager style.
2570         - Save the entire count in the viewstate, not just the rendered
2571         count. So when paging is enabled the pager's count isn't broken by
2572         postback.
2573
2574 2005-08-22  Chris Toshok  <toshok@ximian.com>
2575
2576         * LinkButton.cs (ValidationGroup): implement.
2577         (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
2578         pass ValidationGroup to Page.Validate.
2579
2580 2005-08-22  Chris Toshok  <toshok@ximian.com>
2581
2582         * ImageButton.cs (ValidationGroup): implement.
2583         (IPostBackEventHandler.RaisePostBackEvent): if we cause
2584         validation, call Page.Validate properly (in both profiles).
2585
2586 2005-08-22  Chris Toshok  <toshok@ximian.com>
2587
2588         * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
2589         case, pass ValidationGroup to Page.Validate.
2590         (ValidationGroup): implement using ViewState.
2591
2592 2005-08-22  Chris Toshok  <toshok@ximian.com>
2593
2594         * BaseValidator.cs (Text): 2.0 only.  implement naively, just
2595         get/set base.Text.
2596         (OnInit): add 2.0 support for validation groups.
2597         (OnUnload): same.
2598
2599 2005-08-22  Sebastien Pouliot  <sebastien@ximian.com>
2600
2601         * LoginName.cs: New (2.0) web control.
2602         * LoginStatus.cs: New (2.0) web control.
2603
2604 2005-08-19  Chris Toshok  <toshok@ximian.com>
2605
2606         * LinkButton.cs (ValidationGroup): implement getter/setter.
2607         (RaisePostBackEvent): implement naively, by c&p'ing the old
2608         implementation of IPostBackEventHandler.RaisePostBackEvent, but
2609         making use of the ValidationGroup in the call to Page.Validate.
2610
2611         * Button.cs: same.
2612
2613         * Style.cs (LoadViewState): set our style flags for all the things
2614         we have flags for.  Seems like the subclass flags should be
2615         handled in overridden LoadViewState methods, but none of the Style
2616         subclasses seem to override this method.
2617
2618 2005-08-19  Chris Toshok  <toshok@ximian.com>
2619
2620         * TableStyle.cs (Merge, MergeWith): make these look a bit more
2621         like Copy/CopyFrom, with the styles checks instead of just
2622         ViewState checks.
2623
2624         * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
2625         TableStyle.cs.
2626
2627 2005-08-19  Chris Toshok  <toshok@ximian.com>
2628
2629         * DataGrid.cs (InitializePager): don't unconditionally set
2630         pager_cell to the numeric pager (especially after setting it
2631         conditionally to the nextprev pager.)
2632         (InitializeNumericPager): the link buttons don't participate in
2633         validation.
2634         (InitializeNextPrevPager): same.
2635         (CreateControlHierarchy): create the top/bottom pagers only if the
2636         PagerStyle says too.
2637
2638 2005-08-19  Sebastien Pouliot  <sebastien@ximian.com> 
2639
2640         * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
2641
2642 2005-08-18  Chris Toshok  <toshok@ximian.com>
2643
2644         * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
2645         the start of this method so templates are created properly.
2646
2647 2005-08-18  Dick Porter  <dick@ximian.com>
2648
2649         * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
2650         DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
2651         RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
2652         BaseDataList.cs, DataList.cs, BulletedList.cs,
2653         DataBoundControl.cs, Login.cs, GridView.cs,
2654         CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
2655         TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
2656         AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
2657         DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
2658         CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
2659         ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
2660         BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
2661         LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
2662         fixes
2663
2664 2005-08-18  Sebastien Pouliot  <sebastien@ximian.com> 
2665
2666         * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
2667         anywhere...
2668         * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
2669         empty array of objects just to get the number of items.
2670         * Login.cs: Implemented OnBubbleEvent and parts of the authentication
2671         but we're missing some bits from the class lib to complete all this...
2672
2673 2005-08-17  Jackson Harper  <jackson@ximian.com>
2674
2675         * DataGrid.cs: Only create one pager and add it to both the top
2676         and bottom of the grid, this way all the id numbers stay the same
2677         and we save a bunch of cycles.
2678
2679 2005-08-17  Jackson Harper  <jackson@ximian.com>
2680
2681         * DataGrid.cs: The top and bottom pagers are always created. Just
2682         the visibility is changed by the PagerStyle::Position.
2683
2684 2005-08-17  Chris Toshok  <toshok@ximian.com>
2685
2686         * CompositeControl.cs (RecreateChildControls): implement naively -
2687         just call CreateChildControls.  We might need to call
2688         Controls.Clear() as well, but for the time being, this is ok.
2689
2690 2005-08-17  Sebastien Pouliot  <sebastien@ximian.com> 
2691  
2692         * BaseDataList.cs: Completed implementation for 2.0.
2693
2694 2005-08-16  Sebastien Pouliot  <sebastien@ximian.com> 
2695  
2696         * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
2697         * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
2698
2699 2005-08-16  Sebastien Pouliot  <sebastien@ximian.com>
2700
2701         * BaseDataList.cs: Removed old internal ctor as DataList TagKey was 
2702         fixed for 2.0.
2703         * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
2704         Adjusted size and ordering of the ViewState (new element #0 is still
2705         unknown). Properly fixed the TagKey in 2.0.
2706         * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for 
2707         all properties using enums.
2708         * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
2709         * TableItemStyle.cs: Fixed attribute rendering to use style to render
2710         "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
2711
2712 2005-08-15  Jackson Harper  <jackson@ximian.com>
2713
2714         * EditCommandColumn.cs: Use a normal LinkButton.
2715
2716 2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>
2717
2718         * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the 
2719         viewstate (even if assigned to the default value).
2720         * TableRow.cs: Implement TableSection property (2.0). It has no effect
2721         on the rendering of the table row.
2722
2723 2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>
2724
2725         * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
2726         and removed [Bindable] attributes for 2.0.
2727         * DataList.cs: Added new 2.0 attributes on class and removed [Bindable] 
2728         attributes (for 2.0).
2729         * DataListCommandEventArgs.cs: Not sealed in 2.0.
2730         * DataListItemEventArgs.cs: Not sealed in 2.0.
2731         * Image.cs: Fixed [Designer] attribute on class and all [Editor] 
2732         attributes for URLs.
2733         * Login.cs: Fixed [Designer] attribute on class and all [Editor] 
2734         attributes for URLs.
2735         * Table.cs: Fixed [Editor] attribute for 2.0.
2736         * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2737         * TableCell.cs: Fixed [Designer] attribute. Fixed property name for 
2738         AssociatedHeaderCellID and it's [DefaultValue] attribute.
2739         * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText 
2740         and Scope attributes.
2741         * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
2742         on TableSection attribute.
2743         * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2744
2745 2005-08-14  Sebastien Pouliot  <sebastien@ximian.com>
2746
2747         * Image.cs: Fixed attributes for 2.0 profile.
2748         * Login.cs: Fixed some attributes and default values.
2749         * Table.cs: Fixed attributes for 2.0 profile. Added protected method
2750         RaisePostBackEvent (TODO) in 2.0 profile.
2751         * TableCell.cs: Fix properties (Bindable, Localizable, Designer...) 
2752         and added AssociateHeaderCellID property (TODO).
2753         * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2754         * TableFooterRow.cs: New (2.0). TableRow that always shows on each
2755         page (if the device requires to breaks the table into multiple pages).
2756         This seems to be a "flag" class, the real work will be in Table.
2757         * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
2758         * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
2759         page (if the device requires to breaks the table into multiple pages).
2760         This seems to be a "flag" class, the real work will be in Table.
2761         * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
2762         * TableRow.cs: Remove [Bindable (true)] from properties and add
2763         [Bindable (false)] and [Designer] on class. Added new TableSection 
2764         property (TODO).
2765         * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2766         * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's 
2767         broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
2768         * TableStyle.cs: Fixed attributes for 2.0 profile. Added new 
2769         FillStyleAttributes method (2.0).
2770
2771 2005-08-13  Sebastien Pouliot  <sebastien@ximian.com>
2772
2773         * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and 
2774         attributes from existing controls.
2775         * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
2776         * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
2777
2778 2005-08-12  Jackson Harper  <jackson@ximian.com>
2779
2780         * TableRow.cs: No AutoID for TableRows.
2781
2782 2005-08-12  Jackson Harper  <jackson@ximian.com>
2783
2784         * DataGrid.cs (CreateRenderColumns): If we aren't using data
2785         binding grab the rendercols from the data source columns.
2786         (LoadViewState): Restore the bound columns when reloading the
2787         viewstate.
2788         (InitializeNumericPager): Create elipsised pagers.
2789         (CreateItem): Don't set the item's ID.
2790         (CreateItem): Add the control to the table before it is databound
2791         so that it's value is saved in the viewstate.
2792         (CreateControlHierarchy): Create a fake data source when not using
2793         databinding. Don't add controls to the table as they are added in
2794         CreateItem now.
2795         (PrepareControlHierarchy): Make footers and header non visible if
2796         they aren't enabled.
2797
2798 2005-08-12  Chris Toshok  <toshok@ximian.com>
2799
2800         * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
2801         docs says these methods/properties "ensure the child controls are
2802         created" -- so call EnsureChildControls() before invoking the base
2803         class's code.
2804
2805 2005-08-12  Jackson Harper  <jackson@ximian.com>
2806
2807         * BoundColumn.cs: Set the controls text instead of adding a
2808         literal control. So it is saved in the controls viewstate.
2809
2810 2005-08-11  Jackson Harper  <jackson@ximian.com>
2811
2812         * CheckBoxList.cs: Set the tabindex on the checkbox control and
2813         don't render it on the main table (Setting it to zero causes it to
2814         not be rendered). Also use the invariant culture on the id.
2815
2816 2005-08-11  Dick Porter  <dick@ximian.com>
2817
2818         * CheckBox.cs: Let ViewState manage removals; apply styles and
2819         "style" attributes in a surrounding <span>.  Fixes unit tests.
2820
2821 2005-08-10  Chris Toshok  <toshok@ximian.com>
2822
2823         * Label.cs (LoadViewState): set the Text attribute from our
2824         ViewState (if it exists) to clear out any child controls.  Fixes
2825         jsunit test label/label-child-control-postback.aspx.
2826
2827 2005-08-10  Jackson Harper  <jackson@ximian.com>
2828
2829         * PagedDataSource.cs: Respect paging with all data source types.
2830
2831 2005-08-09  Sebastien Pouliot  <sebastien@ximian.com> 
2832  
2833         * BaseDataList.cs: Changed Controls property from "virtual new" 
2834         (2.0 doc) to "override" (monop) to fix the Visible bug (see
2835         datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
2836         any controls (required due to change to Controls). Implemented 
2837         DataBind(bool) for 2.0.
2838         * DataListItem.cs: Fix the multiple table when extractRows is used.
2839         Removed extra span tags by rendering contents (not control). Added
2840         support for IDataItemContainer (2.0).
2841
2842 2005-08-08  Jackson Harper  <jackson@ximian.com>
2843
2844         * DataGrid.cs: Apply the styles to each item type. 
2845
2846 2005-08-08  Jackson Harper  <jackson@ximian.com>
2847
2848         * PagedDataSource.cs: If paging is not enabled keep enumerating to
2849         the end of the list.
2850
2851 2005-08-08  Sebastien Pouliot  <sebastien@ximian.com> 
2852  
2853         * BaseDataList.cs: Remove old compatibility stuff.
2854         * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
2855         * WebControl.cs: Always call CreateControlStyle to create the 
2856         ControlStyle. Fix the exception for datalist-style-edit.aspx.
2857
2858 2005-08-05  Jackson Harper  <jackson@ximian.com>
2859
2860         * DataGrid.cs: Don't make the current page index a link in the
2861         pager.
2862
2863 2005-08-05  Jackson Harper  <jackson@ximian.com>
2864
2865         * DataGrid.cs: Honour PagerPosition.
2866
2867 2005-08-05  Jackson Harper  <jackson@ximian.com>
2868
2869         * PagedDataSource.cs: Round PageCount properly.
2870
2871 2005-08-05  Dick Porter  <dick@ximian.com>
2872
2873         * CheckBox.cs: Shut corcompare up a bit more.  Still need to
2874         figure out how to not use AddAttributesToRender to get it
2875         completely silent.
2876
2877         * ButtonColumn.cs: Implement Initialize() and InitializeCell()
2878
2879         * DataGridColumn.cs: Added the duplicate viewstate manipulation
2880         methods
2881
2882 2005-08-05  Chris Toshok  <toshok@ximian.com>
2883
2884         * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
2885         null when it comes to the format string.
2886         (FormatDataTextValue): same.
2887
2888 2005-08-04  Chris Toshok  <toshok@ximian.com>
2889
2890         * BaseValidator.cs (Validate): only test a validator if it's both
2891         enabled and visible.
2892
2893 2005-08-04  Chris Toshok  <toshok@ximian.com>
2894
2895         * BaseValidator.cs (AddAttributesToRender): add "enabled" if
2896         !Enabled.
2897
2898 2005-08-04  Jackson Harper  <jackson@ximian.com>
2899
2900         * DataGrid.cs: Add a new space control for each link. Also make
2901         the link's text 1 indexed. Don't add the space after the last
2902         item.
2903
2904 2005-08-04  Ben Maurer  <bmaurer@ximian.com>
2905
2906         * LinkButton.cs: Fix up the test suite here.
2907
2908         * Panel.cs: Fix up nowrap
2909
2910 2005-08-04  Peter Dennis Bartok  <pbartok@novell.com>
2911
2912         * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
2913         * ListControl.cs: Clear item list before adding data (again)
2914
2915 2005-08-04  Jordi Mas i Hernandez  <jordi@ximian.com>
2916
2917         * Calendar.cs: fixes issues with OnDayRender event and others
2918
2919 2005-08-04  Peter Dennis Bartok  <pbartok@novell.com> 
2920
2921         * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
2922           creating rows
2923         * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
2924           if DataTextField is bound
2925         * EditCommandColumn.cs(InitializeCell): MS inserts a &nbsp; between the 
2926           two controls in edit mode, lets do the same
2927
2928 2005-08-03  Jackson Harper  <jackson@ximian.com>
2929
2930         * BoundColumn.cs: Respek for the thisExpr when data binding.
2931
2932 2005-08-03  Peter Dennis Bartok  <pbartok@novell.com> 
2933
2934         * EditCommandColumn.cs: No need to offer edit when in edit mode.
2935           Flipped output
2936
2937 2005-08-04  Dick Porter  <dick@ximian.com>
2938
2939         * DataGridColumn.cs: New implementation
2940
2941         * DataGrid.cs: 
2942         * DataGridColumnCollection.cs: Set the DataGridColumn's owner
2943
2944 2005-08-03  Peter Dennis Bartok  <pbartok@novell.com> 
2945
2946         * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
2947           set tracking var
2948
2949 2005-08-03  Ben Maurer  <bmaurer@ximian.com>
2950
2951         * RepeatInfo.cs: Finally figured out how to use base control
2952
2953 2005-08-03  Jackson Harper  <jackson@ximian.com>
2954
2955         * ButtonColumn.cs: Partial implementation.
2956
2957 2005-08-03  Peter Dennis Bartok  <pbartok@novell.com> 
2958
2959         * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
2960           negative value
2961
2962 2005-08-03  Jordi Mas i Hernandez  <jordi@ximian.com>
2963
2964         * Calendar.cs: fixes Save/Load state
2965
2966 2005-08-03  Jordi Mas i Hernandez  <jordi@ximian.com>
2967
2968         * Calendar.cs: bug fixes
2969
2970 2005-08-03  Jackson Harper  <jackson@ximian.com>
2971
2972         * DataGrid.cs: Merge the table style with the render table. Some
2973         initial work on the numeric pager. Remove some debugging code.
2974         
2975 2005-08-03  Jackson Harper  <jackson@ximian.com>
2976
2977         * BoundColumn.cs: Implement Initialize and InitializeCell. When
2978         Data is formated it uses the DataFormatString that was set at the
2979         time Initialize was called (or null if initialize was never
2980         called).
2981
2982 2005-08-02  Jordi Mas i Hernandez  <jordi@ximian.com>
2983
2984         * RadioButtonList.cs: bug fixes
2985
2986 2005-08-02  Jordi Mas i Hernandez  <jordi@ximian.com>
2987
2988         * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing  
2989         AddAttributesToRender
2990         * RadioButtonList.cs: Implementation
2991
2992 2005-08-01  Jackson Harper  <jackson@ximian.com>
2993
2994         * TableStyle.cs: Copy style bit when copying from another style.
2995
2996 2005-08-01  Jackson Harper  <jackson@ximian.com>
2997
2998         * PagedDataSource.cs: Implement missing properties, use yield for
2999         the Enumerator methods. Only allow the enums to return one page at
3000         a time.
3001
3002 2005-08-01  Chris Toshok  <toshok@ximian.com>
3003
3004         * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
3005
3006 2005-08-01  Peter Dennis Bartok  <pbartok@novell.com> 
3007
3008         * WebControl.cs: Track enabled state across sessions
3009
3010 2005-08-01  Peter Dennis Bartok  <pbartok@novell.com> 
3011
3012         * ListControl.cs(OnDatabinding): Value is equivalent to text if
3013           by default
3014
3015 2005-08-01  Jordi Mas i Hernandez  <jordi@ximian.com>
3016
3017         * ImageButton.cs: fixes, complete missing parts
3018
3019 2005-07-31  Ben Maurer  <bmaurer@ximian.com>
3020
3021         * TextBox.cs: Html encode for multiline text boxes
3022
3023         * HyperLink.cs: Resolve images
3024
3025 2005-07-30  Chris Toshok  <toshok@ximian.com>
3026
3027         * BaseValidator.cs: initial version of 2.0 properties
3028         ValidationGroup and SetFocusOnError.
3029
3030 2005-07-30  Chris Toshok  <toshok@ximian.com>
3031
3032         * HyperLinkColumn.cs (InitializeCell): clean this up.
3033
3034 2005-07-30  Chris Toshok  <toshok@ximian.com>
3035
3036         * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
3037         DataBinder.FormatResult.
3038         (FormatDataTextValue): same.
3039         (Initialize): call base.Initialize.
3040         (ItemDataBinding): new function, get the text/navigateurl and set
3041         them on our HyperLink control.
3042         (InitializeCell): create a hyperlink control in the
3043         Item/EditItem/AlternatingItem case.
3044
3045 2005-07-30  Ben Maurer  <bmaurer@ximian.com>
3046
3047         * RepeatInfo.cs: Handle 0 items situations correctly
3048
3049         * HyperLink.cs: Resolve urls correctly
3050
3051         * CheckBox.cs: use the correct ID for the label element.
3052
3053         * Label.cs: Correct AddParsedSubObject impl. See FAQ
3054
3055 2005-07-29  Chris Toshok  <toshok@ximian.com>
3056
3057         * BaseCompareValidator.cs (GetDateElementOrder): implement.
3058
3059 2005-07-29  Chris Toshok  <toshok@ximian.com>
3060
3061         * BaseCompareValidator.cs (GetFullYear): implement two ways.  The
3062         #if'ed out version follows microsoft's docs on msdn, but doesn't
3063         match ms's behavior.  The other matches their behavior but not
3064         their docs.  we use the latter.  go figure.
3065         (get_CutoffYear): implement using
3066         CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
3067
3068 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com> 
3069
3070         * FontInfo.cs:
3071           - Name property now throws exception when set to null
3072           - Names now handles situation where our bit tells us we have
3073             a font, but it's not in the StateBag (null removal)
3074         * RangeValidator.cs: Removed unused vars
3075
3076 2005-07-29  Ben Maurer  <bmaurer@ximian.com>
3077
3078         * Label.cs: ClientID should be used rather than UniqueID to get
3079         the For attribute
3080
3081 2005-07-29  Chris Toshok  <toshok@ximian.com>
3082
3083         * BaseValidator.cs (Validatate): not sure if this is entirely
3084         correct (some fairly deep testing required), but setting Enabled =
3085         false has the effect of setting IsValid = true.
3086
3087 2005-07-29  Ben Maurer  <bmaurer@ximian.com>
3088
3089         * RadioButton.cs: The "remove from groupstate" isn't needed any
3090         more, now that statebag is correct.
3091
3092 2005-07-29  Dick Porter  <dick@ximian.com>
3093
3094         * RadioButton.cs: Hide nonstandard API; remove GroupName from the
3095         ViewState when it is null.
3096
3097         * CheckBox.cs: Hide nonstandard API
3098
3099 2005-07-29  Jordi Mas i Hernandez  <jordi@ximian.com>
3100
3101         * Calendar.cs: fixes exceptions, bug fixes, new features
3102         * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
3103         * CalendarDay.cs: fixes default value
3104
3105 2005-07-28  Ben Maurer  <bmaurer@ximian.com>
3106
3107         * CompositeControl.cs: Stub
3108
3109 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com> 
3110
3111         * EditCommandColumn.cs: Implemented
3112
3113 2005-07-27  Chris Toshok  <toshok@ximian.com>
3114
3115         * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
3116
3117 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com> 
3118
3119         * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the 
3120           client side code)
3121
3122 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com>
3123
3124         * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
3125           for it's constructor, so remove it
3126         * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
3127
3128 2005-07-27  Peter Dennis Bartok  <pbartok@novell.com> 
3129
3130         * DataGridPagerStyle.cs: Implemented
3131         * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
3132         * Style.cs: Added Styles enum values for DataGridPagerStyle
3133
3134 2005-07-27  Jordi Mas i Hernandez  <jordi@ximian.com>
3135
3136         * Calendar.cs: get the styles right, honors more properties, fixes, fix 
3137         var names style
3138
3139 2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>
3140
3141         * DataGridItem.cs: Implemented
3142
3143 2005-07-26  Chris Toshok  <toshok@ximian.com>
3144
3145         * LinkButton.cs (AddParsedSubObject): reversed the order of
3146         Controls.Add() and Text = null
3147         (set_Text): call Controls.Clear()
3148         (RenderContents): use HasControls() for the if test instead of
3149         Text != "".
3150
3151         * HyperLink.cs (AddParsedSubObject): reversed the order of
3152         Controls.Add () and Text = null;
3153
3154 2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>
3155
3156         * DataGridItemCollection.cs: Implemented
3157
3158 2005-07-26  Chris Toshok  <toshok@ximian.com>
3159
3160         * LinkButton.cs (AddParsedSubObject): copy implementation from
3161         HyperLink.
3162         (RenderContents): only call writer.Write(Text) if Text != "".
3163         Otherwise default to base.RenderContents.
3164
3165 2005-07-26  Chris Toshok  <toshok@ximian.com>
3166         
3167         * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
3168         ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
3169         (Page != null) around my last commit.
3170         
3171 2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>
3172
3173         * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
3174           Fixed use of literal strings, instead using Consts
3175         * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
3176           TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
3177           Panel.cs, Literal.cs: Added attributes
3178         * BaseValidator.cs: Added missing override
3179
3180 2005-07-26  Chris Toshok  <toshok@ximian.com>
3181
3182         * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
3183         ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
3184         Page.VerifyRenderingInServerFormHere.
3185
3186 2005-07-26  Chris Toshok  <toshok@ximian.com>
3187
3188         * BaseValidator.cs: remove some MonoTODO's about the client side
3189         validator stuff.
3190
3191 2005-07-26  Jordi Mas i Hernandez  <jordi@ximian.com>
3192
3193         * Calendar.cs: selection of dates, state load, save, track, support
3194         for new properties, many fixes. 
3195
3196 2005-07-26  Miguel de Icaza  <miguel@novell.com>
3197
3198         * Style.cs: Temporary methods to help buliding .NET 2.x
3199
3200 2005-07-25  Peter Dennis Bartok  <pbartok@novell.com>
3201
3202         * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed 
3203           attributes
3204         * Xml.cs: Fixed base class, attributes
3205         * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs, 
3206           Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs, 
3207           CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs, 
3208           DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs, 
3209           ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
3210
3211 2005-07-25  Ben Maurer  <bmaurer@ximian.com>
3212
3213         * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
3214         cracktastic.
3215         
3216 2005-07-25  Ben Maurer  <bmaurer@ximian.com>
3217
3218         * RepeatInfo.cs: If the repeater has one column, the separators
3219         are rendered on a different line
3220
3221 2005-07-25  Peter Dennis Bartok  <pbartok@novell.com> 
3222
3223         * DataGridSortCommandEventArgs: Sealed class
3224         * ButtonColumn.cs, Calendar.cs: Added Attributes
3225
3226 2005-07-25  Peter Dennis Bartok  <pbartok@novell.com>
3227
3228         * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
3229           BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
3230
3231 2005-07-25  Peter Dennis Bartok  <pbartok@novell.com> 
3232
3233         * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
3234           DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
3235
3236 2005-07-25  Chris Toshok  <toshok@ximian.com>
3237
3238         * ValidationSummary.cs (AddAttributesToRender): add client side
3239         support.
3240         (OnPreRender): set the "been here" flag.
3241         (Render): add client side support.
3242
3243 2005-07-25  Ben Maurer  <bmaurer@ximian.com>
3244
3245         * RepeatInfo.cs: Split the horiz and vertical cases, because this
3246         class has rules that are beyond strange. Continue working to make
3247         my tests work.
3248
3249 2005-07-25  Ben Maurer  <bmaurer@ximian.com>
3250
3251         * RepeatInfo.cs: Misc fixes for my test suite.
3252
3253 2005-07-25  Jackson Harper  <jackson@ximian.com>
3254
3255         * DataGrid.cs: Set the command name and args on the link buttons.
3256
3257 2005-07-25  Jackson Harper  <jackson@ximian.com>
3258
3259         * DataGrid.cs: Lots o implementation.
3260
3261 2005-07-25  Jackson Harper  <jackson@ximian.com>
3262
3263         * BoundColumn.cs: Partial implementation to get the DataGrid tests
3264         passing again.
3265
3266 2005-07-23  Jordi Mas i Hernandez  <jordi@ximian.com>
3267
3268         * Button.cs: fixes events, adds attributes
3269
3270 2005-07-23  Chris Toshok  <toshok@ximian.com>
3271
3272         * BaseValidator.cs (GetControlValidateValue): handle ListItems as
3273         prop.GetValue results.
3274         (Render): fix the static non-uplevel case, so that we display text
3275         when there's an error.
3276
3277 2005-07-22  Chris Toshok  <toshok@ximian.com>
3278
3279         * RegularExpressionValidator.cs (AddAttributesToRender): only
3280         output ValidationExpression if it's != null.
3281
3282 2005-07-22  Chris Toshok  <toshok@ximian.com>
3283
3284         * BaseValidator.cs (AddAttributesToRender): fix up the Display
3285         rendering such it matches MS's output.
3286         (Render): stop using the huge complicated if's for each output
3287         stage and move to boolean flags, and fix the static-nonuplevel
3288         case, where a validator outputs as nothing but &nbsp;
3289
3290 2005-07-22  Jordi Mas i Hernandez  <jordi@ximian.com>
3291         * Calendar.cs: Initial implementation
3292         * CalendarSelectionMode.cs: fix enum order
3293
3294 2005-07-22  Sebastien Pouliot  <sebastien@ximian.com>
3295
3296         * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
3297         (or more?) specific cases - including correct support for separators.
3298         Added some (commented) debugging code.
3299         * HyperLink.cs: Only render href and target attributes if they're not
3300         empty. Add "border=0" when rendering <img> tag. Fix Target default 
3301         value.
3302
3303 2005-07-22  Peter Dennis Bartok  <pbartok@novell.com> 
3304
3305         * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
3306
3307 2005-07-22  Peter Dennis Bartok  <pbartok@novell.com> 
3308
3309         * Style.cs (CopyFrom): Reset our styles and don't set bits from
3310           target explicitly, properties will set them
3311
3312 2005-07-22  Dick Porter  <dick@ximian.com>
3313
3314         * BoundColumn.cs: 
3315         * ButtonColumn.cs: Initial stubs
3316
3317 2005-07-22  Dick Porter  <dick@ximian.com>
3318
3319         * RadioButton.cs:
3320         * CheckBox.cs: Add assembly attributes
3321
3322 2005-07-22  Ben Maurer  <bmaurer@ximian.com>
3323
3324         * HyperLink.cs: Handle non-literal children.
3325
3326 2005-07-21  Ben Maurer  <bmaurer@ximian.com>
3327
3328         * Label.cs: SP1 stuff
3329
3330 2005-07-21  Chris Toshok  <toshok@ximian.com>
3331
3332         * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
3333         stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
3334         stuff WebUIValidation.js uses, so we don't support it for uplevel
3335         rendering.
3336
3337 2005-07-21  Chris Toshok  <toshok@ximian.com>
3338
3339         * BaseValidator.cs (DetermineRenderUplevel): include checks for
3340         the EcmaScriptVersion and W3CDomVersion.
3341
3342 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com> 
3343   
3344         * BaseDataList.cs: Support IEnumerable.
3345         * DataList.cs: Fix alternate items.
3346         * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
3347         controls and the Text property.
3348
3349 2005-07-21  Ben Maurer  <bmaurer@ximian.com>
3350
3351         * TextBoxMode.cs: Wrong ordering of enum...
3352
3353 2005-07-21  Chris Toshok  <toshok@ximian.com>
3354
3355         * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
3356         cache the results.
3357
3358 2005-07-21  Chris Toshok  <toshok@ximian.com>
3359
3360         * BaseValidator.cs (get_PropertiesValid): use our containing
3361         NamingContainer, not ourselves, to look up controls.
3362         (CheckControlValidationProperty): same.
3363         (GetControlRenderID): same.
3364         (GetControlValidationValue): same.
3365         (AddAttributesToRender): add the display style attribute if
3366         Display != Static, and add the value of IsValid if it's false.
3367         (DetermineRenderUplevel): use a try block around (Page.Request)
3368         since that can raise an exception.
3369         (OnPreRender): set pre_render_called, so we can consult it in
3370         Render.
3371         (Render): complicate this method more to handle more of the
3372         Display/pre_render_called permutations.
3373
3374 2005-07-21  Peter Dennis Bartok  <pbartok@novell.com> 
3375
3376         * CustomValidator.cs: Initial implementation, still work in progress
3377
3378 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>
3379
3380         * DataList.cs: Fix rendering for special items (-1).
3381
3382 2005-07-21  Ben Maurer  <bmaurer@ximian.com>
3383
3384         * RepeatInfo.cs: Fix most of the tests.
3385
3386 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>
3387
3388         * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
3389         Add a border=0 attribute if no style is defined.
3390         * TableCell.cs: Use HtmlTextWriterTag (not a string).
3391         * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
3392         * TableRow.cs: Use HtmlTextWriterTag (not a string).
3393
3394 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com> 
3395  
3396         * BaseDataList.cs: Fix attributes.
3397         * HorizontalAlign.cs: Fix attributes.
3398         * Image.cs: Fix attributes and enums checks.
3399         * Table.cs: Fix attributes an enums checks.
3400         * TableCell.cs: Fix attributes.
3401         * TableCellCollection.cs: Fix attributes.
3402         * TableItemStyle.cs: Fix attributes and enums checks.
3403         * TableRowCollection.cs: Fix attributes.
3404         * TableRow.cs: Fix attributes.
3405         * TableStyle.cs: Fix attributes and enums checks.
3406         * VerticalAlign.cs: Fix attributes.
3407
3408 2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>
3409
3410         * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
3411         * DataList.cs: Added rendering support when ExtractTemplatesRows
3412         property is true (but RepeatInfo needs to be fixed to see it works).
3413         * DataListItem.cs: Added rendering support when extractRows parameter
3414         is true (but RepeatInfo still needs to be fixed ;-)
3415
3416 2005-07-21  Duncan Mak  <duncan@novell.com>
3417
3418         * HyperLinkColumn.cs: Initial implementation.
3419         Todo: Figure out Initialize and InitializeCell.
3420
3421 2005-07-20  Chris Toshok  <toshok@ximian.com>
3422
3423         * BaseValidator.cs: don't use Page.FindControl, use this Control's
3424         FindControl, so it'll use the same naming container.
3425
3426 2005-07-21  Duncan Mak  <duncan@novell.com>
3427
3428         * DataGridCommandEventArgs.cs: 
3429         * DataGridPageChangedEventArgs.cs: 
3430         * RepeaterCommandEventArgs.cs:  Fixed visibility.
3431
3432         * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
3433         * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..       
3434         
3435 2005-07-20  Chris Toshok  <toshok@ximian.com>
3436
3437         * Button.cs: hook up the client side validation stuff.
3438
3439         * ImageButton.cs: same.
3440
3441         * LinkButton.cs: same, although it's a little more complicated
3442         here.
3443
3444 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com> 
3445
3446         * DropDownList.cs: 
3447           - Implemented RaisePostDataChangedEvent()
3448           - Spewing postback command if AutoPostBack is true
3449
3450 2005-07-20  Chris Toshok  <toshok@ximian.com>
3451
3452         * BaseValidator.cs: another Page != null check when uplevel
3453         rendering.
3454         
3455 2005-07-20  Chris Toshok  <toshok@ximian.com>
3456
3457         * BaseValidator.cs: check Page != null when determining if we're
3458         rendering uplevel or not.
3459
3460 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com> 
3461
3462         * ListItemCollection.cs: Removed obsolete method that's no longer
3463           referenced
3464
3465 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com>
3466
3467         * DropDownList.cs: Oops. Forgot to implement LoadPostData
3468         * ListItemCollection.cs: Added convenience method to have faster
3469           PostData handling
3470
3471 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com>
3472
3473         * DropDownList.cs:
3474           - Automatically select the first item if none are selected
3475           - Throw exception if more than one item is selected
3476
3477 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com> 
3478  
3479         * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
3480         handled by RepeatInfo).
3481
3482 2005-07-20  Jackson Harper  <jackson@ximian.com>
3483
3484         * DataGrid.cs: Store the data source created columns in a 
3485           DataGridColumnCollection. This way they can be put in the 
3486           view state more easily, and accessed without casting.
3487
3488 2005-07-20  Chris Toshok  <toshok@ximian.com>
3489
3490         * BaseValidator.cs (AddAttributesToRender): render the client side
3491         attributes if we're in uplevel mode.
3492         (DetermineRenderUplevel): flesh out a bit - for now basically
3493         return true unless the control has it disabled.
3494         (OnInit): only add the validator to Page's list if there is, in
3495         fact, a page.
3496         (OnUnload): same for removal.
3497         (OnPreRender): hook up client scripting stuff here.  Only the call
3498         to RegisterValidatorCommonScript is a for sure thing here, the
3499         registering of the submit statement and startup script should
3500         probably go elsewhere, but I don't know where.
3501         (RegisterValidatorCommonScript): register the <script
3502         src=".../WebUIValidation.js"> tag, if it's not already there.
3503         (RegisterValidatorDeclaration): add our span object to the
3504         Page_Validators JS array.
3505         (Render): always render the tags (although this is probably not
3506         right), and call RegisterValidatorDeclaration here.
3507         
3508         * BaseCompareValidator.cs (AddAttributesToRender): render the
3509         client side attributes if we're in uplevel mode.
3510         (DetermineRenderUplevel): add MonoTODO.. why override this?  Just
3511         call base.DetermineRenderUplevel for now.
3512
3513         * RegularExpressionValidator.cs (AddAttributesToRender): render
3514         the client side attributes if we're in uplevel mode.
3515         
3516         * RequiredFieldValidator.cs (AddAttributesToRender): same.
3517
3518         * CompareValidator.cs (AddAttributesToRender): same.
3519         
3520 2005-07-20  Jackson Harper  <jackson@ximian.com>
3521
3522         * DataGrid.cs: Save the data source created column set in the 
3523           view state.
3524
3525 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com> 
3526  
3527         * DataList.cs: Fix events and properties exceptions. Give the right
3528         informations to RenderItem.
3529
3530 2005-07-20  Peter Dennis Bartok  <pbartok@novell.com> 
3531
3532         * ValidationSummary.cs: Implemented rendering
3533
3534 2005-07-20  Jackson Harper  <jackson@ximian.com>
3535
3536         * DataGrid.cs: column names are cached and only regenerated if useDataSource
3537           is set to true. Otherwise they are just fetched from the last set that 
3538           was generated from the source.
3539
3540 2005-07-20  Jackson Harper  <jackson@ximian.com>
3541
3542         * DataGrid.cs: Assign some properties of newly created BoundColumns.
3543
3544 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com> 
3545  
3546         * DataList.cs: Fix viewstate ordering.
3547
3548 2005-07-20  Ben Maurer  <bmaurer@ximian.com>
3549
3550         * SelectedDatesCollection.cs: Apprarently, I don't write code well
3551         at 1 am.
3552
3553         * Repeater.cs: Uh, actually add stuff to the items collection
3554          (thanks sp ;-)
3555
3556 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com> 
3557  
3558         * BaseDataList.cs: EnsureChildControls on Controls property.
3559         * DataList.cs: Fix rendering and Controls/Items differences.
3560         * DataListItem.cs: Added rendering of controls.
3561
3562 2005-07-20  Sebastien Pouliot  <sebastien@ximian.com>
3563
3564         * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
3565
3566 2005-07-20  Jackson Harper  <jackson@ximian.com>
3567
3568         * DataGrid.cs: Add some of the collections. Implement
3569           column creation.
3570
3571 2005-07-20  Jackson Harper  <jackson@ximian.com>
3572
3573         * PagedDataSource.cs: Implement GetItemProperties, this is
3574           needed for the datagrid.
3575
3576 2005-07-20  Ben Maurer  <bmaurer@ximian.com>
3577
3578         * DataGridColumnCollection.cs: New impl
3579
3580         * TemplateColumn.cs: New impl
3581
3582 2005-07-19  Sebastien Pouliot  <sebastien@ximian.com>
3583
3584         * BaseDataList.cs: Call PrepareControlHierarchy from Render.
3585         * DataList.cs: Work in progress... Added attributes, proper 
3586         IRepeatInfoUser support and cool things stolen from other classes.
3587         * DataListCommandEventArgs.cs: Class is sealed.
3588         * DataListItem.cs: RenderItem is public.
3589
3590 2005-07-19  Jackson Harper  <jackson@ximian.com>
3591
3592         * ListControl.cs: Use Events Add/RemoveHandler. Don't create
3593           a viewstate object if all the viewstate stuff is null.
3594
3595 2005-07-19  Jackson Harper  <jackson@ximian.com>
3596
3597         * DataGrid.cs: Implement style properties and viewstate 
3598           saving/loading/tracking.
3599
3600 2005-07-19  Chris Toshok  <toshok@ximian.com>
3601         
3602         * BaseValidator.cs: more fixes from pdb.
3603
3604 2005-07-19  Chris Toshok  <toshok@ximian.com>
3605
3606         * BaseValidator.cs: some test-driven fixes.
3607
3608 2005-07-19  Chris Toshok  <toshok@ximian.com>
3609
3610         * BaseValidator.cs: Initial implementation.
3611
3612 2005-07-19  Sebastien Pouliot  <sebastien@ximian.com>
3613
3614         * Repeater.cs: Fix small typo.
3615
3616 2005-07-19  Peter Dennis Bartok  <pbartok@novell.com> 
3617
3618         * ValidationSummaryTest.cs: Started implementation
3619         * RangeValidator.cs: Implemented
3620         * ValidatedControlConverter.cs: Implemented
3621         * DropDownList.cs: Implemented
3622
3623 2005-07-19  Jackson Harper  <jackson@ximian.com>
3624
3625         * DataGrid.cs: Implement bubble event.
3626
3627 2005-07-19  Jackson Harper  <jackson@ximian.com>
3628
3629         * DataGrid.cs: New implementation. Just properties and events for 
3630           now.
3631
3632 2005-07-18  Chris Toshok  <toshok@ximian.com>
3633
3634         * BaseCompareValidator.cs: Initial implementation, with some NYI.
3635
3636 2005-07-19  Ben Maurer  <bmaurer@ximian.com>
3637
3638         * FontUnit.cs: Corcompare fixes
3639
3640         * UnitConverter.cs: Fix api diffs
3641
3642 2005-07-18  Ben Maurer  <bmaurer@ximian.com>
3643
3644         * ListControl.cs: Fix api differences
3645
3646 2005-07-18  Sebastien Pouliot  <sebastien@ximian.com>
3647
3648         * Table.cs: Fix indentation for caption. Simplify check when adding 
3649         controls.
3650         * TableRow.cs: Simplify check when adding controls.
3651
3652 2005-07-18  Chris Toshok  <toshok@ximian.com>
3653
3654         * CompareValidator.cs: wtf, just use the base class's methods.
3655
3656 2005-07-18  Chris Toshok  <toshok@ximian.com>
3657
3658         * CompareValidator.cs: do comparisons based on
3659         BaseCompareValidator.Type.
3660
3661 2005-07-18  Chris Toshok  <toshok@ximian.com>
3662
3663         * CompareValidator.cs: initial implementation.
3664
3665 2005-07-18  Chris Toshok  <toshok@ximian.com>
3666
3667         * RegularExpressionValidator.cs: initial implementation.
3668
3669 2005-07-18  Sebastien Pouliot  <sebastien@ximian.com>
3670
3671         * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
3672
3673 2005-07-18  Jackson Harper  <jackson@ximian.com>
3674
3675         * CheckBoxList.cs: Implement LoadPostBackData. Also register 
3676           checkboxes for postback if they are checked so we can find
3677           out when they are unchecked. Copy the AutoPostBack variable 
3678           to the to be rendered checkbox when rendering.
3679
3680 2005-07-18  Ben Maurer  <bmaurer@ximian.com>
3681
3682         * TextBox.cs: Finish this up.
3683
3684         * AdRotator.cs: Fix issues in the test suite. Minor style
3685         cleanups.
3686
3687         * Repeater.cs: Fix a bug where the datasource is null and we do
3688         the binding
3689
3690         * WebColorConverter.cs: Optimize by not doing a concat on a
3691         formatted string.
3692
3693 2005-07-17  Ben Maurer  <bmaurer@ximian.com>
3694
3695         * ListItemCollection.cs: Multiple uses of equals rather than
3696         string.compare as below. Remove unreachable code warning.
3697
3698         * WebColorConverter.cs (ConvertTo): Use the == operator on string
3699         rather than an invariant non-case ignoring compare. They are
3700         exactly the same thing. Use proper coding style in this method.
3701
3702         * WebControl.cs: Return null when saving the view state if there
3703         is no state in any of the things we save. This creates a fairly
3704         large savings, because we can avoid saving anything about many
3705         levels of deaply nested controls.
3706
3707 2005-07-15  Jackson Harper  <jackson@ximian.com>
3708
3709         * CheckBoxList.cs: Use the index as the ID, the rest of the 
3710           id is built by being in the NamingContainer.
3711
3712 2005-07-15  Jackson Harper  <jackson@ximian.com>
3713
3714         * ListControl.cs: Use enum instead of string. Saves a lookup. 
3715
3716 2005-07-15  Jackson Harper  <jackson@ximian.com>
3717
3718         * CheckBoxList.cs: FindControl always returns 'this' according
3719           to my probing.
3720
3721 2005-07-15  Jackson Harper  <jackson@ximian.com>
3722
3723         * CheckBoxList.cs: New impl.
3724
3725 2005-07-15  Jackson Harper  <jackson@ximian.com>
3726
3727         * WebControl.cs: Use the ClientID when rendering a controls ID
3728           attribute so that naming containers are honoured. 
3729
3730 2005-07-15  Jackson Harper  <jackson@ximian.com>
3731
3732         * ListControl.cs: use the state manager interface for tracking
3733           the viewstate.
3734
3735 2005-07-15  Ben Maurer  <bmaurer@ximian.com>
3736
3737         * Repeater.cs (DoItem): Add the DataItem before we call user
3738         methods, as it seems to be there with msft.
3739
3740 2005-07-15  Sebastien Pouliot  <sebastien@ximian.com>
3741
3742         * BaseDataList.cs: New. (mostly complete) implementation.
3743         * DataKeyCollection.cs: New. Implementation (complete).
3744         * DataList.cs: New. (mostly incomplete) implementation.
3745         * DataListItem.cs: New. (mostly complete) implementation.
3746         * DataListItemCollection.cs: New. Implementation (complete).
3747
3748 2005-07-15  Ben Maurer  <bmaurer@ximian.com>
3749
3750         * Repeater.cs (DoItem): We need to .Add the control *before* we
3751         data bind it so that the state gets tracked correctly. Fixes the
3752         postback test case.
3753
3754 2005-07-15  Jackson Harper  <jackson@ximian.com>
3755
3756         * ListControl.cs: Simplify comparison. 
3757
3758 2005-07-15  Jackson Harper  <jackson@ximian.com>
3759
3760         * ListControl.cs:
3761         * Repeater.cs: Use new utility class for resolving data sources.
3762
3763 2005-07-15  Jackson Harper  <jackson@ximian.com>
3764
3765         * ListControl.cs: Add attributes so the sub items get parsed 
3766           properly. Remove old unneeded code for resolving lists.
3767
3768 2005-07-15  Jackson Harper  <jackson@ximian.com>
3769
3770         * ListControl.cs: Use the DataSourceHelper so DataMembers are 
3771           resolved properly.
3772
3773 2005-07-14  Ben Maurer  <bmaurer@ximian.com>
3774
3775         * WebControl.cs:
3776           - Some optimizations
3777             * Don't use enum formatting stuff, it is 1) expensive 2) does 
3778               allocations. Use a new method in HtmlControl to do the right
3779               formatting.
3780             * Don't use Enum.IsDefined but an explicit check.
3781             * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
3782           - Use the correct coding style.
3783         
3784 2005-07-14  Peter Dennis Bartok  <pbartok@novell.com> 
3785
3786         * WebColorConverter.cs: 
3787           - Alpha of 255 is only set if the hex number is exactly 6 digits
3788           - Ben didn't like the catch { throw; } (even though MS documents to
3789             do so)
3790           - Use Invariant Culture for parsing (thanks, Ben)
3791
3792 2005-07-14  Jackson Harper  <jackson@ximian.com>
3793
3794         * ListControl.cs: Use DataBinder.Eval for data binding. This is more
3795         code-reuse-arific. Also use the IStateManager interface for loading
3796         data instead of the old internal method.
3797
3798 2005-07-14  Peter Dennis Bartok  <pbartok@novell.com>
3799
3800         * WebColorConverter.cs: Implemented
3801
3802 2005-07-14  Ben Maurer  <bmaurer@ximian.com>
3803
3804         * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
3805
3806 2005-07-14  Ben Maurer  <bmaurer@ximian.com>
3807
3808         * Repeater.cs: Get it working
3809
3810 2005-07-14  Jackson Harper  <jackson@ximian.com>
3811
3812         * ListControl.cs: Initial implementation of Databinding. Make sure
3813         that the ListItemCollection is created when we load its ViewState. 
3814
3815 2005-07-14  Jackson Harper  <jackson@ximian.com>
3816
3817         * ListControl.cs: Fix typo.
3818
3819 2005-07-14  Jackson Harper  <jackson@ximian.com>
3820
3821         * ListControl.cs: New Implementation. Lacks databinding support.
3822
3823 2005-07-14  Ben Maurer  <bmaurer@ximian.com>
3824
3825         * Repeater.cs: The beginnings of this control
3826
3827 2005-07-14  Peter Dennis Bartok  <pbartok@novell.com>
3828
3829         * TargetConverter.cs: Implemented
3830
3831 2005-07-14  Duncan Mak  <duncan@novell.com>
3832
3833         * PagedDataSource.cs: Initial implementation.
3834
3835         Methods that need to be figured out:
3836         CopyTo, GetItemProperties, PageCount, IsLastPage.
3837
3838         To complete: CollectionEnumerator, ListEnumerator.
3839
3840 2005-07-13  Duncan Mak  <duncan@novell.com>
3841
3842         * RepeatDirection.cs:
3843         * RepeatLayout.cs:
3844         * ValidationCompareOperator.cs:
3845         * ValidationDataType.cs:
3846         * ValidationSummaryDisplayMode.cs: 
3847         * ValidatorDisplay.cs: Added remaining enumerations.
3848         
3849 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>
3850
3851         * FontNamesConverter.cs: Implemented
3852
3853 2005-07-13  Ben Maurer  <bmaurer@ximian.com>
3854
3855         * RepeaterItem.cs: Compile fix
3856
3857         * RepeaterItemCollection.cs: New file
3858
3859         * RepeaterItem.cs: get OnBubbleEvent right.
3860
3861 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com> 
3862
3863         * ListItemCollection.cs: Count can be derived from the array, which
3864           allows us to use a Pair instead of a Triplet and save some space
3865
3866 2005-07-13  Ben Maurer  <bmaurer@ximian.com>
3867
3868         * RepeaterItem.cs: Stub
3869
3870 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>
3871
3872         * ListItemCollection.cs: Implemented
3873         * WebControl.cs: Added check for enumeration validity (thanks Jackson)
3874
3875 2005-07-13  Ben Maurer  <bmaurer@ximian.com>
3876
3877         * RepeatInfo.cs: Impl.
3878
3879 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>
3880
3881         * FirstDayOfWeek.cs: Added
3882
3883 2005-07-13  Jackson Harper  <jackson@ximian.com>
3884
3885         * ListBox.cs: Some parameter checking.
3886
3887 2005-07-13  Sebastien Pouliot  <sebastien@ximian.com>
3888  
3889         * Image.cs: Added support for DescriptionUrl as this property was
3890         added in Fx 1.1 SP1.
3891
3892 2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>
3893
3894         * Style.cs (AddAttributesToRender): Don't render attributes if they
3895           contain only their default value
3896
3897 2005-07-13  Sebastien Pouliot  <sebastien@ximian.com> 
3898
3899         * Table.cs: New. Initial re-implementation.
3900         * TableCell.cs: New. Initial re-implementation.
3901         * TableCellCollection.cs: New. Initial re-implementation.
3902         * TableHeaderCell.cs: New. Initial re-implementation.
3903         * TableItemStyle.cs: New. Initial re-implementation.
3904         * TableRow.cs: New. Initial re-implementation.
3905         * TableRowCollection.cs: New. Initial re-implementation.
3906         * TableStyle.cs: New. Initial re-implementation.
3907
3908 2005-07-13  Sebastien Pouliot  <sebastien@ximian.com> 
3909  
3910         * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
3911         unit tests (for Style) and more tests in Table* classes.
3912
3913 2005-07-13  Sebastien Pouliot  <sebastien@ximian.com>
3914
3915         * Style.cs: TableStyle and TableItemStyle don't override IsEmpty, 
3916         however IsEmpty returns false if any of their properties are set.
3917         Looks ugly but it's compatible with MS implementation (feature and
3918         signature wise).
3919
3920 2005-07-13  Dick Porter  <dick@ximian.com>
3921
3922         * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
3923         null Text properties from the ViewState, test for TextAlign being
3924         out of range.  All to make tests pass on both mono and ms
3925         runtimes.
3926
3927 2005-07-13  Jackson Harper  <jackson@ximian.com>
3928
3929         * ListBox.cs: Use invariant culture when doing a ToString,
3930           set value to the item's value, not to its Text.
3931
3932 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com>
3933
3934         * WebControl.cs (AddAttributesToRender): Added ID to rendered
3935           attributes
3936
3937 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com>
3938
3939         * Style.cs(MergeWith): Handle null styles
3940
3941 2005-07-12  Sebastien Pouliot  <sebastien@ximian.com>
3942
3943         * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
3944         the #if NET_2_0 on it.
3945
3946 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com> 
3947
3948         * Style.cs: Only render font elements if fontinfo object exists
3949         * WebControl.cs:
3950           - Implemented SaveViewState()
3951           - Added loading of Style to LoadViewState
3952           - Implemented IAttributeAccessor methods
3953
3954 2005-07-12  Jackson Harper  <jackson@ximian.com>
3955
3956         * ListBox.cs: Even track default values in the viewstate. Call
3957           base's RenderContents.
3958
3959 2005-07-12  Jackson Harper  <jackson@ximian.com>
3960
3961         * ListBox.cs: New impl.
3962
3963 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com> 
3964
3965         * WebControl.cs: 
3966           - Implemented methods
3967           - Fixed brackets
3968
3969 2005-07-12  Ben Maurer  <bmaurer@ximian.com>
3970
3971         * ListItem.cs: New impl.
3972
3973 2005-07-12  Duncan Mak  <duncan@novell.com>
3974
3975         * DayNameFormat.cs: Added.
3976
3977 2005-07-12  Peter Dennis Bartok  <pbartok@novell.com> 
3978
3979         * WebControl.cs: Implemented properties
3980
3981 2005-07-12  Ben Maurer  <bmaurer@ximian.com>
3982
3983         * TextBox.cs: Passwords seem 1) not to be rendered to the client
3984         if set, 2) not kept in view state (for security reasons...)
3985
3986         * LinkButton.cs: 
3987         * Button.cs: Page.Validate () if needed. Gets the validator tests
3988         working again.
3989
3990         * TextBox.cs: Properties to get the validator stuff to work.
3991
3992 2005-07-12  Miguel de Icaza  <miguel@novell.com>
3993
3994         * Unit.cs: If the units are pixels, then truncate the value. 
3995
3996 2005-07-12  Dick Porter  <dick@ximian.com>
3997
3998         * RadioButton.cs: New implementation
3999
4000         * CheckBox.cs: Rearrange the attributes rendering to allow
4001         RadioButton to derive from this
4002
4003 2005-07-12  Jordi Mas i Hernandez  <jordi@ximian.com>
4004
4005         * TitleFormat.cs: Add attribute
4006         * TextBoxMode.cs: Add attribute
4007         * CalendarDay.cs: Initial implementation
4008         * ImageButton.cs: Initial implementation
4009         * CalendarSelectionMode.cs:Initial implementation
4010
4011 2005-07-12  Jordi Mas i Hernandez  <jordi@ximian.com>
4012
4013         * TextBoxMode.cs: simple enum
4014         * TitleFormat.cs: simple enum
4015
4016 2005-07-11  Peter Dennis Bartok  <pbartok@novell.com> 
4017
4018         * FontInfo.cs: Now using BenM's fancy internal StateBag methods
4019
4020 2005-07-11  Peter Dennis Bartok  <pbartok@novell.com>
4021
4022         * FontUnit.cs: Added TypeConverter attribute to class
4023         * FontUnitConverter.cs: Implemented
4024
4025 2005-07-11  Ben Maurer  <bmaurer@ximian.com>
4026
4027         * LinkButton.cs: 
4028         * Button.cs: Bubble the Command event.
4029
4030 2005-07-11  Ben Maurer  <bmaurer@ximian.com>
4031
4032         * Button.cs:
4033           - Clean up style (with my wonderful state bag hack!)
4034           - Fix a view state typo.
4035           - Use AddAttributesToRender
4036           - Don't add an extra <span>
4037
4038 2005-07-11  Peter Dennis Bartok  <pbartok@novell.com>
4039
4040         * Style.cs: Handle null constructor argument for bag
4041
4042 2005-07-11  Dick Porter  <dick@ximian.com>
4043
4044         * CheckBox.cs: New implementation
4045
4046         * RadioButton.cs: Initial stubbed version that just compiles
4047
4048 2005-07-10  Jordi Mas i Hernandez  <jordi@ximian.com> 
4049  
4050         * Button.cs: Initial Button implementation
4051
4052 2005-07-10  Sebastien Pouliot  <sebastien@ximian.com> 
4053  
4054         * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
4055
4056 2005-07-09  Sebastien Pouliot  <sebastien@ximian.com> 
4057  
4058         * HorizontalAlign.cs: Typo in header.
4059         * VerticalAlign.cs: New. Required enum for TableRow control.
4060
4061 2005-07-09  Ben Maurer  <bmaurer@ximian.com>
4062
4063         * TextBox.cs: More work on this
4064
4065 2005-07-09  Sebastien Pouliot  <sebastien@ximian.com> 
4066  
4067         * GridLines.cs: New. Required enum for Table control.
4068         * HorizontalAlign.cs: New. Required enum for Table control.
4069
4070 2005-07-09  Duncan Mak  <duncan@novell.com>
4071
4072         * CommandEventHandler.cs:
4073         * DataGridCommandEventHandler.cs:
4074         * DataGridItemEventHandler.cs:
4075         * DataGridPageChangedEventHandler.cs:
4076         * DataGridSortCommandEventHandler.cs:
4077         * DataListCommandEventHandler.cs:
4078         * DayRenderEventHandler.cs:
4079         * RepeaterCommandEventHandler.cs:
4080         * ServerValidateEventHandler.cs: Add delegates.
4081         
4082         * ListItemType.cs:
4083         * ListSelectionMode.cs:
4084         * NextPrevFormat.cs:
4085         * PagerMode.cs
4086         * PagerPosition.cs: Add enums.
4087
4088 2005-07-09  Ben Maurer  <bmaurer@ximian.com>
4089
4090         * TextBox.cs: Add the work I did on this today. It's not complete
4091         yet, but its a start!
4092
4093 2005-07-09  Duncan Mak  <duncan@novell.com>
4094
4095         * CommandEventArgs.cs:
4096         * DataGridCommandEventArgs.cs:
4097         * DataGridItemEventArgs.cs:
4098         * DataGridPageChangedEventArgs.cs:
4099         * DataGridSortCommandEventArgs.cs:
4100         * DataListCommandEventArgs.cs:
4101         * DataListItemEventArgs.cs:
4102         * DayRenderEventArgs.cs:
4103         * RepeaterCommandEventArgs.cs:
4104         * RepeaterItemEventArgs.cs:
4105         * ServerValidateEventArgs.cs: Implemented.
4106         
4107 2005-07-08  Sebastien Pouliot  <sebastien@ximian.com>
4108
4109         * Image.cs: New. Image class implementation.
4110         * ImageAlign.cs: New. ImageAlign enum definitions.
4111
4112 2005-07-08  Jackson Harper  <jackson@ximian.com>
4113
4114         * Literal.cs: New implentation.
4115         * MonthChangedEventArgs.cs: new
4116         * MonthChangedEventHandler.cs: new
4117         
4118 2005-07-08  Ben Maurer  <bmaurer@ximian.com>
4119
4120         * LinkButton.cs: Command impl
4121
4122 2005-07-08  Ben Maurer  <bmaurer@ximian.com>
4123
4124         * LinkButton.cs: Initial impl
4125
4126 2005-07-08  Jackson Harper  <jackson@ximian.com>
4127
4128         * AdCreatedeventArgs.cs: New implementation.
4129
4130 2005-07-08  Dick Porter  <dick@ximian.com>
4131
4132         * TextAlign.cs: 
4133         * BorderStyle.cs: Added
4134
4135 2005-07-07  Peter Dennis Bartok  <pbartok@novell.com>
4136
4137         * FontInfo.cs: Fixed behaviour discrepancies showed by tests
4138
4139 2005-07-07  Miguel de Icaza  <miguel@novell.com>
4140
4141         * Xml.cs: New implementation.  R00lz.
4142
4143 2005-07-07  Peter Dennis Bartok  <pbartok@novell.com>
4144
4145         * FontInfo.cs: Added and implemented.
4146         * Style.cs: Fixed behaviour discrepancies showed by tests
4147
4148 2005-07-07  Ben Maurer  <bmaurer@ximian.com>
4149
4150         * PlaceHolderControlBuilder.cs: new file
4151
4152         * LabelControlBuilder.cs: New file
4153
4154         * HyperLink.cs: use control builder; fix parsing stuff
4155
4156         * HyperLinkControlBuilder.cs: new file
4157
4158         * Panel.cs: misc fixes
4159
4160 2005-07-07  Miguel de Icaza  <miguel@novell.com>
4161
4162         * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
4163
4164         * UnitConverter.cs: Add new file, learned from the
4165         System.Drawing.ColorConverter.
4166
4167 2005-07-07  Ben Maurer  <bmaurer@ximian.com>
4168
4169         * PlaceHolder.cs: New file. Seems to do nothing
4170
4171         * Label.cs: Use my new statebag trick to reduce typing
4172
4173         * HyperLink.cs: New file
4174
4175 2005-07-06  Peter Dennis Bartok  <pbartok@novell.com>
4176
4177         * Style.cs: Added and implemented.
4178
4179 2005-07-06  Miguel de Icaza  <miguel@novell.com>
4180
4181         * FontUnit.cs: New file.
4182
4183         * Unit.cs: New file. 
4184
4185         Added support for null and empty string constructors.
4186
4187 2005-07-06  Ben Maurer  <bmaurer@ximian.com>
4188
4189         * Unit.cs: cctor not needed; static fields are 0 init'd by default
4190
4191         * WebControl.cs: Kothari & Datye's book explains how these work.
4192
4193         * IRepeatInfoUser.cs: Reimpl.
4194
4195 2005-07-06  Peter Dennis Bartok  <pbartok@novell.com>
4196
4197         * WebControl.cs: Added stub
4198
4199 2005-07-05  Miguel de Icaza  <miguel@novell.com>
4200
4201         * Label.cs: First control.
4202
4203 2005-06-27  Lluis Sanchez Gual <lluis@novell.com>
4204
4205         * DataControlField.cs: Ignore the ShowHeader property when
4206         building the control's content. It is the resposability of
4207         the field container to decide if the header should be shown
4208         or not.
4209
4210 2005-06-10  Lluis Sanchez Gual <lluis@novell.com>
4211
4212         * AdType.cs:
4213         * ImageFieldMode.cs:
4214         * DynamicImageParameterMode.cs:
4215         * TableViewMode.cs: Removed.
4216         
4217         * SortDirection.cs:
4218         * AdRotator.cs:
4219         * TableRowSection.cs:
4220         * AutoCompleteType.cs:
4221         * DayNameFormat.cs: Track changes in 2.0 api.
4222         
4223         * StringArrayConverter.cs: This class is 2.0 only.
4224
4225 2005-06-06  Lluis Sanchez Gual <lluis@novell.com>
4226
4227         * GridView.cs:
4228         * FormView.cs:
4229         * DetailsView.cs: Bind the control after creating all child
4230          controls.
4231         * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
4232         the correct methods.
4233         * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
4234         in this class. This is done in DataBoundControl. All this fixes
4235         bug #75076.
4236
4237 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4238
4239         * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
4240         FindByText. Closes bug #74205.
4241
4242 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4243
4244         * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
4245         1 when there's a datasource and 0 pages. Closes bug #73864.
4246
4247 2005-05-26  Lluis Sanchez Gual <lluis@novell.com>
4248
4249         * DataListItem.cs:
4250         * GridViewRow.cs:
4251         * DataGridItem.cs:
4252         * RepeaterItem.cs:
4253         * FormView.cs:
4254         * MenuItemTemplateContainer.cs:
4255         * DetailsView.cs: Track changes in the IDataItemContainer interface.
4256         
4257         * CommandField.cs: Added CausesValidation property. Set that
4258         property value to all buttons of the field.
4259         
4260         * SqlDataSourceView.cs:
4261         * CollectionDataSource.cs:
4262         * XmlDataSourceView.cs: Properly initialize the base class.
4263         
4264         * SiteMapDataSource.cs:
4265         * SiteMapHierarchicalDataSourceView.cs:
4266         * SiteMapNodeItem.cs:
4267         * SiteMapDataSourceView.cs:
4268         * SiteMapPath.cs: Mostly implemented.
4269         
4270         * HierarchicalDataBoundControl.cs: Always bind the control when the
4271         page is loaded for the first time.
4272         
4273         * TreeView.cs: Properly bind the control when loaded from a callback.
4274
4275 2005-05-21  Ben Maurer  <bmaurer@ximian.com>
4276
4277         * BaseDataList.cs: Caption is in 1.1 too, though not
4278         documented. Gonz owes me [more] ice cream. Yummmmm.
4279
4280 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4281
4282         * BaseDataList.cs: implemented 2.0 Caption property.
4283
4284 2005-05-18  Lluis Sanchez Gual <lluis@novell.com>
4285
4286         * TreeView.cs: Always render the startup script. This fixes
4287         bug #74949. 
4288
4289 2005-05-13  Lluis Sanchez Gual <lluis@novell.com>
4290
4291         * WizardStepBase.cs:
4292         * WizardStep.cs: Added missing attributes.
4293         * Wizard.cs: Implemented missing methods and properties. It can now
4294         be considered feature complete.
4295
4296 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4297
4298         * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
4299         the method if the data source was en empty IEnumerator. Fixes
4300         bug #74804.
4301
4302 2005-05-06  Lluis Sanchez Gual <lluis@novell.com>
4303
4304         * TreeNode.cs:
4305         * TreeView.cs:
4306         * Menu.cs: Implemented some new properties from beta 2.
4307         
4308         * DataControlButton.cs: Render the ControlStyle if it
4309         is not empty.
4310         
4311         * UnitConverter.cs:
4312         * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
4313         It will now generate an object creation, instead of a Parse call. 
4314         
4315         * GridViewCommandEventArgs.cs: Added missing property.
4316         * SubMenuStyleCollection.cs: This class is not sealed.
4317         * MultiView.cs: Set Visible=false to all views that are not
4318         shown. This ensures that it's view state is saved. 
4319         
4320         * BaseDataBoundControl.cs:
4321         * GridViewDeletedEventArgs.cs: Minor api fixes.
4322         
4323         * FormViewDeleteEventArgs.cs:
4324         * DetailsViewDeletedEventArgs.cs:
4325         * ListControl.cs: Fix warnings.
4326         
4327         * CircleHotSpot.cs
4328         * HotSpot.cs
4329         * HotSpotCollection.cs
4330         * ImageMap.cs
4331         * PolygonHotSpot.cs
4332         * RectangleHotSpot.cs
4333         * WizardStepCollection.cs : Implemented.
4334         
4335         * WizardStep.cs
4336         * WizardStepBase.cs
4337         * Wizard.cs: Initial implementation.
4338
4339 2005-05-04  Lluis Sanchez Gual <lluis@novell.com>
4340
4341         * DataControlField.cs:
4342         * CommandField.cs: 
4343         * GridView.cs:
4344         * FormView.cs:
4345         * DataControlCommands.cs:
4346         * DetailsView.cs: Use constants to identify commands.
4347
4348         * SubMenuStyle.cs: Use Unit instead of int for padding.
4349         * SubMenuStyleCollection.cs: Implemented.
4350         
4351         * DataList.cs:
4352         * Menu.cs: Added some missing methods and properties.
4353         
4354         * Literal.cs:
4355         * DataGridPagerStyle.cs: Fixed default value attributes.
4356         * ListControl.cs: Implemented IEditableTextControl interface.
4357         
4358         * MenuItemBinding.cs: Added Selectable property.
4359         * CustomValidator.cs: removed interface.
4360         
4361         * MenuItem.cs: Added support for custom binding. 
4362         * DropDownList.cs: Moved text properties to base class.
4363
4364 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4365
4366         * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
4367
4368 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4369
4370         * Calendar.cs: when the day is active, modify the text of the literal
4371         control that holds the number, not the text of the TableCell. Also call
4372         OnDayRender before updating that text. Fixes bug #74718.
4373
4374 2005-04-22  Lluis Sanchez Gual <lluis@novell.com>
4375
4376         * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
4377         members.
4378         * DataControlFieldHeaderCell.cs: Save Scope in view state.
4379         Added AbbreviatedText property.
4380         * AutoGeneratedField.cs: The constructor should actually be internal.
4381         * DataGridItem.cs: Added implemented interface in 2.0.
4382         * DataControlFieldCollection.cs: Implemented CloneFields and
4383         GetKnownTypes().
4384         * 
4385
4386 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4387
4388         * StringArrayConverter.cs:
4389         * Calendar.cs: warnings.
4390
4391 2005-04-21  Lluis Sanchez Gual <lluis@novell.com>
4392
4393         * FormViewDeleteEventArgs.cs:
4394         * FormViewInsertEventArgs.cs:
4395         * FormViewUpdateEventArgs.cs:
4396         * FormViewDeletedEventArgs.cs:
4397         * FormViewUpdatedEventArgs.cs:
4398         * FormViewInsertedEventArgs.cs: Implemented some missing properties.
4399         
4400         * LinkButton.cs:
4401         * IButtonControl.cs:
4402         * Button.cs: Removed SoftKey property.
4403         
4404         * CheckBox.cs: Don't try to load post back data if the control
4405         is disabled.
4406         
4407         * ImageField.cs:
4408         * AutoGeneratedField.cs:
4409         * DataControlField.cs:
4410         * CommandField.cs:
4411         * ButtonFieldBase.cs:
4412         * BoundField.cs:
4413         * CheckBoxField.cs:
4414         * TemplateField.cs:
4415         * ButtonField.cs: Don't bind fields in Insert state.
4416         Implemented CreateField and CopyProperties.
4417         
4418         * GridView.cs:
4419         * DetailsView.cs: Removed some unneeded interfaces. Don't
4420         generate the field rows if there are no items in the data source.
4421         Don't get the current keys until the whole control has been
4422         bound.
4423
4424         * DetailsViewInsertedEventArgs.cs:
4425         * DataBoundControl.cs:  
4426         * ObjectDataSourceView.cs: Made some methods private.
4427         
4428         * MenuItemStyle.cs:
4429         * Menu.cs: Changed some properties from int to Unit.
4430         
4431         * DataControlButton.cs: javascript prefix is needed when raising
4432         the postback event from a link.
4433         
4434         * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
4435         The result was wrong when the total data source count was 0.
4436         
4437         * FormView.cs: Implemented.
4438         * FormViewRow.cs: Implemented.
4439         
4440         * Literal.cs:
4441         * Localize.cs: Fixed base interface.
4442         
4443         * BaseDataBoundControl.cs: In DataBind() call the base class
4444         DataBind method, so the binding context is properly set.
4445
4446 2005-04-15  Lluis Sanchez Gual <lluis@novell.com>
4447
4448         * DetailsView.cs: Added some null checks.
4449         * TemplateField.cs: Implemented support for two-way bindings.
4450
4451 2005-04-14  Lluis Sanchez Gual <lluis@novell.com>
4452
4453         * DetailsView.cs: Implemented support for Insert operation. 
4454         Added header and footer templates. Added missing style
4455         properties. 
4456         * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
4457         to get filter values. Other minor fixes.
4458         * CommandField.cs: Properly render the Insert and New buttons.
4459         * ObjectDataSource.cs: Update the parameter collections after
4460         the page is loaded. This will fire the ParameterChanged event
4461         if needed.
4462         * DataBoundControl.cs: The OnDataSourceViewChanged method
4463         is called when the view changes, not when the datasource
4464         changes.
4465         
4466         * DetailsViewInsertedEventArgs.cs:
4467         * DetailsViewInsertEventArgs.cs: Implement Values property.
4468         
4469         * ImageField.cs:
4470         * AutoGeneratedField.cs
4471         * BoundField.cs:
4472         * CheckBoxField.cs:
4473         Take into account the Insert mode.
4474         
4475         * ParameterCollection.cs: Implemented UpdateValues and fixed
4476         GetValues (values can't be cached because can change).
4477         * Parameter.cs: Detect value changes in GetValue, and fire
4478         the change event if needed. Removed unused ParameterValue
4479         property. Other fixes.
4480
4481 2005-04-08  Lluis Sanchez Gual <lluis@novell.com>
4482
4483         * DetailsView.cs: Initial implementation.
4484         * ObjectDataSourceView.cs: Notify changes in the parameters.
4485         * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
4486           DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
4487           Implemented some properties.
4488         * GridView.cs: Added null check in SelectedValue. Don't return null
4489           for empty DataKeyNames list.
4490         * DetailsViewRowCollection.cs: Implemented.
4491         * DetailsViewRow.cs: Implemented.
4492         * ButtonFieldBase.cs: By default button field don't have headers.
4493         * BoundField.cs: Don't bind header fields.        
4494
4495 2005-04-07  Lluis Sanchez Gual <lluis@novell.com>
4496
4497         * ButtonField.cs: Get data item properties using TypeDescriptor.
4498         Made OnDataBindField private.
4499         * ObjectDataSourceView.cs: Implemented support for Delete and
4500         Insert operations, support for filtering and sorting,
4501         conflict detection, etc. It's now complete.
4502         * ObjectDataSource.cs: Completed most of functionality. Only
4503         caching support is missing.
4504         * ObjectDataSourceFilteringEventHandler.cs: New event handler.
4505         * TreeNode.cs: Get data item properties using TypeDescriptor.
4506         * PagerSettings.cs: Flush.
4507         * ObjectDataSourceFilteringEventArgs.cs: New event args.
4508         * GridView.cs: Get data item properties using TypeDescriptor
4509         and cache them. Properly set descending order in the sort
4510         expression. In UpdateRow, make sure we get the old values
4511         before the control is bound again.
4512         * ImageField.cs: Implemented.
4513         * AutoGeneratedField.cs: Initialize the field's sort
4514         expression in the constructor.
4515         * MenuItem.cs: Get data item properties using TypeDescriptor.
4516         * BoundField.cs: Get data item properties using TypeDescriptor.
4517         * CheckBoxField.cs: Added missing attributes.
4518         * TemplateField.cs: Implemented.
4519
4520 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4521
4522         * UnitConverter.cs:
4523         * FontUnitConverter.cs: fixed ConvertTo to work with target
4524         InstanceDescriptor and value as a string.
4525
4526         * Unit.cs: culture might be null.
4527
4528         Fixes bug #74431.
4529
4530 2005-04-01  Lluis Sanchez Gual <lluis@novell.com>
4531
4532         * ButtonField.cs: Mostly implemented.
4533         * DataControlFieldHeaderCell.cs: Implemented.
4534         * ObjectDataSourceView.cs: Initial implementation.
4535         * DataControlButton.cs: Added support for real buttons.
4536         * Label.cs, DataControlField.cs: Flush.
4537         * ObjectDataSource.cs: Initial implementation.
4538         * HiddenField.cs: Added class stub.
4539         * GridView.cs: Load autogenerated field properties before
4540         creating the children, to make sure that column info is ready.
4541         * ControlParameter.cs: Implemented Evaluate method.
4542         * ImageField.cs: Added class stub.
4543         * BoundField.cs: Added HtmlEncode property.
4544         * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
4545         to its own file.
4546         * CheckBoxField.cs: Mostly implemented.
4547         * TemplateField.cs: Added class stub.
4548         * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
4549         * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
4550         * Parameter.cs: Added internal GetValue method (Evaluate is protected)
4551
4552 2005-03-23  Lluis Sanchez Gual <lluis@novell.com>
4553
4554         * DataControlField.cs: Added missing InsertVisible property.
4555         * AutoGeneratedFieldProperties.cs: Implemented.
4556         * PagerSettings.cs: Minor fix.
4557         * GridView.cs: Implemented support for autogenerated fields, templates,
4558         accessible headers. Implemented paging using PagedDataSource.
4559         Implemented missing overridable methods.
4560         * AutoGeneratedField.cs: Initial implementation.
4561         * BoundField.cs: Added ReadOnly property.
4562         * PagedDataSource.cs: Implemented 2.0 api.
4563         * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
4564         cell class to be used by accessible headers.
4565         * TableCell.cs: Removed unneded constructor. If the cell is bound to
4566         a template, call the default RenderContents method.
4567
4568 2005-03-16  Lluis Sanchez Gual  <lluis@novell.com>
4569
4570         * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
4571           event when loading the view state. Fixes #73746.
4572
4573 2005-03-16  Lluis Sanchez Gual <lluis@novell.com>
4574
4575         * ListControl.cs: Load selected indices in the right place. Fixes #73745.
4576
4577 2005-03-11  Lluis Sanchez Gual <lluis@novell.com>
4578
4579         * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
4580           correctly.
4581         * CommandField.cs: Mostly implemented.
4582         * Menu.cs: Use callback methods moved to ClientScriptManager.
4583         * DataControlButton.cs: Internal control used to implement buttons
4584           for navigating in data bound controls.
4585         * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
4586           to render the column headers.
4587         * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
4588           DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
4589           Don't use Page.GetPostBackClientEvent
4590           since it is deprecated in 2.0.
4591         * GridView.cs: Implemented some several interfaces.
4592           Implemented support client sorting and page navigation (using callbacks).
4593           Implemented the autogenerated command column using the new CommandField
4594           class.
4595         * ButtonFieldBase.cs: Implemented.
4596         * GridView.js: New helper script to support client side sorting and
4597           paging in the grid view.
4598
4599 2005-03-04  Lluis Sanchez Gual <lluis@novell.com>
4600
4601         * DataKey.cs: Implemented.
4602         * XmlDataSourceView.cs: Implemented support for row pagging.
4603         * Table.cs: Fixed attribute value.
4604         * DataControlField.cs: Added support for sorting headers.
4605         * ChildTable.cs: Created.
4606         * ListControl.cs: Delay selection assignment, since control state
4607         is now loaded before view state.
4608         * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
4609         GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
4610         several missing properties.
4611         * PagerSettings.cs: Fully implemented.
4612         * BaseDataList.cs: Added null check.
4613         * GridView.cs: Implemented more functionality.
4614         * BoundField.cs: Added support for cell editing.
4615         * StringArrayConverter.cs: Implemented.
4616         * DataKeyArray.cs: Implemented.
4617         * BaseDataBoundControl.cs: Reset the requires binding flag before
4618         executing the query. This avoids recursive query calls.
4619         * GridViewRow.cs: Handler commands raised from row childs.
4620
4621 2005-02-25  Lluis Sanchez Gual <lluis@novell.com>
4622
4623         * XmlDataSourceView.cs: ExecuteSelect now returns a list of
4624         XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
4625         it is possible to query for properties fore each data item.
4626         * Menu.cs, TreeView.cs: Make sure that objects are correctly created
4627         when loading its view state.
4628         * DataControlField.cs: Implement properties using a StateBag.
4629         * XmlDataSourcePropertyDescriptor.cs: Implemented.
4630         * PagerSettings.cs: Mostly implemented.
4631         * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
4632         * DataBoundControl.cs: Added null check.
4633         * GridView.cs: Initial implementation.
4634         * CompositeDataBoundControl.cs: Implemented.
4635         * BoundField.cs: Initial implementation.
4636         * GridViewRowCollection.cs: Initial implementation.
4637         * DataControlFieldCollection.cs: Initial implementation.
4638         * DataControlFieldCell.cs: Fixed control tag.
4639         * GridViewRow: Initial implementation.
4640         * XmlDataSourceNodeDescriptor.cs: Implemented.
4641
4642 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4643
4644         * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
4645         is zero, use the TagName no matter its value. Fixes bug #72415.
4646
4647 2005-02-18  Lluis Sanchez Gual <lluis@novell.com>
4648
4649         * Style.cs: Method name fix.
4650         * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
4651         * BaseCompareValidator.cs: Method signature fix.
4652         * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
4653         * BaseDataList.cs, Repeater.cs: Fixed data binding code.
4654         * BulletedList.cs: Added missing method.
4655         * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
4656
4657 2005-02-16  Lluis Sanchez Gual  <lluis@novell.com>
4658
4659         * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
4660         * RadioButton.cs: Added missing 2.0 methods.
4661         * ListItem.cs: Added Enabled property.
4662         * MailMessageEventArgs.cs: Use the correct message class.
4663         * ListControl.cs: Implemented missing properties and support for
4664         control state. Implemented base RenderContents method.
4665         * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
4666         properties.
4667         * BaseCompareValidator.cs: Implemented methods that support conditional
4668         use of the invariant culture.
4669         * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
4670         * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
4671         It takes a DbCommand instead of a IDbCommand.
4672         * GridViewSortEventArgs.cs: Added SortDirection property.
4673         * TextBox.cs, CheckBoxList.cs: Added protected version of
4674         IPostBackDataHandler methods.
4675         * RadioButtonList.cs: Added protected version of
4676         IPostBackDataHandler and IRepeatInfoUser methods.
4677         * Repeater.cs: Updated some method names.
4678         * DropDownList.cs:  Added protected version of
4679         IPostBackDataHandler methods. Reuse RenderContents from base class.
4680         * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
4681         * GridViewUpdatedEventArgs.cs: Fix typo.
4682         * ListBox.cs: Added protected version of IPostBackDataHandler methods.
4683         Reuse RenderContents from base class.
4684         * BaseDataBoundControl.cs: Several fixes.
4685         * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
4686
4687 2005-02-10  Lluis Sanchez Gual  <lluis@novell.com>
4688
4689         * CheckBoxList.cs: Fix build.
4690
4691 2005-02-10  Lluis Sanchez Gual <lluis@novell.com>
4692
4693         * Button.cs: Use validation group when validating page.
4694         * XmlDataSourceView.cs: Implemented ExecuteSelect.
4695         * Menu.cs: Minor fix.
4696         * CheckBox.cs: Added 2.0 properties and methods.
4697         * BaseDataList.cs: Always databind the control if view state
4698         is not enabled.
4699         * DataList.cs: In 2.0, use control state to save the selected index.
4700         * DetailsViewUpdatedEventArgs.cs: Fix typo.
4701         * CustomValidator.cs: Implement IStaticTextControl interface.
4702         * CheckBoxList.cs: Added missing 2.0 methods.
4703         * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
4704         interface.
4705         * XmlDataSource.cs: Return childs of DocumentElement, not the root
4706         document.
4707         * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
4708         Implemented 2.0 API.
4709         
4710
4711 2005-02-04  Lluis Sanchez Gual  <lluis@novell.com>
4712
4713         * Button.cs: Implemented all missing 2.0 features.
4714         * Table.cs: Render the table caption, when specified.
4715         * Calendar.cs: Implemented most of missing 2.0 features.
4716         * TableCell.cs: Fixed attributes.
4717
4718 2005-02-02  Lluis Sanchez Gual  <lluis@novell.com>
4719
4720         * ControlPropertyNameConverter.cs: Added file.
4721
4722 2005-02-02  Lluis Sanchez Gual <lluis@novell.com>
4723
4724         * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
4725         CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
4726         RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
4727         ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
4728         DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
4729         RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
4730         BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
4731         IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
4732         RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
4733         RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
4734         CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
4735         QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
4736         CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
4737         RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
4738         DataGridSortCommandEventArgs.cs, Repeater.cs,
4739         MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
4740         XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
4741         Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
4742         CompareValidator.cs, HierarchicalDataBoundControl.cs,
4743         EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs, 
4744         ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
4745         ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
4746         WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
4747         ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
4748         LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
4749         AdCreatedEventArgs.cs:
4750         
4751         General 2.0 API fixes: missing attributes, incorrect inheritance,
4752         missing sealed keywords, wrong signatures, etc.
4753
4754 2005-01-28  Lluis Sanchez Gual <lluis@novell.com>
4755
4756         * Table.cs: Added some 2.0 properties.
4757         * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
4758         InstanceDescriptor.
4759         * BaseValidator.cs: Fix warning.
4760         * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
4761
4762 2005-01-26  Lluis Sanchez Gual <lluis@novell.com>
4763
4764         * Menu.cs: Rendering fixes.
4765
4766 2005-01-21  Lluis Sanchez Gual <lluis@novell.com>
4767
4768         * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
4769         ContentPlaceHolderBuilder.cs: Implemented.
4770
4771 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4772
4773         * CheckBox.cs: when rendering the input tag inside a span tag, keep the
4774         attributes that are meant to be in the input tag in their place.
4775
4776 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
4777
4778         * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
4779         generates invalid html).
4780
4781 2005-01-10  Lluis Sanchez Gual <lluis@novell.com>
4782
4783         * Menu.cs: Implemented most of missing properties. Added support for
4784         item templates. Implemented menu scrolling.
4785         * MenuItemBinding.cs: Implemented most of missing properties.
4786         * MenuItem.cs: Implemented most of missing properties.
4787         * Menu.js: Implemented scrolling and menu reposition into screen.
4788         * MenuItemTemplateContainer.cs: Implemented.
4789         * SubMenuStyle.cs: Implemented.
4790
4791 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
4792
4793         * Style.cs: Implemented RegisteredCssClass property. Added
4794         CopyTextStylesFrom method, which copies styles that only apply to text.
4795         * Menu.cs, Menu.js: Added hover style support. Define all menu styles
4796         in the page stylesheet. Added support for ItemSpacing property.
4797         * MenuItemStyle.cs: Implemented FillStyleAttributes method.
4798         
4799 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
4800
4801         * Style.cs: Generate styles using a CssStyleCollection, so the code can
4802         be reused for the 2.0 FillStyleAttributes method.
4803         * Menu.cs: Implemented more properties and events. Rendering is very
4804         complete now.
4805         * MenuItem.cs: Added PopOutImageUrl property.
4806         * Menu.js: More work on submenu management.
4807
4808 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
4809
4810         * Menu.cs: Implemented basic rendering. Added some missing properties.
4811         * MenuItem.cs: Improved implementation of Depth.
4812         * Unit.cs: Added serializable attribute.
4813         * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
4814         so it can be reused.
4815         * Menu.js: New script to support he Menu control.
4816
4817 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
4818
4819         * MenuEventArgs.cs: Changed to sealed.
4820         * TreeView.cs: Minor fix.
4821         * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
4822         MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
4823         MenuItemStyleCollection.cs: Initial Menu code.
4824
4825 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
4826
4827         * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs: 
4828         Implemented SetDirtyObject.
4829         * Style.cs: Implemented SetDirty().
4830         * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
4831         * TreeNode.cs: Added missing attributes added support for
4832         PopulateOnDemand. Added some missing property bindings.
4833         * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
4834         to newly added elements to make sure al new data is saved.
4835         * TreeView.js: Implemented support for client population of nodes.
4836         * TreeNodeStyle.cs: Added missing attributes.
4837         * TreeView.cs: Implemented support for PopulateNodesFromClient and
4838         PopulateOnDemand. Improved rendering.
4839
4840 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
4841
4842         * DataControlField.cs:
4843         * DataControlFieldCell.cs: Initial implementation.
4844
4845 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
4846
4847         * TreeNodeBindingCollection.cs: Implemented.
4848         * TreeNodeBinding.cs: Implemented.
4849         * TreeNode.cs: Added support for data binding.
4850         * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
4851           TreeView_Default_NoExpand.gif: Moved to resources directory.
4852         * ListControl.cs: Fixed api.
4853         * XmlHierarchicalEnumerable.cs: Made internal.
4854         * DataBoundControl.cs: Modified api to match latest ms.net.
4855         * TreeView.js: New javascript file to support TreeView in the client.
4856         * XmlDataSource.cs: Added missing attributes.
4857         * HierarchicalDataBoundControl.cs: Mostly implemented.
4858         * BaseDataBoundControl.cs: Mostly implemented.
4859         * XmlHierarchyData.cs: Made internal.
4860         * TreeView.cs: Mostly implemented. The major missing feature is
4861           client side tree population.
4862
4863 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
4864
4865         * BaseDataList.cs: 
4866         * DataBountControl.cs:
4867         * Repeater.cs: Added SelectArguments property and updated.
4868         * SiteMapDataSourceView.cs:
4869         * SqlDataSourceView.cs:
4870         * XmlDataSourceView.cs: Removed extra method, which was there to
4871                                 keep things compiling.
4872
4873 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
4874
4875         * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
4876         TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
4877         TreeView.cs: Initial implementation.
4878         * DataBoundControl.cs: Set the correct base class.
4879         * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
4880         * TreeNodeSelectAction.cs: Formatting.
4881         * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
4882         TreeView_Default_NoExpand.gif: TreeView images.
4883
4884 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
4885
4886         * SqlDataSourceView.cs: Updated methods and added one property.
4887          
4888 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4889
4890         * AccessDataSource.cs: 
4891         * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.      
4892 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4893
4894         * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
4895         * SqlDataSourceView.cs: Updated constructor.
4896          
4897 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4898
4899         * AccessDataSourceView.cs: Added new class.
4900
4901 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4902
4903         * SqlDataSourceView.cs: Corrected exception handling in 
4904           ExecuteSelect method.
4905
4906 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
4907
4908         * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
4909         * SiteMapDataSourceView.cs: Minor fix.
4910
4911 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4912
4913         * SqlDataSourceView.cs: Updated ExecuteSelect method.
4914
4915 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4916
4917         * SqlDataSource.cs: Corrected Select method.
4918
4919 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4920
4921         * SqlDataSource.cs: Updated Select method definition.
4922         * SqlDataSourceStatusEventArgs.cs: Updated class.
4923          
4924 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
4925
4926         * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
4927         from DataSourceView.cs).
4928
4929 2004-11-10  Raja R Harinath  <rharinath@novell.com>
4930
4931         * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
4932
4933 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
4934         
4935         * SqlDataSource.cs: Corrected method calls.
4936         * SqlDataSourceView.cs: Partial implementation of few methods.
4937
4938 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4939
4940         * ListItemCollection.cs: fixed bug when indexing changed elements in
4941         LoadViewState. Patch from Alois BÄ›laÅ¡ka.
4942
4943 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
4944         
4945         * SiteMapDataSourceView.cs: 
4946         * SqlDataSourceView.cs:
4947         * XmlDataSourceView.cs: Cosmetic changes because of modifications in 
4948         base class, DataSourceView. Changes are to keep things compiling. 
4949
4950 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
4951         
4952         * SiteMapDataSourceView.cs: Corrected class definition and updated.
4953         * XmlHierarchicalDataSourceView.cs: Modified according to changes in 
4954           base class.
4955
4956 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
4957         
4958         * AdRotator.cs: Updated.
4959
4960 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
4961
4962         * AccessDataSource.cs: Updated.
4963
4964 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4965
4966         * ValidatedControlConverter.cs: Updated.
4967
4968 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4969
4970         * AssociatedControlConverter.cs: Implemented.
4971
4972 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4973
4974         * ControlIDConverter.cs: Initial implementation.
4975
4976 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4977
4978         * IButtonControl.cs: Corrected property name.
4979
4980 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4981
4982         * ParameterCollection.cs: Updated.
4983
4984 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4985
4986         * Parameter.cs: Updated and completed implementation.
4987
4988 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
4989
4990         * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
4991           while compilation.
4992
4993 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
4994
4995         * AccessDataSource.cs: Initial implementation.
4996
4997 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
4998
4999         * DataControlRowState.cs: 
5000         * ScrollBars.cs:
5001         * TreeNodeTypes.cs: Added attribute.
5002         * DataControlRowType.cs:
5003         * HotSpotMode.cs:
5004         * SortDirection.cs: Corrected enumeration values.
5005         * TableRowSection.cs: Added new enumeration.
5006         * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
5007
5008 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5009
5010         * TableStyle.cs: don't render empty 'rules' attribute (again).
5011
5012 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
5013
5014         * FormViewUpdatedEventArgs.cs: Spelling mistake.
5015
5016 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
5017         
5018         * Literal.cs: Added new method Focus().
5019
5020 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5021
5022         * RadioButton.cs: fix GroupName when the control is inside a
5023         NamingContainer different from Page. Closes bug #65586.
5024
5025 2004-09-07  Sanjay Gupta <gsanjay@novell.com>
5026         
5027         * Localize.cs: Added new class.
5028
5029 2004-09-03  Gaurav Vaish <gvaish_mono AT lycos.com>
5030
5031         * CompositeControl.cs  : Completed
5032         * Login.cs             : Initial implementation.
5033
5034 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5035
5036         * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
5037         don't call MapPathSecure on the content itself.
5038         
5039         * XmlBuilder.cs: handle XML documents written inside asp:xml. The
5040         document is checked at parse time and will be checked again at run time.
5041
5042         Fixes bug #63828.
5043
5044 2004-08-31  Sanjay Gupta <gsanjay@novell.com>
5045
5046         * AuthenticateEventHandler.cs: 
5047         * CreateUserErrorEventArgs.cs:
5048         * CreateUserErrorEventHandler.cs:
5049         * DetailsViewCommandEventHandler.cs:
5050         * DetailsViewDeleteEventArgs.cs:
5051         * DetailsViewDeleteEventHandler.cs:
5052         * DetailsViewDeletedEventArgs.cs:
5053         * DetailsViewDeletedEventHandler.cs:
5054         * DetailsViewInsertEventArgs.cs:
5055         * DetailsViewInsertEventHandler.cs:
5056         * DetailsViewInsertedEventArgs.cs:
5057         * DetailsViewInsertedEventHandler.cs:
5058         * DetailsViewModeEventArgs.cs:
5059         * DetailsViewModeEventHandler.cs:
5060         * DetailsViewPageEventHandler.cs:
5061         * DetailsViewUpdateEventArgs.cs:
5062         * DetailsViewUpdateEventHandler.cs:
5063         * DetailsViewUpdatedEventArgs.cs:
5064         * DetailsViewUpdatedEventHandler.cs:
5065         * FormViewCommandEventHandler.cs:
5066         * FormViewDeleteEventArgs.cs:
5067         * FormViewDeleteEventHandler.cs:
5068         * FormViewDeletedEventArgs.cs:
5069         * FormViewDeletedEventHandler.cs:
5070         * FormViewInsertEventArgs.cs:
5071         * FormViewInsertEventHandler.cs:
5072         * FormViewInsertedEventArgs.cs:
5073         * FormViewInsertedEventHandler.cs:
5074         * FormViewModeEventHandler.cs:
5075         * FormViewPageEventHandler.cs:
5076         * FormViewUpdateEventArgs.cs:
5077         * FormViewUpdateEventHandler.cs:
5078         * FormViewUpdatedEventArgs.cs:
5079         * FormViewUpdatedEventHandler.cs:
5080         * GridViewCancelEditEventArgs.cs:
5081         * GridViewCancelEditEventHandler.cs:
5082         * GridViewCommandEventHandler.cs:
5083         * GridViewDeleteEventArgs.cs:
5084         * GridViewDeleteEventHandler.cs:
5085         * GridViewDeletedEventArgs.cs:
5086         * GridViewDeletedEventHandler.cs:
5087         * GridViewEditEventHandler.cs:
5088         * GridViewPageEventHandler.cs:
5089         * GridViewRowEventHandler.cs:
5090         * GridViewSelectEventHandler.cs:
5091         * GridViewSortEventArgs.cs:
5092         * GridViewSortEventHandler.cs:
5093         * GridViewUpdateEventArgs.cs:
5094         * GridViewUpdateEventHandler.cs:
5095         * GridViewUpdatedEventArgs.cs:
5096         * GridViewUpdatedEventHandler.cs:
5097         * ImageMapEventHandler.cs:
5098         * MailMessageEventHandler.cs:
5099         * MenuEventHandler.cs:
5100         * ObjectDataSourceDisposingEventHandler.cs:
5101         * ObjectDataSourceEventHandler.cs:
5102         * ObjectDataSourceMethodEventArgs.cs:
5103         * ObjectDataSourceMethodEventHandler.cs:
5104         * ObjectDataSourceSelectingEventArgs.cs:
5105         * ObjectDataSourceSelectingEventHandler.cs:
5106         * ObjectDataSourceStatusEventArgs.cs:
5107         * ObjectDataSourceStatusEventHandler.cs:
5108         * SendMailErrorEventHandler.cs:
5109         * SiteMapNodeItemEventHandler.cs:
5110         * SqlDataSourceSelectingEventArgs.cs:
5111         * SqlDataSourceSelectingEventHandler.cs:
5112         * TreeNodeEventHandler.cs:
5113         * WizardNavigationEventArgs.cs:
5114         * WizardNavigationEventHandler.cs: Minor modifications, compiler error
5115         corrections and removing "sealed" access specifier from *EventHandler.cs
5116
5117 2004-08-18  Sanjay Gupta <gsanjay@novell.com>
5118
5119         * Literal.cs: Added new attributes and property for .Net 2.0
5120
5121 2004-08-13  Sanjay Gupta <gsanjay@novell.com>
5122
5123         * GridViewDeleteEventArgs.cs: Removed extra code.
5124
5125 2004-08-12  Sanjay Gupta <gsanjay@novell.com>
5126
5127         * SendMailErrorEventArgs.cs:
5128         * SendMailErrorEventHandler.cs:
5129         * SiteMapNodeItemEventArgs.cs:
5130         * SiteMapNodeItemEventHandler.cs:
5131         * SqlDataSourceSelectingEventArgs.cs:
5132         * SqlDataSourceSelectingEventHandler.cs:
5133         * TreeNodeEventArgs.cs:
5134         * TreeNodeEventHandler.cs:
5135         * WizardNavigationEventArgs.cs:
5136         * WizardNavigationEventHandler.cs: Added new delegates.
5137
5138 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
5139
5140         * ImageMapEventArgs.cs:
5141         * ImageMapEventHandler.cs:
5142         * MailMessageEventArgs.cs:
5143         * MailMessageEventHandler.cs:
5144         * MenuEventArgs.cs:
5145         * MenuEventHandler.cs:
5146         * ObjectDataSourceDisposingEventArgs.cs:
5147         * ObjectDataSourceDisposingEventHandler.cs:
5148         * ObjectDataSourceEventArgs.cs:
5149         * ObjectDataSourceEventHandler.cs:
5150         * ObjectDataSourceMethodEventArgs.cs:
5151         * ObjectDataSourceMethodEventHandler.cs:
5152         * ObjectDataSourceSelectingEventArgs.cs:
5153         * ObjectDataSourceSelectingEventHandler.cs:
5154         * ObjectDataSourceStatusEventArgs.cs:
5155         * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
5156
5157 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
5158
5159         * DetailsViewCommandEventArgs.cs:
5160         * FormViewCommandEventArgs.cs:
5161         * GridViewCommandEventArgs.cs: Corrected constructor.
5162
5163 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
5164
5165         * GridViewCancelEditEventArgs.cs:
5166         * GridViewCancelEditEventHandler.cs:
5167         * GridViewCommandEventArgs.cs:
5168         * GridViewCommandEventHandler.cs:
5169         * GridViewDeletedEventArgs.cs:
5170         * GridViewDeletedEventHandler.cs:
5171         * GridViewDeleteEventArgs.cs:
5172         * GridViewDeleteEventHandler.cs:
5173         * GridViewEditEventArgs.cs:
5174         * GridViewEditEventHandler.cs:
5175         * GridViewPageEventArgs.cs:
5176         * GridViewPageEventHandler.cs:
5177         * GridViewRowEventArgs.cs:
5178         * GridViewRowEventHandler.cs:
5179         * GridViewSelectEventArgs.cs:
5180         * GridViewSelectEventHandler.cs:
5181         * GridViewSortEventArgs.cs:
5182         * GridViewSortEventHandler.cs:
5183         * GridViewUpdatedEventArgs.cs:
5184         * GridViewUpdatedEventHandler.cs:
5185         * GridViewUpdateEventArgs.cs:
5186         * GridViewUpdateEventHandler.cs: Added new delegates.
5187
5188 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
5189
5190         * FormViewUpdatedEventArgs.cs: Corrected constructor.
5191
5192 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
5193
5194         * FormViewCommandEventArgs.cs: Corrected name of class.
5195
5196 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5197
5198         * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
5199         bug #62726.
5200
5201 2004-08-10  Sanjay Gupta <gsanjay@novell.com>
5202
5203         * FormViewCommandEventArgs.cs:
5204         * FormViewCommandEventHandler.cs:
5205         * FormViewDeletedEventArgs.cs:
5206         * FormViewDeletedEventHandler.cs:
5207         * FormViewDeleteEventArgs.cs:
5208         * FormViewDeleteEventHandler.cs:
5209         * FormViewInsertedEventArgs.cs:
5210         * FormViewInsertedEventHandler.cs:
5211         * FormViewInsertEventArgs.cs:
5212         * FormViewInsertEventHandler.cs:
5213         * FormViewModeEventArgs.cs:
5214         * FormViewModeEventHandler.cs:
5215         * FormViewPageEventArgs.cs:
5216         * FormViewPageEventHandler.cs:
5217         * FormViewUpdatedEventArgs.cs:
5218         * FormViewUpdatedEventHandler.cs:
5219         * FormViewUpdateEventArgs.cs:
5220         * FormViewUpdateEventHandler.cs: Added new delegates.
5221
5222 2004-08-10  Sanjay Gupta <gsanjay@novell.com>
5223
5224         * DetailsViewCommandEventArgs.cs:
5225         * DetailsViewCommandEventHandler.cs:
5226         * DetailsViewDeletedEventArgs.cs:
5227         * DetailsViewDeletedEventHandler.cs:
5228         * DetailsViewDeleteEventArgs.cs:
5229         * DetailsViewDeleteEventHandler.cs:
5230         * DetailsViewInsertedEventArgs.cs:
5231         * DetailsViewInsertedEventHandler.cs:
5232         * DetailsViewInsertEventArgs.cs:
5233         * DetailsViewInsertEventHandler.cs:
5234         * DetailsViewModeEventArgs.cs:
5235         * DetailsViewModeEventHandler.cs:
5236         * DetailsViewPageEventArgs.cs:
5237         * DetailsViewPageEventHandler.cs:
5238         * DetailsViewUpdatedEventArgs.cs:
5239         * DetailsViewUpdatedEventHandler.cs:
5240         * DetailsViewUpdateEventArgs.cs:
5241         * DetailsViewUpdateEventHandler.cs: Added new delegates.
5242
5243 2004-08-09  Sanjay Gupta <gsanjay@novell.com>
5244
5245         * AuthenticateEventArgs.cs:
5246         * AuthenticateEventHandler.cs:
5247         * CreateUserErrorEventArgs.cs:
5248         * CreateUserErrorEventHandler.cs: Added new delegates.
5249
5250 2004-08-05  Sanjay Gupta <gsanjay@novell.com>
5251
5252         * IButtonControl.cs:
5253         * ICallbackContainer.cs:
5254         * ICompositeControlDesignerAccessor.cs:
5255         * IPostBackContainer.cs: Added new interfaces.
5256
5257 2004-08-03  Sanjay Gupta <gsanjay@novell.com>
5258
5259         * AdType.cs:
5260         * AutoCompleteType.cs:
5261         * ContentDirection.cs:
5262         * DataControlCellType.cs:
5263         * DataControlRowState.cs:
5264         * DataControlRowType.cs:
5265         * DetailsViewMode.cs:
5266         * DynamicImageParameterMode.cs:
5267         * FormViewMode.cs:
5268         * HotSpotMode.cs:
5269         * ImageFieldMode.cs:
5270         * LiteralMode.cs:
5271         * LogoutAction.cs:
5272         * Orientation.cs:
5273         * PagerButtons.cs:
5274         * PathDirection.cs:
5275         * ScrollBars.cs:
5276         * SiteMapNodeItemType.cs:
5277         * SiteMapNodeType.cs:
5278         * SiteMapViewType.cs:
5279         * SortDirection.cs:
5280         * TableCaptionAlign.cs:
5281         * TableHeaderScope.cs:
5282         * TableViewMode.cs:
5283         * TreeNodeSelectAction.cs:
5284         * TreeNodeTypes.cs:
5285         * TreeViewImageSet.cs:
5286         * WizardStepType.cs: Added enumerations
5287
5288 2004-08-02  Duncan Mak  <duncan@ximian.com>
5289
5290         * ButtonType.cs:
5291         * LoginFailureAction.cs:
5292         * LoginTextLayout.cs: Added enumerations.
5293
5294 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5295
5296         * BaseValidator.cs: in Validate(), when the control is not visible or
5297         enabled, return inmediately after setting IsValid to true. Fixes bug
5298         #61831.
5299
5300 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5301
5302         * DataList.cs: s/HasChildren/HasControls()/.
5303
5304 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5305
5306         * DataList.cs: style.
5307
5308 2004-07-27 Alon Gazit <along@mainsoft.com>
5309         * DataList.cs: Replaced foreach statement with for statement, 
5310         in order to improve performence.
5311
5312 2004-07-27 Alon Gazit <along@mainsoft.com>
5313         * WebControl.cs: changed RenderBeginTag()to use TagKey instead of 
5314         TagName.
5315         * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use 
5316         switch statements in order to improve performance.
5317
5318 2004-06-10 Alon Gazit <along@mainsoft.com>
5319         * WebControl.cs: fixed LoadViewState(). 
5320         Creates new attributes state bag only when the current is null.
5321
5322 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5323
5324         * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
5325
5326 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5327
5328         * Calendar.cs: set the title class attribute if we have it. Fixes bug
5329         53671.
5330
5331 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5332
5333         * Style.cs: added SetBit.
5334
5335 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5336
5337         * Calendar.cs:
5338         * CompareValidator.cs:
5339         * ImageButton.cs:
5340         * Style.cs:
5341         * WebControl.cs: Added protected missing members and attributes.
5342
5343 2004-05-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5344
5345         * TextBox.cs: don't save the Text if in ViewState if it's a password.
5346         Save it if the control is not visible or not enabled. Fixes bug #58497.
5347
5348 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5349
5350         * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
5351         Fixes bug #58097.
5352
5353 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
5354         * Parameter.cs: 
5355         * SqlDataSourceCommandEventArgs:
5356         * XmlDataSource.cs : removed temporary workarounds for CLS 
5357         compliance as System.Data is now CLS compliant
5358
5359 2004-05-06 Alon Gazit <along@mainsoft.com>
5360         * WebControl.cs: fixed LoadViewState() and SaveViewState(). 
5361         Before the change the Enabled property wasn't updated when a postback
5362         event was raised.
5363         * ListControl.cs: fixed SelectedIndex property implementation.
5364         Prevents throwing ArgumentOutOfRangeException (that should not be
5365         thrown), when the list is empty.
5366
5367 2004-04-28 Alon Gazit <along@mainsoft.com>
5368         * WebControl.cs: fixed LoadViewState(). 
5369         Always loading the saved attributes collection.
5370
5371 2004-04-18 Alon Gazit <along@mainsoft.com>
5372         * Repeater.cs: fixed InstantiateItem() and DataSource property.
5373         The change in DataSource prevents throwing ArgumentException while
5374         setting property value to null.
5375         The change in InstantiateItem() prevents NullReferenceException.
5376
5377 2004-04-07  Lluis Sanchez Gual <lluis@ximian.com>
5378
5379         * BaseValidator.cs: Store Display property in the correct ViewState
5380         property. Don't render anything if Display is ValidatorDisplay.None.
5381
5382 2004-03-30  Lluis Sanchez Gual <lluis@ximian.com>
5383
5384         * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
5385           since it is already a physical path. Fixes bug #55334.
5386
5387 2004-02-13  Jackson Harper  <jackson@ximian.com>
5388
5389         * Calendar.cs: Match MS postback data. This allows sites that
5390         parse the postback data manually to work.
5391         
5392 2004-02-04 Alon Gazit <along@mainsoft.com>
5393         * EditCommandColumn.cs: fixed InitializeCell().
5394         The rendered LiteralControl should contain "&nbsp;" and not " ".
5395
5396 2004-02-01 Alon Gazit <along@mainsoft.com>
5397
5398         * DataGrid.cs: fixed a problem in the paging mechanism in the method
5399         InitializePager().
5400         the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
5401         while clicking the "..." link in the second page.
5402
5403 2004-01-28 Alon Gazit <along@mainsoft.com>
5404
5405         * Calendar.cs: prevent NullReferenceException in RenderAllDays().
5406
5407 2004-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5408
5409         * Calendar.cs: when rendering days, add a LiteralControl containing the
5410         day before OnDayRender is called. Only generate the default links for
5411         days when IsSelectable is true after OnDayRender. Fixes bug #53372.
5412
5413 2004-01-21  Martin Baulig  <martin@ximian.com>
5414
5415         * XmlHierarchyData.cs: Make this compile with csc.
5416
5417         * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
5418         accessor since the base class doesn't have one.
5419
5420 2004-01-18 Alon Gazit <along@mainsoft.com>
5421
5422         * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
5423         
5424 2004-01-18 Alon Gazit <along@mainsoft.com>
5425
5426         * Style.cs: CopyFrom method shouldn't copy a value that is equal to
5427         Property default value.
5428         * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to 
5429         Property default value. 
5430
5431 2004-01-15 Alon Gazit <along@mainsoft.com>
5432
5433         * RadioButtonList.cs: RepeatLayout property should affect the rendered
5434         html.   
5435
5436 2004-01-15 Alon Gazit <along@mainsoft.com>
5437         * FontInfo.cs: Add validation check to Size property.   
5438
5439 2004-01-07 Alon Gazit <along@mainsoft.com>
5440         * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
5441         merge the column's style to the cell's style and not to
5442         the item's(row) style.  
5443
5444 2004-01-04 Alon Gazit <along@mainsoft.com>
5445         * RangeValidator.cs: Fixed ControlPropertiesValid().
5446         
5447 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5448
5449         * Xml.cs: mono-stylized and removed warnings.
5450
5451 2004-1-1 Alon Gazit <along@mainsoft.com>
5452         * RadioButtonList.cs: update RenderItem() so that each RadioButton
5453         is enabled or disabled like the RadioButtonList.
5454         * CheckBoxList.cs: update RenderItem() so that each CheckBox
5455         is enabled or disabled like the CheckBoxList.   
5456
5457 2004-1-1 Alon Gazit <along@mainsoft.com>
5458         * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
5459         The Header or Footer Style shouldn't merge with the cells Style.                 
5460         
5461 2004-1-1 Alon Gazit <along@mainsoft.com>
5462         * DataGridColumn.cs: Headers and Footers are initialized  
5463         with the relevant Style object.  
5464
5465 2003-12-30 Alon Gazit <along@mainsoft.com>
5466         * RepeatInfo.cs: Fixed DoVerticalRendering () and 
5467         DoHorizontalRendering().
5468         Current implementation produces few extra html tags.
5469            
5470 2003-12-29  Alon Gazit <along@mainsoft.com>
5471
5472         * CheckBox.cs: change the implementation of LoadPostData. 
5473         Currently, while the AutoPostBack property equals true ,
5474         it isn't possible to perform uncheck.
5475
5476 2003-12-19  Jackson Harper <jackson@ximian.com>
5477
5478         * TableCell.cs: Setting a cells text should clear its control
5479         collection as per la specification. This fixes bug #51825.
5480         
5481 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5482
5483         * DataGridColumn.cs: stylized LoadViewState.
5484         * DataGridColumnCollection.cs: when TrackViewState is called, also
5485         call it on all the existing columns. Fixes bug #52334.
5486
5487 2003-12-18  Alon Gazit <along@mainsoft.com>
5488
5489         * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style 
5490         is empty.
5491
5492 2003-12-18  Alon Gazit <along@mainsoft.com>
5493
5494         * TableStyle.cs: merge TableStyle properties when Style is empty.
5495
5496 2003-12-16  Alon Gazit <along@mainsoft.com>
5497
5498         * HyperLink.cs: Change Text property implementation. in MS when the Text
5499         property is set, all the controls in the HyperLink are being deleted. 
5500         This fixes bug #52239.   
5501
5502 2003-12-15  Alon Gazit <along@mainsoft.com>
5503         * RepeatInfo.cs: Fixed DoVerticalRendering () and 
5504         DoHorizontalRendering().
5505         Both methods add additional empty table row in the head of each item
5506         table when the variable named isTable equals true (happenes with the
5507         default instantiation of RepeatInfo). These additional rows should be
5508         added when isTable equals false.
5509         This fixes bug #52225.   
5510
5511 2003-12-15  Alon Gazit <along@mainsoft.com>
5512
5513         * RepeatInfo.cs: Fixed DoVerticalRendering() and
5514         DoHorizontalRendering().
5515         Both methods add to rendered Header a colspan attribute according to the
5516         rows count. after the change the colspan is added according to the
5517         columns count.   
5518
5519 2003-12-15  Alon Gazit <along@mainsoft.com>
5520         * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
5521         In .NET if the checkbox is disabled ,its text appears disabled too.
5522         In Mono the text appears enabled. the fix is in Render().
5523         This fixes bug #52180.
5524
5525 2003-12-15  Alon Gazit <along@mainsoft.com>
5526         * Repeater.cs: Change the implementation of CreateControlHierarchy().
5527         The current implementation renders extra Header and footer 
5528         without Repeater.DataSource assign. 
5529         This fixes bug #52179.
5530
5531 2003-12-15  Alon Gazit <along@mainsoft.com>
5532         * DataGrid.cs: Change the implementation of the property 
5533         BackImageUrl. The current implementation has no influence 
5534         on the rendered Html.
5535
5536 2003-12-15  Alon Gazit <along@mainsoft.com>
5537         * WebControl.cs: Change the implementation of the property 
5538         Enabled. Before the change the WebControl also looked at 
5539         parent.Enabled . fixed bug #52171.
5540
5541 2003-12-11  Jackson Harper <jackson@ximian.com>
5542
5543         * RepeatInfo.cs: When rendering vertically figure out how many
5544         colmns are not going to be filled in in the last row, and adjust
5545         things accordingly. This fixes bug #51863.
5546         
5547 2003-12-10  Alon Gazit <along@mainsoft.com>
5548         * TableRow.cs: Change the implementation of the properties 
5549         HorizontalAlign and  VerticalAlign. The current implementation      
5550         has no influence on the rendered Html.
5551
5552 2003-12-10  Alon Gazit <along@mainsoft.com>
5553         * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
5554         property's set method.
5555         
5556 2003-12-09  Jackson Harper <jackson@ximian.com>
5557
5558         * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
5559         Increment counter when moving to start. Fixes bug #51926.
5560         
5561 2003-12-08  Jackson Harper <jackson@ximian.com>
5562
5563         * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
5564         Benjamin Jemlich. Fixes bug #51823.
5565         
5566 2003-12-07  Alon Gazit <along@mainsoft.com>
5567         * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
5568         property is set to false. Fixes bug #58120.
5569         
5570 2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5571
5572         * TableItemStyle.cs: merge TableItemStyle properties when Style is
5573         empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
5574
5575 2003-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5576
5577         * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
5578         #51648.
5579
5580 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5581
5582         * WebControl.cs: don't create the attributes when GetAttribute is
5583         called.
5584
5585 2003-12-01  Jackson Harper <jackson@ximian.com>
5586
5587         * WebControl.cs: Only allow access keys to be null or a single
5588         char. Patch by Alon Gazit <along@mainsoft.com>.
5589         
5590 2003-11-30  Jackson Harper <jackson@ximian.com>
5591
5592         * CheckBoxList.cs: A checkbox will have null post data if it is
5593         unselected. This fixes bug #51516.
5594         
5595 2003-11-29  Jackson Harper <jackson@ximian.com>
5596
5597         * DataGrid.cs: Display paging controls even when there is no
5598         data. Path by Mohammad DAMT. Fixes bug #51487.
5599         
5600 2003-11-29  Jackson Harper <jackson@ximian.com>
5601
5602         * DataGrid.cs: Call TrackViewState when loading bound columns view
5603         state. So that their state is saved. This fixes bug #51424. Also
5604         set ReadOnly.
5605         
5606 2003-11-26  Jackson Harper <jackson@ximian.com>
5607
5608         * BaseDataList.cs: Change && to || We will call that a typo so no
5609         one gets embarrased.
5610         
5611 2003-11-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5612
5613         * BaseDataList.cs: allow setting null as Datasource.
5614
5615         * DataGrid.cs: keep autogenerated columns in the ViewState.
5616
5617         Patches by Alon Gazit <along@mainsoft.com>.
5618
5619 2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
5620
5621         * SqlDataSource*: Implement almost everything. Data access is
5622         still missing.
5623
5624 2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
5625
5626         * Calendar.cs (SaveViewState):
5627             - We were allocating a 11 item array, we only used 10 items,
5628               so only allocate 10.
5629             - We only need to save the selected dates if there are any.
5630         * DataGrid.cs (SaveViewState):
5631         * DataGridColumn.cs (SaveViewState):
5632         * DataGridColumnCollection.cs (SaveViewState):
5633             - Only return the array if there is anything in it
5634         * Style.cs (SaveViewState):
5635             - Only save the bits if there were changes.
5636         * WebControl.cs (SaveViewState), (LoadViewState):
5637             - Don't save Enabled into the viewstate here, we already
5638               do it in the property. This just caused *EVERY* control
5639               to have a non-null state, taking up lots of extra room
5640               in the ViewState.
5641             - The style will always be created with this control's
5642               viewstate, so the style will always return null for the
5643               viewstate. As such, we do not need to store it. We can
5644               also reduce the triplet to a pair because of this.
5645
5646 2003-11-22  Jackson Harper <jackson@ximian.com>
5647
5648         * ValidationSummary.cs: Fix number of messages and message array computation.
5649
5650 2003-11-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5651
5652         * Xml.cs: Corrected attribute
5653         * XmlBuilder.cs: Added
5654
5655 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5656
5657         * Xml.cs: class status based fixes.
5658
5659 2003-11-19  Jackson Harper  <jackson@ximian.com>
5660
5661         * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
5662         
5663 2003-11-19  Jackson Harper  <jackson@ximian.com>
5664
5665         * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
5666         teh applications base directory. This fixes bug #51092.
5667         
5668 2003-11-18  Todd Berman  <tberman@gentoo.org>
5669
5670         * ControlParameter.cs:
5671         * CookieParameter.cs:
5672         * FormParameter.cs:
5673         * QueryStringParameter.cs:
5674         * SessionParameter.cs: added public .ctor ()
5675         * Parameter.cs: added public .ctor (), internal SetOwnerCollection
5676         and handling, as well as internal ParameterValue for easy access.
5677         NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
5678         * ParameterCollection.cs: implementation redux.
5679
5680 2003-11-18  Todd Berman  <tberman@gentoo.org>
5681
5682         * ParameterCollection.cs: Implemented
5683         * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
5684         ToString () now matches asp.net
5685
5686 2003-11-17 Ben Maurer  <bmaurer@users.sourceforge.net>
5687
5688         * ControlParameter.cs:
5689         * CookieParameter.cs:
5690         * FormParameter.cs:
5691         * Parameter.cs:
5692         * QueryStringParameter.cs: New v2 files. Mostly
5693         implemented, still need a few methods.
5694
5695 2003-11-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5696
5697         * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
5698         Gazit <along@mainsoft.com>.
5699
5700 2003-11-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5701
5702         * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
5703         Patch by Alon Gazit <along@mainsoft.com>.
5704
5705 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
5706
5707         * DataBoundControl.cs: Implement 
5708         * ListControl.cs: inherit from the above.
5709         * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
5710
5711 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
5712
5713         * BaseDataList.cs:
5714         * DataGrid.cs:
5715         * DataList.cs:
5716         * Repeater.cs: add v2 databinding stuff
5717         * XmlDataSource.cs: make it load the xml.
5718
5719 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
5720
5721         * XmlDataSource.cs:
5722         * XmlDataSourceView.cs:
5723         * XmlHierarchicalDataSourceView.cs:
5724         * XmlHierarchicalEnumerable.cs:
5725         * XmlHierarchyData.cs: Implement
5726
5727 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
5728
5729         * SiteMapDataSourceView.cs: Implement.
5730
5731 2003-11-07 Jackson Harper <jackson@ximian.com>
5732
5733         * ImageButton.cs: This is a workaround for bug #49819. It appears
5734         that the .x and .y values are not being posted, and only the x
5735         value is being posted with the ctrl's id as the key.
5736         
5737 2003-11-07 Jackson Harper <jackson@ximian.com>
5738
5739         * DataGrid.cs (CreateControlHierarchy): Current page index is
5740         alolowed to equal page count. This prevents an exception being
5741         thrown when both are zero.
5742         
5743 2003-11-06 Jackson Harper <jackson@ximian.com>
5744
5745         * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
5746         * BaseValidator.cs: Disable base control so the isValid flag is
5747         not reset.
5748         
5749 2003-11-03 Jackson Harper <jackson@ximian.com>
5750
5751         * TemplateColumn.cs: Use the same renderer for selected items as
5752         normal items. This fixes bug #49744.
5753         
5754 2003-11-03 Jackson Harper <jackson@ximian.com>
5755
5756         * DataList.cs:
5757         * WebControl.cs: Fix argument out of range exceptions on
5758         properties. Patch by Yaron Shkop.
5759         
5760 2003-11-03 Jackson Harper <jackson@ximian.com>
5761
5762         * TemplateColumn.cs: If the item is selected but there is no
5763         editItemTemplate use the itemTemplate. This matches MS behvoir.
5764         
5765 2003-11-03 Jackson Harper <jackson@ximian.com>
5766
5767         * Repeater.cs: Always set alternating items to the AlternatingItem
5768         type, when instantiating alternating items use the itemTemplate if
5769         the alternatingItem template is null. This matches MS behavoir and
5770         fixes bug #50157.
5771         
5772 2003-11-03 Jackson Harper <jackson@ximian.com>
5773
5774         * DataGridPagerStyle.cs: Name of view state attribute is
5775         PagerVisible not Visible. Call owner.OnPagerChanged when the pager
5776         visibility is changed. Patch by Yaron Shkop.
5777         
5778 2003-11-03 Jackson Harper <jackson@ximian.com>
5779
5780         * RepeatInfo.cs: When doing horizontal rendering use the repeat
5781         columns as the number of columns in a row. This fixes bug #49016.
5782         
5783 2003-11-03 Jackson Harper <jackson@ximian.com>
5784
5785         * PagedDataSource.cs (PageCount): Return page count of 1 if there
5786         paging is disabled. Patch by Yaron Shkop.
5787         * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
5788         * TableStyle.cs (AddAttributesToRender): Render border style
5789         collapse. Patch by Yaron Shkop.
5790         * TableStyle.cs:
5791         * TableItemStyle.cs:
5792         * DataGridPagerStyle.cs: Call base copy and merge even if style is of
5793         the wrong type. Patch by Yaron Shkop.   
5794         
5795 2003-11-03 Jackson Harper <jackson@ximian.com>
5796
5797         * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
5798         
5799 2003-11-02 Ben Maurer  <bmaurer@users.sourceforge.net>
5800
5801         * BulletStyle.cs:
5802         * BulletedListDisplayMode.cs:
5803         * BulletedListEventHandler.cs:
5804         * BulletedList.cs:
5805         * BulletedListEventArgs.cs: V2 controls (yay!)
5806
5807 2003-10-30 Jackson Harper <jackson@ximian.com>
5808
5809         * Repeater.cs: Throw an exception if the datasource is set to
5810         something that does not implement either IListSource or
5811         IEnumerable. This fixes bug #50155.
5812         
5813 2003-10-30 Jackson Harper <jackson@ximian.com>
5814
5815         * DataGridPagerStyle.cs: Do not allow page button counts to be set
5816         to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
5817         
5818 2003-10-29 Jackson Harper <jackson@ximian.com>
5819
5820         * ButtonColumn.cs: Format string and text to format were
5821         inversed. This fixes bug #50171.
5822         
5823 2003-10-29 Jackson Harper <jackson@ximian.com>
5824
5825         * DataGridColumn.cs: If an item style is set apply it to the
5826         cell. This fixes bug #50173.
5827         
5828 2003-10-29 Ben Maurer  <bmaurer@users.sourceforge.net>
5829
5830         * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
5831         old debugging value.
5832
5833 2003-10-29 Jackson Harper <jackson@ximian.com>
5834
5835         * PagedDataSource.cs:
5836         * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
5837         end of the last page. Fixes bug #5085.
5838         
5839 2003-10-29 Jackson Harper <jackson@ximian.com>
5840
5841         * CheckBox.cs: Do not change the status of a checkbox when there
5842         is no post data. This fixes bug #49091.
5843         * CheckBoxList.cs: Do not change the status of the checkboxes when
5844         there is no post data. This fixes bug #49093.
5845         
5846 2003-10-26 Ben Maurer  <bmaurer@users.sourceforge.net>
5847
5848         * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
5849         RadioButton. Fixes #50132
5850
5851 2003-10-25 Ben Maurer  <bmaurer@users.sourceforge.net>
5852
5853         * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
5854         paging from working. Fixes #48814.
5855
5856 2003-10-25 Ben Maurer  <bmaurer@users.sourceforge.net>
5857
5858         * DataGrid.cs: A few typos kept us from viewing datagrids
5859         that were based on customized collections.
5860
5861 2003-10-24 Ben Maurer  <bmaurer@users.sourceforge.net>
5862
5863         * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
5864
5865 2003-10-23 Ben Maurer  <bmaurer@users.sourceforge.net>
5866
5867         * Calendar.cs: render the next month button so that aligns to the
5868         right.
5869
5870 2003-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5871
5872         * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
5873         was just changing && by || after the first Match.
5874
5875 2003-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5876
5877         * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
5878         Patch by Yaron Shkop.
5879
5880 2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5881
5882         * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
5883         that fixes bug #49744. Now the selection doesn't lose its data.
5884
5885 2003-10-21 Ben Maurer  <bmaurer@users.sourceforge.net>
5886
5887         * EditCommandColumn.cs: Implement; fix #49736
5888
5889 2003-10-21 Ben Maurer  <bmaurer@users.sourceforge.net>
5890
5891         * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
5892         the forground color. bug #49738
5893
5894 2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5895
5896         * Calendar.cs: fixed bug #49727.
5897
5898 2003-10-18 Ben Maurer  <bmaurer@users.sourceforge.net>
5899
5900         * TableStyle.cs: fix #49740.
5901
5902 2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5903
5904         * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
5905         * ValidationSummary.cs: fixes bug #49669.
5906
5907 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5908
5909         * Calendar.cs: apply the calendar style to the new Table, not to itself.
5910         Fixes #49406.
5911
5912         * CheckBox.cs: render the hidden fields if AutoPostBack.
5913
5914         * Style.cs: don't render empty width/height. Small improvement in
5915         CopyFrom.
5916
5917         * Table.cs: fixed condition for border width.
5918
5919         * TableStyle.cs:
5920         (CopyFrom): always call the base class to copy other attributes. Fixes
5921         bug #49408. Don't render empty 'rules' attribute.
5922
5923         * WebControl.cs: track viewstate when enabled. Don't overwrite source
5924         control attributes in CopyBaseAttributes.
5925
5926         * ChangeLog: fixed dates.
5927
5928
5929 2003-10-08  Gaurav Vaish <gvaish_mono AT lycos.com>
5930
5931         * WebControl.cs         : Attributes { get; }       - Is Complete.
5932         * ValidationSummary.cs  : AddAttributesToRender(HtmlTextWriter)
5933                                                             - Completed.
5934
5935 2003-10-08  Gaurav Vaish <gvaish_mono AT lycos.com>
5936
5937         * BaseValidator.cs      : DetermineRenderUplevel()  - Completed.
5938                                 : RegisterValidatorCommonScript()
5939                                                - More code, I need HELP!
5940                                 : RegisterValidatorDeclaration()
5941                                                - More code, I need HELP!
5942
5943 2003-09-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5944
5945         * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
5946         #48802.
5947
5948 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5949
5950         * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and 
5951         ClearViewState only called when no items.
5952
5953 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5954
5955         * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
5956
5957 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5958
5959         * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
5960
5961 2003-09-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5962
5963         * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
5964         Shkop).
5965
5966 2003-09-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5967
5968         * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
5969         Shkop).
5970
5971 2003-09-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5972
5973         * CheckBox.cs: render the 'disabled' attribute in the correct tag.
5974         * WebControl.cs: fixed Enabled property and save it in ViewState.
5975
5976         Fixes bug #48802.
5977
5978 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5979
5980         * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
5981
5982 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5983
5984         * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
5985         bug #48671.
5986
5987 2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5988
5989         * FontInfo.cs: fixed Name property as suggested by Rich Alimi
5990         <rich@velvetsea.net>.
5991
5992 2003-09-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5993
5994         * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
5995         Skripsky <juraj@hotfeet.ch>
5996
5997 2003-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5998
5999         * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
6000         fixes rendering of the end tag.
6001
6002 2003-08-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6003
6004         * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
6005         (Yaron Shkop). Closes bug #48060.
6006
6007 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6008
6009         * CheckBox.cs: in LoadPostData, only return
6010         true when the new data is different from the one we had. Fixed
6011         conditions to save Checked state. Thanks to yaronshkop@hotmail.com
6012         (Yaron Shkop).
6013
6014 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6015
6016         * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
6017
6018 2003-08-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6019
6020         * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
6021         of Enable in ViewState. Fixes bug #47865.
6022
6023 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6024
6025         * Style.cs: the MARKED bit is not send set in ViewState unless something
6026         is changed. Fixed TrackViewState condition.
6027         
6028         * WebControl.cs: save the base ViewState *after* ControlStyle is done,
6029         because it uses the same ViewState as the control. Fixes bug #47725.
6030
6031 2003-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6032
6033         * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
6034         that fixes databinding when only DataTextField or DataNavigateUrlField
6035         is set.
6036
6037 2003-08-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6038
6039         * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
6040         behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
6041         values before assigning a data source and other issues.
6042
6043 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6044
6045         * CheckBox.cs: save viewstate when needed and correctly handle post
6046         data. Fixes bug #47462.
6047
6048 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6049
6050         * ButtonColumn.cs: Removed additional attributes
6051         * CheckBox.cs: Added attribute
6052         * DataGrid.cs: Added attributes
6053         * HyperLinkColumn.cs: Changed attributes, added lamespec
6054         * Style.cs: Removed attributes
6055         * TextBox.cs: Added/ removed attributes
6056
6057 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6058
6059         * AdRotator.cs: Added all attributes
6060         * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
6061         * BaseValidator.cs: Added all attributes
6062         * BoundColumn.cs: Added all attributes
6063         * Button.cs: Added all attributes
6064         * ButtonColumn.cs: Added all attributes, added lamespec
6065         * Calendar.cs: Added all attributes, added error checks, throws more exceptions
6066         * CheckBox.cs: Added all attributes
6067         * CheckBoxList.cs: Added all attributes
6068         * CompareValidator.cs: Added all attributes
6069         * CustomValidator.cs: Added all attributes
6070         * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
6071         * DataGridColumn.cs: Added all attributes
6072         * DataGridColumnCollection.cs: Added all attributes
6073         * DataGridPagerStyle.cs: Added all attributes
6074         * DataGridTableInternal.cs: Made DataGridTableInternal internal
6075         * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
6076         * DropDownList.cs: Added all attributes
6077         * FontInfo.cs: Added all attributes
6078         * HyperLink.cs: Added all attributes
6079         * HyperLinkColumn.cs: Added all attributes
6080         * Image.cs: Added all attributes
6081         * ImageButton.cs: Added all attributes
6082         * Label.cs: Added all attributes
6083         * LinkButton.cs: Added all attributes
6084         * ListBox.cs: Added all attributes, added error checks, throws more exceptions
6085         * ListControl.cs: Added all attributes
6086         * ListItem.cs: Added all attributes
6087         * ListItemCollection.cs: Added attribute
6088         * Literal.cs: Added all attributes
6089         * Panel.cs: Added all attributes
6090         * RadioButton.cs: Added all attributes
6091         * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
6092         * RangeValidator.cs: Added all attributes
6093         * RegularExpressionValidator.cs: Added all attributes
6094         * Repeater.cs: Added all attributes
6095
6096 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6097
6098         * RequiredFieldValidator.cs: Added all attributes
6099         * Style.cs: Added all attributes
6100         * Table.cs: Added all attributes
6101         * TableCell.cs: Added all attributes, added error checks, throws more exceptions
6102         * TableCellCollection.cs: Added attribute
6103         * TableRow.cs: Added all attributes
6104         * TableRowCollection: Added attribute
6105         * TableStyle.cs: Added all attributes, improved error messages
6106         * TemplateColumn.cs: Added all attributes
6107         * TextBox.cs: Added all attributes, added error checks, throws more exceptions
6108         * ValidationSummary.cs: Added all attributes
6109         * WebControl.cs: Added all attributes
6110         * Xml.cs: Added all attributes
6111
6112 2003-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6113
6114         * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
6115         * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
6116
6117 2003-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6118
6119         * CheckBoxList.cs: fixes bug reported on the list about the state of
6120         the CheckButtons not being preserved across posts.
6121
6122 2003-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6123
6124         * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
6125
6126 2003-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6127
6128         * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
6129
6130 2003-06-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6131
6132         * ListControl.cs: save viewstate data when any of the 3 values is not
6133         null. Fixed condition to save selection indices. Closes bug #45493.
6134
6135 2003-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6136
6137         * DataGrid.cs: fixed bug #43823.
6138
6139 2003-05-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6140
6141         * DataGrid.cs: fixed delegate type for SortCommand.
6142
6143 2003-05-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6144
6145         * DataGridColumnCollection.cs: added missing return in RemoveAt.
6146
6147 2003-05-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6148
6149         * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
6150         Don't save ViewState is the number of columns is 0.
6151
6152 2003-05-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6153
6154         * DataGrid.cs: get the right item Type for the property we're reading
6155         fromt the data source.
6156
6157 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6158
6159         * Label.cs:
6160         * TextBox.cs: added control builder attribute.
6161
6162 2003-03-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6163
6164         * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
6165
6166 2003-03-17  George Kodinov <gkodinov@openlinksw.co.uk>
6167
6168         * Unit.cs: Called the correct method to get the Numeric locale for the
6169         double conversion
6170
6171 2003-02-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6172
6173         * ButtonColumn.cs: fixed a couple of infinite loop problems and render
6174         correctly the header of the column.
6175
6176         * DataGridTableInternal.cs: don't assign a default ID to this control.
6177
6178         * LinkButton.cs: raise bubble event in OnCommand.
6179
6180         * TableCellCollection.cs: fixed the index returned by Add.
6181
6182         * TableRowCollection.cs: ditto.
6183
6184 2003-02-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6185
6186         * Xml.cs: don't call MapPathSecure when setting DocumentSource.
6187
6188 2003-02-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6189
6190         * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
6191         for reporting the bug and providing the fix.
6192
6193 2003-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6194
6195         * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
6196         CreateColumnSet. Set the owner of the column when auto generated.
6197         In PrepareControlHierarchyForItem, fixed for loop bound.
6198
6199         * LinkButtonInternal.cs: fixed infinite recursion bug.
6200
6201         Fixes bug #37124.
6202
6203 2003-01-22  Zdravko Tashev <ztashev@openlinksw.co.uk>
6204
6205         * Xml.cs: a few fixes.
6206
6207 2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6208
6209         * DataList.cs: handle the exception when adding new keys to
6210         DataKeysArray.
6211
6212 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6213
6214         * BaseDataList.cs: what can I say for this one? I spent so many time
6215         until I finally found this that I'm gonna miss this f....g bug... ;-).
6216         Farewell. Now we can get events from image buttons inside Data*.
6217
6218         * DataList.cs: now the value stored in ViewState for item count is
6219         correct.
6220
6221 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6222
6223         * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
6224         Header and Footer.
6225         * DataGridColumn.cs: added SetOwner method.
6226         * DataGridColumnCollection.cs: set the owner of the column when added.
6227
6228 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6229
6230         * BoundColumn.cs: typo.
6231         * DataGrid.cs: use 'as' instead of casting. Typo.
6232         * HyperLinkColumn.cs: call OnColumnChanged when any property change.
6233         Mono-stylized.
6234
6235 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6236
6237         * HyperLink.cs: fixes bug #36336.
6238
6239 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6240
6241         * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
6242
6243 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6244
6245         * BaseValidator.cs: return an empty string in GetControlValidationValue
6246         when GetValue returned null.
6247
6248         * CompareValidator.cs: fixed EvaluateIsValid.
6249
6250         * RegularExpressionValidator.cs: fixed EvaluateIsValid.
6251
6252 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6253
6254         * Xml.cs: use MapPathSecure to get the path of the document.
6255
6256 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6257
6258         * DataList.cs: fixed header & footer.
6259
6260 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6261
6262         * DataList.cs: for header and footer don't use data source.
6263         Instantiate in the DataListItem, not in the DataList.
6264         databind-template.aspx works now.
6265
6266 2002-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6267
6268         * BaseDataList.cs:
6269         (Render): call RenderContents (), not base.RenderContents ().
6270
6271         * DataList.cs: style.
6272
6273         But I still haven't found what i'm looking for....
6274
6275 2002-11-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6276
6277         * Calendar.cs: fixed loading/saving selected dates.
6278         * SelectedDatesCollection.cs: added internal function to get the
6279         underlying ArrayList.
6280
6281         Calendar navigation works again. Selecting dates too.
6282
6283 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6284
6285         * DataList.cs: added a few attributes and fixed infinite recursion.
6286
6287 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6288
6289         * ListItemCollection.cs: fixed LoadViewState.
6290
6291 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6292
6293         * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
6294         Commented out some code until it works.
6295
6296 2002-10-29      Gaurav Vaish <gvaish_mono@lycos.com>
6297
6298         * BaseCompareValidator.cs - Fixed operator bug in 
6299                                     Compare(string, string, ...)
6300         * CompareValidator.cs     - EvaluateIsValid()            : Implemented.
6301
6302 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
6303
6304         * BoundColumn.cs        - InitializeCell(TableCell, int, ListItemType)
6305                                                       : Implemented.
6306                                 - All Properties      : Now make use of ViewState.
6307
6308 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
6309
6310         * BaseValidator.cs      - Uncomment NotImplementedException.
6311
6312 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
6313
6314         * BaseValidator.cs      - Minor changes in TODO comments.
6315
6316 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
6317
6318         * BaseValidator.cs      - DetermineRenderUpLevel()       : Uncomment
6319                                   the NotImplementedException being thrown.
6320         * DataGridPagerStyle.cs - Mode { set; }                  : Implemented.
6321         * DataGridLinkButton.cs - Added new class (private)      : Implemented.
6322         * DataGrid.cs           - InitializePager(DataGridItem, int,
6323                                   PagedDataSource)               : Implemented.
6324
6325 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
6326
6327         * DataList.cs          - PrepareControlHierarchy()       : Implemented.
6328
6329 2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
6330
6331         * DataList.cs          - RenderContents(HtmlTextWriter)  : Implemented.
6332                                - GetItem(ListItemType, int)      : Removed TODO.
6333                                - CreateControlHierarchy(bool)    : Implemented.
6334                                - CreateItem(int, ListItemType)   : Implemented.
6335                                - CreateItem(int, ListItemType,
6336                                        bool, object)             : Implemented.
6337                                - InitializeItem(DataItem)        : Implemented.
6338         * DataGrid.cs          - CreateControlHierarchy(bool)    : Bug fix.
6339                             The ViewState["_!ItemCount"],
6340                                 ViewState["_!DataSource_ItemCount"]
6341                                   are shared by DataList and DataGrid, and hence
6342                                   should share the same name.
6343                                - ResolveDataSource(object, string)
6344                                      : Removed. Use System.Web.UI.Utils.DataSourceHelper
6345                                        ::GetResolvedDataSource(object, string).
6346
6347
6348 2002-09-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6349
6350         * DataGrid.cs: fixed compilation
6351
6352 2002-09-12      Gaurav Vaish <gvaish_mono@lycos.com>
6353
6354         * PagedDataSource.cs   - FirstIndexInPage : Fixed bug.
6355         * DataGrid.cs          - CreateControlHierarchy(bool)
6356                                     : working towards completion.
6357                                - ResolveDataSource(object, string)
6358                                     : stubbed new method
6359                                - CreateItem(....)
6360                                     : stubbed new method
6361                         Well. It's almost done.
6362         * DataGridTableInternal.cs
6363                                - Added new internal class.
6364
6365 2002-08-28      Gaurav Vaish <gvaish_mono@lycos.com>
6366
6367         * DataSourceInternal.cs       - Added new class (internal).
6368
6369 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6370
6371         * FontUnit.cs:
6372         * HorizontalAlign.cs:
6373         * Unit.cs:
6374         * VerticalAlign.cs: fixes based on class status page.
6375         
6376         * HorizontalAlignConverter.cs: implemented.
6377         * VerticalAlignConverter.cs: implemented.
6378
6379         * FontUnitConverter.cs: implemented GetStandardValues ().
6380
6381         * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
6382
6383 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
6384
6385         * DataGrid.cs                 - AutoCreateColumns: Bug fixes.
6386
6387 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
6388
6389         * DataGrid.cs                 - AutoCreateColumns: completed, hopefully!
6390
6391 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
6392
6393         * DataGrid.cs                 - Working on the undocumented protected
6394                               method CreateColumnSet. AutoCreateColumns method
6395                               stubbed. Left CreateControlHierarchy for the time
6396                               being, looks like I'm going insane. ;-)
6397
6398 2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
6399
6400         * Button.cs                   - Steffen's OnCommand bug fix.
6401
6402 2002-08-12      Gaurav Vaish <gvaish_mono@lycos.com>
6403
6404         * DataGrid.cs                 - Added protected method (skeleton)
6405                                         CreateColumnSet(PagedDataSource, bool)
6406                                       Still trying to know how will it be used
6407                                       and what for...
6408
6409 2002-08-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6410
6411         * PagedDataSource.cs: fixed compilation.
6412
6413 2002-08-08      Gaurav Vaish <gvaish_mono@lycos.com>
6414
6415         * DataGrid.cs                 - Added private method
6416                                         CreatePagedDataSource
6417                                       - Started work on
6418                                         CreateControlHierarchy(bool)
6419         * PagedDataSource.cs          - Bug fixed.
6420                                         CurrentPageIndex is writable.
6421
6422 2002-08-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6423
6424         * DataGrid.cs: fixed typo.
6425         * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
6426
6427 2002-08-06      Gaurav Vaish <gvaish_mono@lycos.com>
6428
6429         * DataGridColumn.cs           - Added internal methods to get the
6430                                         various styles (needed in DataGrid.cs)
6431         * DataGrid.cs                 - Completed the method
6432                                         PrepareControlHierarchy()
6433
6434 2002-08-06      Gaurav Vaish <gvaish_mono@lycos.com>
6435
6436         * DataGrid.cs                 - Wokring on PrepareControlHierarchy()
6437                                       - Added private method
6438                              PrepareControlHierarchyForItem()
6439
6440 2002-08-05      Gaurav Vaish <gvaish_mono@lycos.com>
6441
6442         * DataGrid.cs                 - Completed method
6443                              OnBubbleEvent(object, EventArgs)
6444
6445 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6446
6447         * Xml.cs: implemented document/transform load.
6448
6449 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6450
6451         * Calendar.cs: added myself to the list of authors.
6452         * DropDownList.cs: fixed a few properties.
6453         * ListControl.cs: fixed SelectedIndex.
6454
6455 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6456
6457         * Calendar.cs: lots of fixes. Render days.  Still left to persist
6458         selected days when changing month.
6459
6460         * Unit.cs: fixed Percentage and Pixel.
6461
6462         * WebControl.cs: a few properties are now using ControlStyle instead
6463         of ViewState to persist.
6464
6465 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6466
6467         * BaseValidator.cs: it works now.
6468         * DataGridColumn.cs: added attribute and made it abstract.
6469         * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
6470
6471 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6472
6473         * TextBox.cs: default for Wrap is true.
6474         (OnPreRender): don't save Text if there are no listeners on TextChanged.
6475
6476 2002-07-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6477
6478         * DropDownList.cs:
6479         (ToolTip): fixed.
6480
6481         * ListItem.cs:
6482         (LoadViewState): fixed.
6483
6484         * ListItemCollection.cs:
6485         (TrackViewState): use items instead of 'this' in foreach.
6486
6487         * Style.cs:
6488         (LoadViewState): more checking of parameters.
6489
6490         * WebControl.cs: implemented LoadViewState and SaveViewState.
6491         
6492
6493 2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6494
6495         * ListItem.cs: there was no code to unset the flags!!!
6496
6497 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6498
6499         * FontUnit.cs: use a hashtable for mapping size name to value.
6500         * HyperLink.cs: fixed a bug and a typo.
6501         * Unit.cs: some fixes to internal constructor.
6502
6503 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6504
6505         * ListControl.cs: fixed a couple of range checks.
6506         * WebControl.cs: MS lies! Not all WebControls must be rendered inside
6507         an HtmlForm (p.e., Label).
6508
6509 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6510
6511         * AdRotator.cs:
6512         * Button.cs:
6513         * Calendar.cs:
6514         * CheckBox.cs:
6515         * CheckBoxList.cs:
6516         * DataList.cs:
6517         * DropDownList.cs:
6518         * HyperLink.cs:
6519         * HyperLinkColumn.cs:
6520         * Image.cs:
6521         * ImageButton.cs:
6522         * Label.cs:
6523         * LinkButton.cs:
6524         * ListBox.cs:
6525         * Panel.cs:
6526         * PlaceHolder.cs:
6527         * RadioButton.cs:
6528         * RadioButtonList.cs:
6529         * Table.cs:
6530         * TableRow.cs:
6531         * TextBox.cs:
6532         * WebControl.cs: removed attributes added by mistake (i used
6533         GetCustomAttributes (true), d'oh!).
6534
6535         * DataListItem.cs: implemented RenderItem.
6536
6537         * Repeater.cs: implemented CreateItem and InitializeItem.
6538
6539 2002-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6540
6541         * BaseDataList.cs: a couple of fiex and added attributes.
6542         * DataGrid.cs: little fixes.
6543
6544 2002-07-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6545
6546         * CheckBoxList.cs:
6547         * DataGrid.cs:
6548         * DataList.cs:
6549         * DropDownList.cs:
6550         * ListBox.cs:
6551         * PlaceHolder.cs:
6552         * RadioButton.cs:
6553         * RadioButtonList.cs:
6554         * TableRow.cs:
6555         * WebControl.cs:
6556         * Xml.cs: forgot to add using System.ComponentModel.
6557
6558         * BaseValidator.cs: use explicitly 
6559         System.ComponentModel.AttributeCollection as there is another class
6560         with the same name under System.Web.UI.
6561
6562 2002-07-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6563
6564         * AdRotator.cs:
6565         * Button.cs:
6566         * Calendar.cs:
6567         * CheckBox.cs:
6568         * CheckBoxList.cs:
6569         * DataGrid.cs:
6570         * DataList.cs:
6571         * DropDownList.cs:
6572         * HyperLink.cs:
6573         * Image.cs:
6574         * ImageButton.cs:
6575         * Label.cs:
6576         * LinkButton.cs:
6577         * ListBox.cs:
6578         * Panel.cs:
6579         * PlaceHolder.cs:
6580         * RadioButton.cs:
6581         * RadioButtonList.cs:
6582         * Table.cs:
6583         * TableRow.cs:
6584         * TextBox.cs:
6585         * WebControl.cs:
6586         * Xml.cs: added/fixed all attributes used by xsp.
6587
6588         * BaseValidator.cs: some fixes.
6589
6590 2002-07-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6591
6592         * Table.cs:
6593         (AddAttributesToRender): correctly default to border=1.
6594
6595 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6596
6597         * AdRotator.cs:
6598         (LoadAdFile): make the dictionary null after every iteration.
6599
6600         * LinkButton.cs:
6601         * ListControl.cs:
6602         * ListItem.cs: fixed warnings.
6603
6604 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
6605
6606         * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
6607
6608 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6609
6610         * DataGridColumn.cs:
6611         * DataGridPagerStyle.cs:
6612         * DataList.cs:
6613         * DataListItem.cs:
6614         * Image.cs:
6615         * LinkButton.cs:
6616         * ListControl.cs:
6617         * ListItem.cs:
6618         * ListItemCollection.cs:
6619         * Repeater.cs:
6620         * ServerValidateEventArgs.cs:
6621         * Style.cs:
6622         * TableRow.cs:
6623         * WebControl.cs:
6624         * Xml.cs: more class status page based changes.
6625
6626 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6627
6628         * Button.cs:
6629         (.ctor): fixed to render the correct tag.
6630         (IPostBAckEventHandler.RaisePostBackEvent): fixed.
6631
6632 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6633
6634         * WebControl.cs:
6635         (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
6636         WebControl derived classes should be rendered inside a HtmlForm.
6637
6638 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6639
6640         * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
6641         processing methods.
6642
6643 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6644
6645         * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
6646         * RepeatInfo.cs: implemented DoHorizontalRendering.
6647
6648 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6649
6650         * System.Web.UI.WebControls/Repeater.cs:
6651         (Controls):
6652         (OnDataBinding): fixed stack overflow.
6653
6654 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6655
6656         * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
6657         * RepeatInfo.cs: implemented DoHorizontalRendering.
6658
6659 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6660
6661         * WebControl.cs:
6662         (CopyBaseAttributes): copy Attributes and don't throw exception.
6663
6664 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6665
6666         * ListBox.cs: mono-stylized.
6667         (AddAttributesToRender): call parent class method.
6668
6669 2002-06-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6670
6671         * Style.cs: fixed IsEmpty and Width.
6672
6673         * Table.cs: mono-stylized.
6674         (TableRowControlCollection.AddAt): fixed.
6675         (AddAttributesToRender): fixed.
6676         
6677         * TableCell.cs: mono-stylized.
6678         (.ctor): use PreventAutoID.
6679         (AddAttributesToRender): fixed.
6680         (AddParsedSubObject): fixed.
6681
6682         * TableRow.cs: mono-stylized. Added
6683         ParseChildren attribute.
6684
6685         * TableStyle.cs:
6686         (get_GridLine): fixed.
6687
6688 2002-06-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6689
6690         * Panel.cs: fixed stack overflow.
6691         * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
6692         and SingleConverter.
6693
6694 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6695
6696         * RadioButton.cs: mono-stylized and some little fixes.
6697
6698         * TextBox.cs: mono-stylized.
6699         (MaxLength): fixed typo.
6700
6701         (AddAttributesToRender): don't render the text between the tags for
6702         SingleLine, use value attribute for it. Don't render the text for
6703         Password.
6704
6705         (OnPreRender): don't throw exception and call base.OnPreRender.
6706
6707         (Render): for MultiLine, render the text between the opening and
6708         closing tags encoded as HTML.
6709
6710 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6711
6712         * ImageButton.cs:
6713         (AddAttributesToRender): fixer another stack overflow.
6714
6715         * WebControl.cs:
6716         (TagName): modified to use TagKey instead of tagKey as the property
6717         can be overriden.
6718
6719 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6720
6721         * LinkButton.cs: mono-stylized.
6722         (AddParsedSubObject):
6723         (RenderControls): little fixes.
6724
6725         * WebControl.cs:
6726         (AddAttributesToRender): fixed usage of IEnumerator.
6727
6728 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6729
6730         * Literal.cs: beautified.
6731
6732 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6733
6734         * Label.cs: beautified and fixed a couple of 'classic' bugs.
6735
6736         * WebControl.cs: use Span as default tag when no other provided in 
6737         constructor. That is what MS renders.
6738
6739 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6740
6741         * Button.cs:
6742         (AddAttributesToRender): fixed (classic) stack overflow.
6743
6744         * CheckBox.cs: mono-stylized.
6745         (AutoPostBack): fixed stack overflow.
6746         (Render): fixed alignment issues. Also set the For attribute always
6747         for the label.
6748
6749 2002-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6750
6751         * AdRotator.cs: GetData does not work as it should, but now it returns
6752         useful data (only the first ad in the file).  Set the NavigateUrl
6753         property in the hyperlink if available.
6754
6755         * HyperLink.cs: fixed constructor and a couple of stack overflows.
6756
6757         * Image.cs: added an attribute and fixed stack overflow.
6758
6759         * WebControl.cs:
6760         (RenderBeginTag): fixed.
6761         (TagName): don't call Enum.IsDefined twice.
6762
6763 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6764
6765         * WebControl.cs: added attributes PersistChildrenAttribute and 
6766         ParseChildrenAttribute.
6767
6768 2002-05-24  Duncan Mak  <duncan@ximian.com>
6769
6770         * DataGridItem.cs (SetItemType): Changed function signature to
6771         match 1.0 spec.
6772
6773         * ListItemCollection.cs (this): Changes the visibility level of
6774         the indexer.
6775
6776         * Repeater.cs (OnItemCommand):
6777         (OnItemCreated):
6778         (OnItemDataBound): Added necessary casts.
6779
6780 2002-05-07  Duncan Mak  <duncan@ximian.com>
6781
6782         * Button.cs (AddAttributesToRender): 
6783         * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
6784         GetClientValidatedEvent method.
6785
6786 2002-03-27      Gaurav Vaish <gvaish@iitk.ac.in>
6787
6788         * Removed extra methods, corrected access modifiers to several
6789           methods.
6790
6791 2002-03-26      Gaurav Vaish <gvaish@iitk.ac.in>
6792
6793         * <SeveralFiles>.cs        - Added some attributes
6794         * FontUnitConverter.cs     - Added stubs for GetStandardValues*(..)
6795             methods. Will complete them later. Right now, busy with
6796             the attributes part.
6797         * RepeaterItem.cs          - Completed.
6798         
6799          Oh God! Mercy! I will die applying attributes. I look at the missing
6800           part in the class-status - daemon! Kyrie eleison!
6801
6802 2002-03-19      Gaurav Vaish <gvaish@iitk.ac.in>
6803
6804            Some bug fixes
6805
6806         * AdRotator.cs             - Added definition for Font.
6807         * BaseCompareValidator.cs  - Added definition for Controls.
6808         * Calendar.cs              - SelectMonthText definition corrected.
6809         * DataList.cs              - Added definition for SeparatorTemplate.
6810         * BorderStyle.cs           - Namespace correction. It belongs not to UI,
6811                                      but to UI.WebControls.
6812
6813 2002-03-17      Gaurav Vaish <gvaish@iitk.ac.in>
6814
6815         Finally, I have made it. Today I did a second build for the
6816          System.Web assembly. It compiled 195 classes today.
6817         I am waiting eagerly for the runtime to come up so that the objects
6818          may be tested to their last levels. Several of the methods are still
6819          under the tag of "TODO" throwing NotImplementedException. Well, I
6820          hope to remove them soon, but how far is this soon - even I don't
6821          know, though I am happy to make the build a success even before
6822          the vacations to come.
6823
6824 2002-03-07      Gaurav Vaish <gvaish@iitk.ac.in>
6825
6826         Yesterday and today I tried to do some building of the aseembly,
6827          but was dumped with uncoutably infinite errors. ;-)
6828         I have put the copies of the recent errors on my home page, want
6829          to have a look at them? See:
6830           http://mastergaurav.virtualave.net/mono/
6831         I don't know what to do with these errors. Oh! The buggy me! How
6832          will I overcome myself. Hopefully, by when my vacations over, I
6833          should have made a repository where the build will not fail.
6834
6835 2002-03-05      Gaurav Vaish <gvaish@iitk.ac.in>
6836
6837         I am now going to do a build that will include the
6838          System.Web.UI.WebControls namespace. Hoping that I will make it
6839          soon. My exams are coming near and I have to pack up soon.
6840
6841
6842 2002-03-04      Gaurav Vaish <gvaish@iitk.ac.in>
6843
6844 Comments:
6845         And with this, ie, today's work, all the objects mentioned in the
6846         namespace appear in the implementation. But it may not be worth
6847         trying to go for a build because of dependence of several of the
6848         internal methods that may clash with already available assembly
6849         System.Web.
6850         
6851         Also, the classes lack possible attributes, like those informing
6852         about child-controls etc. But I have to first create the attribute
6853         classes before I attach the attributes to the classes.
6854
6855         * CustomValidator.cs          - Completed. In process realized that
6856                      I have to complete / rejuvinate BaseValidator class.
6857         * BaseValidator.cs            - Complete rejuvination. Completed 80%
6858                     of the job. All that is left is Render(HtmlTextWriter),
6859                     DetermineRenderUplevel(), RegisterValidatorCommonScript()
6860                     RegisterValidatorDeclaration()
6861         * DataGridPagerStyle.cs       - Completed. That adds one more missle
6862                     in my artillery.
6863         * DataKeyCollection.cs        - Completed. Petty small.
6864         * Repeater.cs                 - Work started off. This is a quite
6865                     heavy class. Hooh!
6866         * DataGridItemEventArgs.cs,
6867         * DataGridShortCommandEventArgs.cs,
6868         * DataListItemEventArgs.cs,
6869         * MonthChangedEventArgs.cs,
6870         * RepeaterItemEventArgs.cs,
6871         * ServerValidateEventArgs.cs,
6872         * DataGridPageChangedEventArgs.cs
6873                                       - Damn, I marked them "*", while they
6874                     did not exist.
6875         * Repeater.cs                 - Done all except for an undocumented
6876                     method CreateControlHierarchy(bool). Though the method
6877                     is quite clear by its name, but it will take some time
6878                     for me to come with some material to flush in.
6879
6880 2002-03-03      Gaurav Vaish <gvaish@iitk.ac.in>
6881
6882         * SelectedDatesCollection.cs  - Completed.
6883         * PagedDataSource.cs          - Completed. Pathetically nice class.
6884         * RegularExpressionValidator.cs
6885                                       - Completed. Ridiculously small and
6886                     annoyinglyc crazy-driving class, basically the method
6887                     EvaluateIsValid().
6888         * RangeValidator.cs           - Completed.
6889         * DataGridColumn.cs           - Completed.
6890         * EditCommandColumn.cs        - All is complete except for the
6891                     InitializeCell(TableCell, int, ListItemType) method.
6892         * DataListItem.cs             - All done except for a longish method
6893                     RenderItem(HtmlTextWriter, bool, bool)
6894
6895 2002-03-02      Gaurav Vaish <gvaish@iitk.ac.in>
6896
6897         * RepeaterItemCollection.cs   - Completed.
6898                     I love *Collection classes. I am planning to make a
6899                     program that will generate a *Collection class. It's so
6900                     simple and the same. ;-)
6901         * DataGridColumnCollection.cs - Completed.
6902                     ... except probably for *ColumnCollection classes, where
6903                     you have to put in some more effort. Still, these class
6904                     generation can be automated.
6905         * DataListItemCollection.cs   - Completed.
6906                     See, how easily, in less than a quarter of a minute, I
6907                     completed this class - manually. Copy-Paste/Cut-Replace.
6908
6909 2002-02-21      Gaurav Vaish <gvaish@iitk.ac.in>
6910
6911         * DataGrid.cs                 - Following methods implemented:
6912                     TrackViewState(), LoadViewState(object), SaveViewState(),
6913                     On* -- The event raisers.
6914                     OnBubbleEvent(object, EventArgs) is still incomplete.
6915         * DataGridItem.cs             - Initial Implementation
6916         * DataGridItemCollection.cs   - Completed.
6917
6918 2002-02-08      Gaurav Vaish <gvaish@iitk.ac.in>
6919
6920         * DataGrid.cs                 - Initial Implementation. Worked
6921                     primarily with some properties.
6922
6923 2002-02-07      Gaurav Vaish <gvaish@iitk.ac.in>
6924
6925         * ListBox.cs                  - Completed. Implemented
6926                    LoadPostData(string, NameValueCollection)
6927         * RequiredFieldValidator.cs   - Completed. Pretty simple class.
6928
6929 2002-02-06      Gaurav Vaish <gvaish@iitk.ac.in>
6930
6931         * ListBox.cs                  - Implemented the following:
6932                    RaisePostDataChangedEvent()
6933
6934 2002-02-02      Gaurav Vaish <gvaish@iitk.ac.in>
6935
6936         * ListBox.cs                  - Supports the following properties:
6937                    BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
6938                    ToolTip.
6939                   Methods:
6940                    AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
6941                    RenderContents(HtmlTextWriter)
6942
6943
6944 2002-02-01      Gaurav Vaish <gvaish@iitk.ac.in>
6945
6946         * TargetConverter.cs          - Completed
6947         * TemplateColumn.cs           - Completed
6948         * DataList.cs                 - Corrected the get-er methods for the
6949                  *Style objects. Corrected the get/set-er methods for ViewState
6950                    related objects.
6951                  Addded support for properties:
6952                    GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
6953                    RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
6954                    SelectedItem, SelectedItemStyle, SelectedItemTemplate,
6955                    SeparatorStyle, SeparatorItemTemplate.
6956                  Events:
6957                    CancelCommand, DeleteCommand, EditCommand, ItemCommand,
6958                    ItemCreated, ItemDataBound, UpdateCommand.
6959                  Methods:
6960                    CreateControlStyle(), LoadViewState(object),
6961                    SaveViewState(), TrackViewState
6962                  Event handlers:
6963                    OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
6964                    OnEditCommand, OnItemCommand, OnItemCreated,
6965                    OnItemDataBound, OnUpdateCommand
6966                  Added dummy methods for some undocumented methods:
6967                    CreateControlHierarchy(bool), CreateItem(int, ListItemType),
6968                    CreateItem(int, ListItemType, bool, object),
6969                    PrepareControlHierarchy(), InitializeItem(DataListItem)
6970         * ListBox.cs                  - Started working.
6971
6972
6973
6974 2002-01-31      Gaurav Vaish <gvaish@iitk.ac.in>
6975
6976         * RepeaterInfo.cs             - Initial Implementation. Done all
6977                                         except for RepeatDirection.Vertical
6978         * TableStyle.cs               - Completed
6979
6980 2002-01-30      Gaurav Vaish <gvaish@iitk.ac.in>
6981
6982         * DropDownList.cs             - Completed
6983         * ListItemCollection.cs       - Added method FindByValueInternal to
6984                                         assist in the derived classes.
6985                                         Discovered bug in FindByValue. Removed
6986         * UnitConverter.cs            - Completed
6987         * PlaceHolder.cs              - What can be simpler than this?
6988         * PlaceHolderControlBuilder.cs
6989                                       - Uh! Damn cool one.
6990         * RadioButtonList.cs          - Initial Implementation. All is done
6991                                         except for the implementation of
6992                                         method IRepeatInfoUser.RenderItem(...)
6993         * ValidatedControlConverter.cs
6994           ^^^^^^^^^^^^^^^^^^^^^^^^^   - Looks complete. Doubtful though !!
6995         * ValidationSummary.cs        - Initial Implementation.
6996         * WebColorConverter.cs        - Initial Implementation
6997
6998 2002-01-27      Gaurav Vaish <gvaish@iitk.ac.in>
6999
7000         * FontNamesConverter.cs       - Completed
7001         * FontUnitConverter.cs        - Partial Implementation
7002         * ListItemControlBuilder.cs   - Completed
7003
7004 2002-01-27      Gaurav Vaish <gvaish@iitk.ac.in>
7005
7006         * TextBox.cs                  - All done except *Render* methods
7007         * TextBoxControlBuilder.cs    - Completed
7008         * Xml.cs                      - Partial Implementation
7009
7010 2002-01-26      Gaurav Vaish <gvaish@iitk.ac.in>
7011
7012         * RadioButton.cs              - Completed
7013         * TextBox.cs                  - Partial Implementation
7014
7015 2002-01-25      Gaurav Vaish <gvaish@iitk.ac.in>
7016
7017         * Panel.cs                    - Completed
7018         * TableItemStyle.cs           - Completed
7019
7020 2002-01-18      Gaurav Vaish <gvaish@iitk.ac.in>
7021
7022         * TableCellCollection.cs      - Completed
7023         * TableRowCollection.cs       - Completed
7024         * TableHeaderCell.cs          - Completed
7025         * TableRow.cs                 - Completed
7026
7027 2002-01-09      Gaurav Vaish <gvaish@iitk.ac.in>
7028
7029         * TableCellControlBuilder.cs  - Completed
7030         * Table.cs                    - Completed
7031         * TableCell.cs                - Completed
7032
7033 2002-01-07      Gaurav Vaish <gvaish@iitk.ac.in>
7034
7035         * CheckBoxList.cs             - Completed
7036         * ButtonColumn.cs             - Completed
7037         * Button.cs                   - Completed
7038
7039 2001-12-28      Gaurav Vaish <gvaish@iitk.ac.in>
7040
7041         * HyperLink.cs                - Completed
7042         * Image.cs                    - Completed
7043         * ImageButton.cs              - Completed
7044         * Label.cs                    - Completed
7045         * LabelControlBuilder.cs      - Completed
7046         * LinkButton.cs               - Completed
7047         * LinkButtonControlBuilder.cs - Completed
7048         * Literal.cs                  - Completed
7049         * LieteralControlBuilder.cs   - Completed
7050         * FontUnit.cs                 - Completed
7051
7052
7053 2001-12-27      Gaurav Vaish <gvaish@iitk.ac.in>
7054
7055         * Calendar.cs                 - Completed the functions of Render*,
7056                                         ViewStates (Track/View/Save),
7057                                         RaisePostBackEvent.
7058                                         Left: RenderAllDays (partially)
7059
7060 2001-12-21      Gaurav Vaish <gvaish@iitk.ac.in>
7061
7062         * Calendar.cs                 - Added some more functions
7063         * Style.cs                    - Completed
7064         * ListItem.cs                 - Completed
7065         * ListItemCollection.cs       - Completed
7066
7067   Made the first successful build of System.Web.dll that included
7068   System.Web.UI.WebControls!
7069
7070 2001-12-20      Gaurav Vaish <gvaish@iitk.ac.in>
7071
7072         FontInfo.cs                 - Complete revamp. Completed
7073
7074 2001-12-19      Gaurav Vaish <gvaish@iitk.ac.in>
7075
7076         ListItemCollection.cs       - Completed
7077         ListItem.cs                 - Initial Implementation
7078         Style.cs                    - Initial Implementation
7079
7080   Right now I am in a total mood to do a successful build. Creating so many
7081   classes, completing classes in System.Web System.Web.UI namespaces.
7082
7083 2001-12-18      Gaurav Vaish <gvaish@iitk.ac.in>
7084
7085         TODO                        - Properly added
7086         CheckBox.cs                 - Completed
7087         BaseDataList.cs             - Completed
7088         DayRenderEventArgs.cs       - Completed
7089         RepeaterItem.cs             - Initial implementation
7090
7091 2001-12-17      Gaurav Vaish <gvaish@iitk.ac.in>
7092
7093         BaseCompareValidator.cs     - Completed
7094         AdRotator.cs                - Completed
7095
7096 2001-12-15      Gaurav Vaish <gvaish@iitk.ac.in>
7097
7098         CommandEventArgs.cs         - Completed
7099         DataGridCommandEventArgs.cs - Completed
7100         RepeaterCommandEventArgs.cs - Completed
7101         DataListCommandEventArgs.cs - Completed
7102         CompareValidator.cs         - Partial Implementation
7103
7104 2001-12-02      Gaurav Vaish <gvaish@iitk.ac.in>
7105
7106         CheckBoxList.cs            - Partial Implementation.
7107                                      All except "Render"
7108
7109 2001-12-01      Gaurav Vaish <gvaish@iitk.ac.in>
7110
7111         ListControl.cs             - Completed
7112
7113 2001-11-30      Gaurav Vaish <gvaish@iitk.ac.in>
7114
7115         CheckBox.cs                - Completed
7116         ListControl.cs             - Initial Implementation
7117         CheckBoxList.cs            - Started with it, but first needed
7118                                      ListControl. Left it.
7119
7120 2001-11-29      Gaurav Vaish <gvaish@iitk.ac.in>
7121
7122         CalendarDay.cs             - Making a note that this
7123                                      has been implemented
7124         Calendar.cs                - Making a note that have made some changes.
7125                                      Unimplmented functions throw
7126                                      NotImplementedException
7127         CheckBox.cs                - Can now "Render" and "LoadPostData"
7128
7129
7130 2001-11-08      Gaurav Vaish <gvaish@iitk.ac.in>
7131         WebControl.cs              - Total Revamp, Partial Implementation
7132         AdRotator.cs               - Able to load files
7133         AdCreatedEventArgs.cs      - Implemented
7134
7135 2001-11-05      Gaurav Vaish <gvaish@iitk.ac.in>
7136         Calendar.cs                - Initial Implementation
7137         ButtonColumn.cs            - Initial Implementation
7138         Button.cs                  - Initial Implementation
7139         BoundColumn.cs             - Initial Implementation
7140         BaseCompareValidator.cs    - Minor Changes
7141         DataList.cs, BaseValidator.cs, BaseDataList.cs
7142                                    - Added more functions, other changes
7143         
7144 2001-10-28      Gaurav Vaish <gvaish@iitk.ac.in>
7145         WebControl.cs              - Initial Implementation
7146         DataList.cs                - Initial Implementation
7147         BaseValidator.cs           - Initial Implementation
7148         BaseDataList.cs            - Initial Implementation
7149
7150 2001-10-27      Gaurav Vaish <gvaish@iitk.ac.in>
7151
7152         AdCreatedEventArgs.cs      - Initial Implementation
7153         AdCratedEventHandler.cs    - Implemented
7154         AdRotator.cs               - Initial Implementation
7155         BorderStyle.cs             - Implemented
7156         ButtonColumnStyle.cs       - Implemented
7157         CalendarSelectionMode.cs   - Implemented
7158         DayNameFormat.cs           - Implemented
7159         FirstDayOfWeek             - Implemented
7160         FontInfo.cs                - Partial Implementation
7161         FontSize.cs                - Implemented
7162         GridLines.cs               - Implemented
7163         HorizontalAlign.cs         - Implemented
7164         HyperLink.cs               - Initial Implementation
7165         ImageAlign.cs              - Implemented
7166         IRepeatInfoUser.cs         - Implemented
7167         ListItemType.cs            - Implemented
7168         ListSelectionMode.cs       - Implemented
7169         NextPrevFormat.cs          - Implemented
7170         PagerMode.cs               - Implemented
7171         PagerPosition.cs           - Implemented
7172         RepeatDirection.cs         - Implemented
7173         RepeatLayout.cs            - Implemented
7174         TextAlign.cs               - Implemented
7175         TextBoxMode.cs             - Implemented
7176         TitleFormat.cs             - Implemented
7177         UnitType.cs                - Implemented
7178         ValidationCompareOperator.cs
7179                                    - Implemented
7180         ValidationDataType.cs      - Implemented
7181         ValidationSummaryDisplayMode.cs
7182                                    - Implemented
7183         ValidatorDisplay.cs        - Implemented
7184         VerticalAlign.cs           - Implemented
7185
7186
7187
7188 i/ File Created 2001-11-13