ChangeLog 7.9 KB

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