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