importing messaging-2008 branch to trunk [continued]
[mono.git] / mcs / class / System.Web.Extensions / System.Web.UI.WebControls / ChangeLog
1 2008-11-28  Marek Habersack  <mhabersack@novell.com>
2
3         * ListView.cs: use the _correct_ operator when checking whether
4         selected item index is within the data keys range.
5
6 2008-11-27  Marek Habersack  <mhabersack@novell.com>
7
8         * ListView.cs: fixes in DoUpdate and DoDelete - check must be made
9         that the requested item index is _smaller_ than the number of
10         keys, not _bigger_.
11         Enable using the lambda expression in CreateItemsInGroups - the
12         gmcs bug preventing that was fixed.
13
14 2008-11-20  Marek Habersack  <mhabersack@novell.com>
15
16         * ListView.cs: implemented the EditItem property.
17         Use ConvertEmptyStringToNull in ExtractItemValues.
18
19 2008-11-19  Marek Habersack  <mhabersack@novell.com>
20
21         * ListView.cs: added paremeter checks to AddControlToContainer.
22         CreateInsertItem must instantiate the template and call raise the
23         ItemCreated event.
24         Added parameter checks to FindPlaceholder
25
26 2008-11-18  Marek Habersack  <mhabersack@novell.com>
27
28         * ListViewContainer.cs: added
29
30         * ListView.cs: implemented grouping support. With this ListView is
31         feature complete.
32         Refactored grouped/non-grouped rendering common code into separate
33         methods.
34         FindPlaceholder now looks for the placeholder recursively.
35         Implemented forgotten UpdateItem method.
36         Align group with empty items if there are no more data items.
37         Each group is contained within ListViewContainer.
38
39         * ListViewTableCell.cs: added
40
41 2008-11-15  Marek Habersack  <mhabersack@novell.com>
42
43         * ListViewInsertEventArgs.cs: implemented the Values property.
44
45         * ListView.cs: CreateChildControls uses the Items collection to
46         store the created items.
47         InsertNewItem triggers page validation if necessary.
48         Part of InsertNewItem code refactored to DoInsert.
49         Implemented handling of the Insert and Select commands.
50
51         * TemplatePagerField.cs: implemented all the code.
52
53         * DataPager.cs: CreatePagerFields now adds the new pager field
54         control before creating data pagers in it and before binding to
55         data. This avoids situation in which the field is parentless.
56         FindPageableItemContainer now properly finds the container if it's
57         placed directly in the Page.
58         {Load,Save}ViewState don't use a Pair anymore, object array is
59         used for compatibility with MS.NET
60
61         * NumericPagerField.cs, NextPreviousPagerField.cs,
62         DataPagerFieldCommandEventArgs.cs: minor refactoring
63
64         * ListViewSelectEventArgs.cs: implemented all the code.
65
66         * ListViewInsertedEventArgs.cs: Values allocates the dictionary on
67         demand now.
68         Initialize all the properties in constructor
69
70         * DataPagerCommandEventArgs.cs: added
71
72         * DataPagerField.cs: implemented IsTrackingViewState
73
74         * DataPagerFieldItem.cs: implements the INonBindingContainer
75         interface.
76
77 2008-11-13  Marek Habersack  <mhabersack@novell.com>
78
79         * ListView.cs: implemented support for Edit, Update and Delete.
80         Implemented ExtractItemValues.
81
82         * ListViewDataItem.cs, ListViewItem.cs: implemented OnBubbleEvent.
83
84         * ListViewDeletedEventArgs.cs, ListViewUpdateEventArgs.cs,
85         ListViewEditEventArgs.cs, ListViewCancelEventArgs.cs,
86         ListViewDeleteEventArgs.cs, ListViewUpdatedEventArgs.cs:
87         implemented all the properties and methods.
88
89         * HelperExtensions.cs: added
90
91 2008-11-06  Marek Habersack  <mhabersack@novell.com>
92
93         * ListView.cs: implemented the sorting capability.
94
95         * ListViewSortEventArgs.cs: implemented all the methods and
96         properties. 
97
98 2008-11-01  Marek Habersack  <mhabersack@novell.com>
99
100         * ListView.cs: do not instantiate the layout template more than
101         necessary.
102
103         * NextPreviousPagerField.cs: moved some common code to the base
104         class (the GetQueryModeStartRowIndex method)
105
106         * DataPager.cs: do not call SetPageProperties more than
107         necessary.
108
109         * NumericPagerField.cs: implemented
110
111         * DataPagerField.cs: added a helper method,
112         GetQueryModeStartRowIndex, to be used by all the concrete
113         implementations to calculate the starting row index in the query
114         mode.
115
116 2008-10-31  Marek Habersack  <mhabersack@novell.com>
117
118         * ListView.cs: use StartRowIndex and MaximumRows properties when
119         calculating the total row count server paging case and when
120         assigning to corresponding properties of the paged data source.
121
122 2008-10-30  Marek Habersack  <mhabersack@novell.com>
123
124         * DataPagerFieldCollection.cs: implemented most of the methods and
125         properties, so that using the DataPager is possible now.
126
127         * PagePropertiesChangingEventArgs.cs: implemented all the methods
128         and properties.
129
130         * ListView.cs: {Save,Load}ControlState now uses constants to index
131         state arrays. Total row count is stored in the control state.
132         CreateChildControls () now uses dummy data to initialize child
133         controls if no items were found after postback.
134         CreateChildControls (IEnumerable, bool) now properly calculates
135         total row count, calls OnTotalRowCountAvailable after creating the
136         child controls and returns the total row count instead of the
137         number of created child controls. This makes pager work
138         correctly.
139         Implemented SetPageProperties () to support paging.
140
141         * NextPreviousPagerField.cs: Correctly order the Next/Previous
142         buttons.
143         When creating buttons, cast the new control properly before
144         assigning properties.
145
146         * TemplatePagerField.cs: added (stub)
147
148         * DataPager.cs: added missing class attributes (ParseChildren,
149         PersistChildren and SupportsEventValidation).
150         {Save,Load}ControlState now use constants to index the state
151         arrays.
152         Properly implemented FindPageableItemContainer - it now looks for
153         the container up the parenthood chain, querying all the naming
154         containers for the named control.
155         SetUpForNewContainer now accepts an additional parameter, so that
156         the SetPageProperties method is called on the container whenever
157         necessary.
158
159         * NumericPagerField.cs: implemented the CreateField method.
160
161         * ListViewPagedDataSource.cs: implemented data source
162         enumerators.
163
164         * DataPagerFieldItem.cs: implemented all the methods and properties.
165
166 2008-10-21  Atsushi Enomoto  <atsushi@ximian.com>
167
168         * LinqDataSource.cs : set ContextTypeName too when ContextType is set.
169
170 2008-10-09  Atsushi Enomoto  <atsushi@ximian.com>
171
172         * LinqDataSource.cs : implement ContextType/ContextTypeName.
173         * LinqDataSourceView.cs : some ExecuteSelect() implementation.
174           Cache type members which are from reflection.
175
176 2008-10-08  Atsushi Enomoto  <atsushi@ximian.com>
177
178         * LinqDataSource.cs, LinqDataSourceView.cs :
179           some more implementation.
180
181 2008-09-30  Marek Habersack  <mhabersack@novell.com>
182
183         * ListView.cs: implemented all the events.
184         CreateChildControls works with non-ICollection data sources now.
185         CreateItemsWithoutGroups now counts items placed in the container
186         and stores the container in a field, so that RemoveItems can
187         properly delete the child controls.
188         Implemented the RemoveItems method.
189         Implemented Load/SaveControlState.
190         Implemented LoadViewState.
191         Implemented OnBubbleEvent.
192         Implemented all the On* methods.
193
194         * ListViewCommandEventArgs.cs: implemented the CommandSource and
195         Item properties.
196
197         * ListViewItemEventArgs.cs: implemented the Item property.
198
199 2008-09-18  Atsushi Enomoto  <atsushi@ximian.com>
200
201         * LinqDataSource.cs, LinqDataSourceView.cs
202           LinqDataSourceContextEventArgs.cs
203           LinqDataSourceDeleteEventArgs.cs
204           LinqDataSourceDisposeEventArgs.cs
205           LinqDataSourceInsertEventArgs.cs
206           LinqDataSourceSelectEventArgs.cs
207           LinqDataSourceStatusEventArgs.cs
208           LinqDataSourceUpdateEventArgs.cs : easy implementation parts.
209
210 2008-09-18  Atsushi Enomoto  <atsushi@ximian.com>
211
212         * LinqDataSource.cs, LinqDataSourceView.cs
213           LinqDataSourceContextEventArgs.cs
214           LinqDataSourceDeleteEventArgs.cs
215           LinqDataSourceDisposeEventArgs.cs
216           LinqDataSourceInsertEventArgs.cs
217           LinqDataSourceSelectEventArgs.cs
218           LinqDataSourceStatusEventArgs.cs
219           LinqDataSourceUpdateEventArgs.cs
220           LinqDataSourceValidationException.cs : stubbed out.
221
222 2008-05-08  Marek Habersack  <mhabersack@novell.com>
223
224         * DataPager.cs, DataPager.cs, DataPagerFieldCollection.cs,
225         DataPagerFieldCommandEventArgs.cs, DataPagerField.cs,
226         DataPagerFieldItem.cs, InsertItemPosition.cs,
227         IPageableItemContainer.cs, ListViewCancelEventArgs.cs,
228         ListViewCancelMode.cs, ListViewCommandEventArgs.cs, ListView.cs,
229         ListViewDataItem.cs, ListViewDeletedEventArgs.cs,
230         ListViewDeleteEventArgs.cs, ListViewEditEventArgs.cs,
231         ListViewInsertedEventArgs.cs, ListViewInsertEventArgs.cs,
232         ListViewItem.cs, ListViewItemEventArgs.cs, ListViewItemType.cs,
233         ListViewPagedDataSource.cs, ListViewSelectEventArgs.cs,
234         ListViewSortEventArgs.cs, ListViewTableRow.cs,
235         ListViewUpdatedEventArgs.cs, ListViewUpdateEventArgs.cs,
236         NextPreviousPagerField.cs, NumericPagerField.cs, PageEventArgs.cs,
237         PagePropertiesChangingEventArgs.cs, TemplatePagerField.cs:
238         added. NOTE: this is code in progress! It is not fully implemented
239         and usable, please do not file bug reports for the code - patches
240         are gladly accepted :)
241