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