1 2008-11-28 Marek Habersack <mhabersack@novell.com>
3 * ListView.cs: use the _correct_ operator when checking whether
4 selected item index is within the data keys range.
6 2008-11-27 Marek Habersack <mhabersack@novell.com>
8 * ListView.cs: fixes in DoUpdate and DoDelete - check must be made
9 that the requested item index is _smaller_ than the number of
11 Enable using the lambda expression in CreateItemsInGroups - the
12 gmcs bug preventing that was fixed.
14 2008-11-20 Marek Habersack <mhabersack@novell.com>
16 * ListView.cs: implemented the EditItem property.
17 Use ConvertEmptyStringToNull in ExtractItemValues.
19 2008-11-19 Marek Habersack <mhabersack@novell.com>
21 * ListView.cs: added paremeter checks to AddControlToContainer.
22 CreateInsertItem must instantiate the template and call raise the
24 Added parameter checks to FindPlaceholder
26 2008-11-18 Marek Habersack <mhabersack@novell.com>
28 * ListViewContainer.cs: added
30 * ListView.cs: implemented grouping support. With this ListView is
32 Refactored grouped/non-grouped rendering common code into separate
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.
39 * ListViewTableCell.cs: added
41 2008-11-15 Marek Habersack <mhabersack@novell.com>
43 * ListViewInsertEventArgs.cs: implemented the Values property.
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.
51 * TemplatePagerField.cs: implemented all the code.
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
61 * NumericPagerField.cs, NextPreviousPagerField.cs,
62 DataPagerFieldCommandEventArgs.cs: minor refactoring
64 * ListViewSelectEventArgs.cs: implemented all the code.
66 * ListViewInsertedEventArgs.cs: Values allocates the dictionary on
68 Initialize all the properties in constructor
70 * DataPagerCommandEventArgs.cs: added
72 * DataPagerField.cs: implemented IsTrackingViewState
74 * DataPagerFieldItem.cs: implements the INonBindingContainer
77 2008-11-13 Marek Habersack <mhabersack@novell.com>
79 * ListView.cs: implemented support for Edit, Update and Delete.
80 Implemented ExtractItemValues.
82 * ListViewDataItem.cs, ListViewItem.cs: implemented OnBubbleEvent.
84 * ListViewDeletedEventArgs.cs, ListViewUpdateEventArgs.cs,
85 ListViewEditEventArgs.cs, ListViewCancelEventArgs.cs,
86 ListViewDeleteEventArgs.cs, ListViewUpdatedEventArgs.cs:
87 implemented all the properties and methods.
89 * HelperExtensions.cs: added
91 2008-11-06 Marek Habersack <mhabersack@novell.com>
93 * ListView.cs: implemented the sorting capability.
95 * ListViewSortEventArgs.cs: implemented all the methods and
98 2008-11-01 Marek Habersack <mhabersack@novell.com>
100 * ListView.cs: do not instantiate the layout template more than
103 * NextPreviousPagerField.cs: moved some common code to the base
104 class (the GetQueryModeStartRowIndex method)
106 * DataPager.cs: do not call SetPageProperties more than
109 * NumericPagerField.cs: implemented
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
116 2008-10-31 Marek Habersack <mhabersack@novell.com>
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.
122 2008-10-30 Marek Habersack <mhabersack@novell.com>
124 * DataPagerFieldCollection.cs: implemented most of the methods and
125 properties, so that using the DataPager is possible now.
127 * PagePropertiesChangingEventArgs.cs: implemented all the methods
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
139 Implemented SetPageProperties () to support paging.
141 * NextPreviousPagerField.cs: Correctly order the Next/Previous
143 When creating buttons, cast the new control properly before
144 assigning properties.
146 * TemplatePagerField.cs: added (stub)
148 * DataPager.cs: added missing class attributes (ParseChildren,
149 PersistChildren and SupportsEventValidation).
150 {Save,Load}ControlState now use constants to index the state
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
159 * NumericPagerField.cs: implemented the CreateField method.
161 * ListViewPagedDataSource.cs: implemented data source
164 * DataPagerFieldItem.cs: implemented all the methods and properties.
166 2008-10-21 Atsushi Enomoto <atsushi@ximian.com>
168 * LinqDataSource.cs : set ContextTypeName too when ContextType is set.
170 2008-10-09 Atsushi Enomoto <atsushi@ximian.com>
172 * LinqDataSource.cs : implement ContextType/ContextTypeName.
173 * LinqDataSourceView.cs : some ExecuteSelect() implementation.
174 Cache type members which are from reflection.
176 2008-10-08 Atsushi Enomoto <atsushi@ximian.com>
178 * LinqDataSource.cs, LinqDataSourceView.cs :
179 some more implementation.
181 2008-09-30 Marek Habersack <mhabersack@novell.com>
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.
194 * ListViewCommandEventArgs.cs: implemented the CommandSource and
197 * ListViewItemEventArgs.cs: implemented the Item property.
199 2008-09-18 Atsushi Enomoto <atsushi@ximian.com>
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.
210 2008-09-18 Atsushi Enomoto <atsushi@ximian.com>
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.
222 2008-05-08 Marek Habersack <mhabersack@novell.com>
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 :)