ChangeLog 8.9 KB

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