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