ChangeLog 8.5 KB

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