Permalink
Browse files

Release 2.0.0.rc2

Signed-off-by: Geoffrey McGill <geoff@ext.net>
  • Loading branch information...
1 parent 28e1416 commit 7dec8fff4bfe2538bb5e2af47d9b4eb7806d4af5 Geoffrey McGill committed Jul 26, 2012
Showing with 3,430 additions and 969 deletions.
  1. +22 −0 CHANGELOG.txt
  2. +1,012 −0 Ext.Net.Examples/BREAKING_CHANGES.txt
  3. +22 −0 Ext.Net.Examples/CHANGELOG.txt
  4. +1 −1 Ext.Net.Examples/Default.aspx
  5. +0 −2 Ext.Net.Examples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/Logic/TaskWindow.cs
  6. +18 −18 Ext.Net.Examples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/Logic/TasksGrid.cs
  7. +2 −2 Ext.Net.Examples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/Logic/TasksTopBar.cs
  8. +25 −26 Ext.Net.Examples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/Logic/TasksTree.cs
  9. +8 −9 Ext.Net.Examples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/UI/TaskWindow.cs
  10. +43 −31 Ext.Net.Examples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/UI/TasksGrid.cs
  11. +1 −1 Ext.Net.Examples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/UI/TasksTopBar.cs
  12. +48 −33 Ext.Net.Examples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/UI/TasksTree.cs
  13. +10 −9 Ext.Net.Examples/Examples/Combination_Samples/Applications/Simple_Tasks/Default.aspx
  14. +10 −29 Ext.Net.Examples/Examples/Combination_Samples/Applications/Simple_Tasks/resources/main.css
  15. +98 −84 Ext.Net.Examples/Examples/Combination_Samples/Applications/Simple_Tasks/resources/main.js
  16. +26 −0 Ext.Net.Examples/Examples/Getting_Started/Introduction/BREAKING_CHANGES/Default.aspx
  17. +5 −1 Ext.Net.Examples/Examples/Layout/FormLayout/With_UserControls/Address.ascx
  18. +1 −0 Ext.Net.Examples/Examples/config.xml
  19. +4 −1 Ext.Net.Examples/Ext.Net.Examples.csproj
  20. +7 −0 Ext.Net.Examples/Ext.Net.Examples.vsdoc
  21. +4 −4 Ext.Net.Examples/README.txt
  22. +75 −74 Ext.Net.Examples/Web.config
  23. +1 −1 Ext.Net.Examples/resources/css/main.css
  24. +114 −51 Ext.Net.Examples/resources/js/main.js
  25. +1,012 −0 Ext.Net/Build/Ext.Net/BREAKING_CHANGES.txt
  26. +22 −0 Ext.Net/Build/Ext.Net/CHANGELOG.txt
  27. +2 −2 Ext.Net/Build/Ext.Net/Licenses/Ext.NET.Community.txt
  28. +175 −0 Ext.Net/Build/Ext.Net/Licenses/Ext.NET.Pro.txt
  29. +4 −4 Ext.Net/Build/Ext.Net/README.txt
  30. +42 −5 Ext.Net/Build/Ext.Net/extnet/extnet-all-debug.js
  31. +9 −6 Ext.Net/Build/Ext.Net/extnet/extnet-all.js
  32. +1 −1 Ext.Net/Build/Ext.Net/extnet/extnet-all.jsb
  33. +3 −3 Ext.Net/Build/Ext.Net/extnet/resources/css/extnet-all-embedded.css
  34. +3 −3 Ext.Net/Build/Ext.Net/extnet/resources/css/extnet-all.css
  35. +1 −1 Ext.Net/Build/Ext.Net/extnet/resources/extnet-all-css.jsb
  36. +39 −2 Ext.Net/Build/Ext.Net/extnet/src/container/Container.js
  37. +1 −1 Ext.Net/Build/Ext.Net/extnet/src/init/Start.js
  38. +2 −2 Ext.Net/Build/Ext.Net/ux/calendar/calendar-all-debug.js
  39. +2 −2 Ext.Net/Build/Ext.Net/ux/calendar/calendar-all.js
  40. +1 −1 Ext.Net/Build/Ext.Net/ux/calendar/calendar-all.jsb
  41. +2 −2 Ext.Net/Build/Ext.Net/ux/extnet-ux-debug.js
  42. +2 −2 Ext.Net/Build/Ext.Net/ux/extnet-ux.js
  43. +1 −1 Ext.Net/Build/Ext.Net/ux/extnet-ux.jsb
  44. +7 −7 Ext.Net/Build/Ext.Net/ux/mousedistancesensor/mousedistancesensor.js
  45. +1 −1 Ext.Net/Build/Ext.Net/ux/resources/extnet-ux-css-embedded.jsb
  46. +1 −1 Ext.Net/Build/Ext.Net/ux/resources/extnet-ux-css.jsb
  47. +4 −31 Ext.Net/Build/Ext.Net/ux/resources/extnet-ux-embedded.css
  48. +4 −4 Ext.Net/Build/Ext.Net/ux/resources/extnet-ux.css
  49. +7 −7 Ext.Net/Build/Ext.Net/ux/tabmenu/tabmenu.js
  50. +22 −0 Ext.Net/Build/NuGet/Ext.NET.CHANGELOG.txt
  51. +2 −2 Ext.Net/Build/NuGet/Ext.NET.LICENSE.txt
  52. +4 −4 Ext.Net/Build/NuGet/Ext.NET.README.txt
  53. +2 −2 Ext.Net/Build/Templates/Copyright-AGPL.txt
  54. +2 −2 Ext.Net/Build/Templates/Copyright-XPL.txt
  55. +2 −2 Ext.Net/Configuration/BaseLoadConfig.cs
  56. +2 −2 Ext.Net/Configuration/GlobalConfig.cs
  57. +2 −2 Ext.Net/Configuration/HandlerConfig.cs
  58. +2 −2 Ext.Net/Configuration/LoadConfig.cs
  59. +2 −2 Ext.Net/Configuration/QTipCfg.cs
  60. +2 −2 Ext.Net/Configuration/UpdateOptions.cs
  61. +2 −2 Ext.Net/Core/BaseControl/BaseControl.cs
  62. +2 −2 Ext.Net/Core/BaseControl/Container.cs
  63. +2 −2 Ext.Net/Core/BaseControl/Helpers.cs
  64. +2 −2 Ext.Net/Core/BaseControl/IScriptable.cs
  65. +2 −2 Ext.Net/Core/BaseControl/Lifecycle.cs
  66. +2 −2 Ext.Net/Core/BaseControl/Overrides.cs
  67. +2 −2 Ext.Net/Core/BaseControl/PostBack.cs
  68. +2 −2 Ext.Net/Core/BaseControl/ResourceManager.cs
  69. +2 −2 Ext.Net/Core/BaseControl/ScriptBuilder.cs
  70. +2 −2 Ext.Net/Core/BaseControl/UpdatePanel.cs
  71. +2 −2 Ext.Net/Core/BaseControl/ViewState.cs
  72. +2 −2 Ext.Net/Core/BaseItem/BaseItem.cs
  73. +2 −2 Ext.Net/Core/BaseItem/BaseItemCollection.cs
  74. +2 −2 Ext.Net/Core/ChainingPropertyInfo.cs
  75. +2 −2 Ext.Net/Core/ClientConfig.cs
  76. +2 −2 Ext.Net/Core/ConfigItem.cs
  77. +2 −2 Ext.Net/Core/Const.cs
  78. +2 −2 Ext.Net/Core/DirectMethod.cs
  79. +2 −2 Ext.Net/Core/DirectMethodHandler.cs
  80. +2 −2 Ext.Net/Core/DirectRequestFilter.cs
  81. +2 −2 Ext.Net/Core/DirectRequestModule.cs
  82. +2 −2 Ext.Net/Core/DirectRequestType.cs
  83. +2 −2 Ext.Net/Core/ExtNetTransformer.cs
  84. +2 −2 Ext.Net/Core/ExtObject.cs
  85. +2 −2 Ext.Net/Core/HandlerMethods.cs
  86. +2 −2 Ext.Net/Core/IBase.cs
  87. +2 −2 Ext.Net/Core/InitScriptFilter.cs
  88. +2 −2 Ext.Net/Core/Js.cs
  89. +2 −2 Ext.Net/Core/RequestManager.cs
  90. +2 −2 Ext.Net/Core/ResourceContainer.cs
  91. +2 −2 Ext.Net/Core/ResourceHandler.cs
  92. +2 −2 Ext.Net/Core/ResourceManager/Consts.cs
  93. +2 −2 Ext.Net/Core/ResourceManager/License.cs
  94. +2 −2 Ext.Net/Core/ResourceManager/ResourceBags.cs
  95. +2 −2 Ext.Net/Core/ResourceManager/ResourceItem.cs
  96. +2 −2 Ext.Net/Core/ResourceManager/ResourceManager.cs
  97. +3 −3 Ext.Net/Core/ResourceManager/ResourceManager_Globals.cs
  98. +2 −2 Ext.Net/Core/ResourceManager/UpdatePanel.cs
  99. +2 −2 Ext.Net/Core/ResourceManager/XControl.cs
  100. +2 −2 Ext.Net/Core/ResponseManager.cs
  101. +2 −2 Ext.Net/Core/X.cs
  102. +2 −2 Ext.Net/Designers/EmptyDesigner.cs
  103. +2 −2 Ext.Net/Designers/ExtControlActionList.cs
  104. +2 −2 Ext.Net/Designers/ExtControlDesigner.cs
  105. +2 −2 Ext.Net/Enums/AjaxEventType.cs
  106. +2 −2 Ext.Net/Enums/Alignment.cs
  107. +2 −2 Ext.Net/Enums/AnchorPoint.cs
  108. +2 −2 Ext.Net/Enums/AnimationType.cs
  109. +2 −2 Ext.Net/Enums/ApplyMode.cs
  110. +2 −2 Ext.Net/Enums/ArrowAlign.cs
  111. +2 −2 Ext.Net/Enums/BatchUpdateMode.cs
  112. +2 −2 Ext.Net/Enums/BoxLabelAlign.cs
  113. +2 −2 Ext.Net/Enums/BoxPack.cs
  114. +2 −2 Ext.Net/Enums/ButtonScale.cs
  115. +2 −2 Ext.Net/Enums/ButtonTextAlign.cs
  116. +2 −2 Ext.Net/Enums/ButtonType.cs
  117. +2 −2 Ext.Net/Enums/ChartExportType.cs
  118. +2 −2 Ext.Net/Enums/ChartMask.cs
  119. +2 −2 Ext.Net/Enums/ClientTarget.cs
  120. +2 −2 Ext.Net/Enums/CloseAction.cs
  121. +2 −2 Ext.Net/Enums/CollapseMode.cs
  122. +2 −2 Ext.Net/Enums/CollapseTarget.cs
  123. +2 −2 Ext.Net/Enums/ComboAutoPostBackEvent.cs
  124. +2 −2 Ext.Net/Enums/ConfigOptionsExtraction.cs
  125. +2 −2 Ext.Net/Enums/CssPosition.cs
  126. +2 −2 Ext.Net/Enums/DataLoadMode.cs
  127. +2 −2 Ext.Net/Enums/DatePickerType.cs
  128. +2 −2 Ext.Net/Enums/DateUnit.cs
  129. +2 −2 Ext.Net/Enums/DefaultRenderTo.cs
  130. +2 −2 Ext.Net/Enums/DesignMode.cs
  131. +2 −2 Ext.Net/Enums/Direction.cs
  132. +2 −2 Ext.Net/Enums/Dock.cs
  133. +2 −2 Ext.Net/Enums/DominantBaseline.cs
  134. +2 −2 Ext.Net/Enums/DropDownMode.cs
  135. +2 −2 Ext.Net/Enums/DropPoint.cs
  136. +2 −2 Ext.Net/Enums/Easing.cs
  137. +2 −2 Ext.Net/Enums/EmptyValue.cs
  138. +2 −2 Ext.Net/Enums/HBoxAlign.cs
  139. +2 −2 Ext.Net/Enums/HideMode.cs
  140. +2 −2 Ext.Net/Enums/HtmlEvent.cs
  141. +2 −2 Ext.Net/Enums/HttpMethod.cs
  142. +2 −2 Ext.Net/Enums/IDMode.cs
  143. +2 −2 Ext.Net/Enums/Icon.cs
  144. +2 −2 Ext.Net/Enums/IconAlign.cs
  145. +2 −2 Ext.Net/Enums/ImageLocationType.cs
  146. +2 −2 Ext.Net/Enums/InitScriptMode.cs
  147. +2 −2 Ext.Net/Enums/InitValueValidation.cs
  148. +2 −2 Ext.Net/Enums/InputType.cs
  149. +2 −2 Ext.Net/Enums/InsertPosition.cs
  150. +2 −2 Ext.Net/Enums/JsonMode.cs
  151. +2 −2 Ext.Net/Enums/KeyCode.cs
  152. +2 −2 Ext.Net/Enums/KeyEventAction.cs
  153. +2 −2 Ext.Net/Enums/LabelAlign.cs
  154. +2 −2 Ext.Net/Enums/Layout.cs
  155. +2 −2 Ext.Net/Enums/LazyMode.cs
  156. +2 −2 Ext.Net/Enums/LegendPosition.cs
  157. +2 −2 Ext.Net/Enums/LoadMode.cs
  158. +2 −2 Ext.Net/Enums/MaskTarget.cs
  159. +2 −2 Ext.Net/Enums/MessageTarget.cs
  160. +2 −2 Ext.Net/Enums/ModelFieldType.cs
  161. +2 −2 Ext.Net/Enums/MultiSelectMode.cs
  162. +2 −2 Ext.Net/Enums/NoteAlign.cs
  163. +2 −2 Ext.Net/Enums/Orientation.cs
  164. +2 −2 Ext.Net/Enums/Overflow.cs
  165. +2 −2 Ext.Net/Enums/Position.cs
  166. +2 −2 Ext.Net/Enums/Region.cs
  167. +2 −2 Ext.Net/Enums/RenderMode.cs
  168. +2 −2 Ext.Net/Enums/RendererFormat.cs
  169. +2 −2 Ext.Net/Enums/ResizeHandle.cs
  170. +2 −2 Ext.Net/Enums/ResourceLocationType.cs
  171. +2 −2 Ext.Net/Enums/ScriptMode.cs
  172. +2 −2 Ext.Net/Enums/ScrollMode.cs
  173. +2 −2 Ext.Net/Enums/SelectionMemoryMode.cs
  174. +2 −2 Ext.Net/Enums/SelectionMode.cs
  175. +2 −2 Ext.Net/Enums/SelectionType.cs
  176. +2 −2 Ext.Net/Enums/SeriesLabelDisplay.cs
  177. +2 −2 Ext.Net/Enums/ShadowMode.cs
  178. +2 −2 Ext.Net/Enums/SortDirection.cs
  179. +2 −2 Ext.Net/Enums/SortTypeMethod.cs
  180. +2 −2 Ext.Net/Enums/SpriteType.cs
  181. +2 −2 Ext.Net/Enums/StandardChartTheme.cs
  182. +2 −2 Ext.Net/Enums/StateProvider.cs
  183. +2 −2 Ext.Net/Enums/StatusAlign.cs
  184. +2 −2 Ext.Net/Enums/StoreAction.cs
  185. +2 −2 Ext.Net/Enums/StrokeLinecap.cs
  186. +2 −2 Ext.Net/Enums/StrokeLinejoin.cs
  187. +2 −2 Ext.Net/Enums/SummaryType.cs
  188. +2 −2 Ext.Net/Enums/TabPanel.cs
  189. +2 −2 Ext.Net/Enums/TemplateWriteMode.cs
  190. +2 −2 Ext.Net/Enums/TextAlign.cs
  191. +2 −2 Ext.Net/Enums/Theme.cs
  192. +2 −2 Ext.Net/Enums/ThreeStateBool.cs
  193. +2 −2 Ext.Net/Enums/TimeIntervalUnit.cs
  194. +2 −2 Ext.Net/Enums/TitleAlign.cs
  195. +2 −2 Ext.Net/Enums/ToolTipType.cs
  196. +2 −2 Ext.Net/Enums/ToolType.cs
  197. +2 −2 Ext.Net/Enums/TreePanelMode.cs
  198. +2 −2 Ext.Net/Enums/TriggerAction.cs
  199. +2 −2 Ext.Net/Enums/VBoxAlign.cs
  200. +2 −2 Ext.Net/Enums/ValidationEventOwner.cs
  201. +2 −2 Ext.Net/Enums/ViewStateMode.cs
  202. +2 −2 Ext.Net/Enums/VisibilityMode.cs
  203. +2 −2 Ext.Net/Events/DirectEvents/AbstractComponent.cs
  204. +2 −2 Ext.Net/Events/DirectEvents/AbstractSelectionModel.cs
  205. +2 −2 Ext.Net/Events/DirectEvents/AbstractStore.cs
  206. +2 −2 Ext.Net/Events/DirectEvents/Base.cs
  207. +2 −2 Ext.Net/Events/DirectEvents/BoxReorderer.cs
  208. +2 −2 Ext.Net/Events/DirectEvents/Button.cs
  209. +2 −2 Ext.Net/Events/DirectEvents/CapsLockDetector.cs
  210. +2 −2 Ext.Net/Events/DirectEvents/CellCommandColumn.cs
  211. +2 −2 Ext.Net/Events/DirectEvents/CellEditing.cs
  212. +2 −2 Ext.Net/Events/DirectEvents/CellSelectionModel.cs
  213. +2 −2 Ext.Net/Events/DirectEvents/Chart.cs
  214. +2 −2 Ext.Net/Events/DirectEvents/CheckBox.cs
  215. +2 −2 Ext.Net/Events/DirectEvents/CheckColumn.cs
  216. +2 −2 Ext.Net/Events/DirectEvents/CheckMenuItem.cs
  217. +2 −2 Ext.Net/Events/DirectEvents/CheckboxGroup.cs
  218. +2 −2 Ext.Net/Events/DirectEvents/ClickRepeater.cs
  219. +2 −2 Ext.Net/Events/DirectEvents/ColorMenu.cs
  220. +2 −2 Ext.Net/Events/DirectEvents/ColorPicker.cs
  221. +2 −2 Ext.Net/Events/DirectEvents/Column.cs
  222. +2 −2 Ext.Net/Events/DirectEvents/ComboBox.cs
  223. +2 −2 Ext.Net/Events/DirectEvents/Component.cs
  224. +2 −2 Ext.Net/Events/DirectEvents/ComponentColumn.cs
  225. +2 −2 Ext.Net/Events/DirectEvents/ComponentDirectEvent.cs
  226. +2 −2 Ext.Net/Events/DirectEvents/ComponentLoader.cs
  227. +2 −2 Ext.Net/Events/DirectEvents/Container.cs
  228. +2 −2 Ext.Net/Events/DirectEvents/CycleButton.cs
  229. +2 −2 Ext.Net/Events/DirectEvents/DataProxy.cs
  230. +2 −2 Ext.Net/Events/DirectEvents/DataView.cs
  231. +2 −2 Ext.Net/Events/DirectEvents/DateField.cs
  232. +2 −2 Ext.Net/Events/DirectEvents/DateMenu.cs
  233. +2 −2 Ext.Net/Events/DirectEvents/DatePicker.cs
  234. +2 −2 Ext.Net/Events/DirectEvents/DefaultSelectionModel.cs
  235. +2 −2 Ext.Net/Events/DirectEvents/Desktop.cs
  236. +2 −2 Ext.Net/Events/DirectEvents/DirectEvent.cs
  237. +2 −2 Ext.Net/Events/DirectEvents/DragTracker.cs
  238. +2 −2 Ext.Net/Events/DirectEvents/DrawComponent.cs
  239. +2 −2 Ext.Net/Events/DirectEvents/Editor.cs
  240. +2 −2 Ext.Net/Events/DirectEvents/Field.cs
  241. +2 −2 Ext.Net/Events/DirectEvents/FieldContainer.cs
  242. +2 −2 Ext.Net/Events/DirectEvents/FieldSet.cs
  243. +2 −2 Ext.Net/Events/DirectEvents/FileUploadField.cs
  244. +2 −2 Ext.Net/Events/DirectEvents/FlashComponent.cs
  245. +2 −2 Ext.Net/Events/DirectEvents/FormPanel.cs
  246. +2 −2 Ext.Net/Events/DirectEvents/GridHeaderContainer.cs
  247. +2 −2 Ext.Net/Events/DirectEvents/GridPanel.cs
  248. +2 −2 Ext.Net/Events/DirectEvents/GridView.cs
  249. +2 −2 Ext.Net/Events/DirectEvents/GroupTabPanel.cs
  250. +2 −2 Ext.Net/Events/DirectEvents/History.cs
  251. +2 −2 Ext.Net/Events/DirectEvents/HtmlEditor.cs
  252. +2 −2 Ext.Net/Events/DirectEvents/Image.cs
  253. +2 −2 Ext.Net/Events/DirectEvents/ImageCommandColumn.cs
  254. +2 −2 Ext.Net/Events/DirectEvents/InlineEditor.cs
  255. +2 −2 Ext.Net/Events/DirectEvents/Menu.cs
  256. +2 −2 Ext.Net/Events/DirectEvents/MenuItem.cs
  257. +2 −2 Ext.Net/Events/DirectEvents/MonthPicker.cs
  258. +2 −2 Ext.Net/Events/DirectEvents/MouseDistanceSensor.cs
  259. +2 −2 Ext.Net/Events/DirectEvents/MultiSelect.cs
  260. +2 −2 Ext.Net/Events/DirectEvents/MultiSelectionModel.cs
  261. +2 −2 Ext.Net/Events/DirectEvents/Node.cs
  262. +2 −2 Ext.Net/Events/DirectEvents/NumberField.cs
  263. +2 −2 Ext.Net/Events/DirectEvents/ObservableDirectEvent.cs
  264. +2 −2 Ext.Net/Events/DirectEvents/PagingToolbar.cs
  265. +2 −2 Ext.Net/Events/DirectEvents/Panel.cs
  266. +2 −2 Ext.Net/Events/DirectEvents/PanelHeader.cs
  267. +2 −2 Ext.Net/Events/DirectEvents/PickerField.cs
  268. +2 −2 Ext.Net/Events/DirectEvents/Portal.cs
  269. +2 −2 Ext.Net/Events/DirectEvents/ProgressBar.cs
  270. +2 −2 Ext.Net/Events/DirectEvents/PropertyGrid.cs
  271. +2 −2 Ext.Net/Events/DirectEvents/Radio.cs
  272. +2 −2 Ext.Net/Events/DirectEvents/RemoteValidation.cs
  273. +2 −2 Ext.Net/Events/DirectEvents/Resizable.cs
  274. +2 −2 Ext.Net/Events/DirectEvents/RowEditing.cs
  275. +2 −2 Ext.Net/Events/DirectEvents/RowEditorDirectEvents.cs
  276. +2 −2 Ext.Net/Events/DirectEvents/RowExpander.cs
  277. +2 −2 Ext.Net/Events/DirectEvents/RowSelectionModel.cs
  278. +2 −2 Ext.Net/Events/DirectEvents/ScriptManager.cs
  279. +2 −2 Ext.Net/Events/DirectEvents/Slider.cs
  280. +2 −2 Ext.Net/Events/DirectEvents/SpinnerField.cs
  281. +2 −2 Ext.Net/Events/DirectEvents/SplitButton.cs
  282. +2 −2 Ext.Net/Events/DirectEvents/StatusBar.cs
  283. +2 −2 Ext.Net/Events/DirectEvents/Store.cs
  284. +2 −2 Ext.Net/Events/DirectEvents/TabPanel.cs
  285. +2 −2 Ext.Net/Events/DirectEvents/TabStrip.cs
  286. +2 −2 Ext.Net/Events/DirectEvents/TablePanel.cs
  287. +2 −2 Ext.Net/Events/DirectEvents/TableView.cs
  288. +2 −2 Ext.Net/Events/DirectEvents/TextField.cs
  289. +2 −2 Ext.Net/Events/DirectEvents/Tool.cs
  290. +2 −2 Ext.Net/Events/DirectEvents/Toolbar.cs
  291. +2 −2 Ext.Net/Events/DirectEvents/ToolbarDroppable.cs
  292. +2 −2 Ext.Net/Events/DirectEvents/TreeNode.cs
  293. +2 −2 Ext.Net/Events/DirectEvents/TreePanel.cs
  294. +2 −2 Ext.Net/Events/DirectEvents/TreeStore.cs
  295. +2 −2 Ext.Net/Events/DirectEvents/TriggerField.cs
  296. +2 −2 Ext.Net/Events/DirectEvents/Window.cs
  297. +2 −2 Ext.Net/Events/Listeners/AbstractComponent.cs
  298. +2 −2 Ext.Net/Events/Listeners/AbstractSelectionModel.cs
  299. +2 −2 Ext.Net/Events/Listeners/AbstractStore.cs
  300. +2 −2 Ext.Net/Events/Listeners/AnimConfig.cs
Sorry, we could not display the entire diff because too many files (2,259) changed.
View
22 CHANGELOG.txt
@@ -1,4 +1,26 @@
**************************************************************************
+* Version 2.0.0 CHANGELOG *
+**************************************************************************
+
+Release Date : 2012-07-24
+Current Version : 2.0.0
+Previous Version : 2.0.0.rc2
+
+UPDATE
+ [r4203] Simple Tasks example is updated
+ [r4219] Added the following feature for Examples Explorer (EE):
+ For example,
+ Typing "http://examples.ext.net/#/search/grid" in the browser address field will filter the examples TreePanel for "grid" and sets up "grid" in the EE filter field.
+ Otherwise, typing "icon" in the EE filter field will cause updating URL to "http://examples.ext.net/#/search/icon".
+
+FIX
+ [r4216] Fixed the FormLayout/With_UserControls example. http://forums.ext.net/showthread.php?20196
+ [r4212] Container with iframe can raise an exception destroying
+ [r4210] Fixed the TabPanel SetActiveTab method which takes an AbstractComponent argument. http://forums.ext.net/showthread.php?20086
+
+
+
+**************************************************************************
* Version 2.0.0.rc2 CHANGELOG *
**************************************************************************
View
1,012 Ext.Net.Examples/BREAKING_CHANGES.txt
@@ -0,0 +1,1012 @@
+**************************************************************************
+* 2.0.x BREAKING CHANGES *
+* *
+* UPGRADING FROM V1 TO V2 *
+* *
+**************************************************************************
+
+Release Date : 2012-07-24
+Current Version : 2.0.0
+
+1. - XControl has been renamed to BaseControl
+ - StateManagedItem has been renamed to BaseItem
+ - StateManagedItemCollection has been renamed to BaseItemCollection
+
+
+2. The IDMode="Explicit" functionality has been changed.
+
+ It still causes the control ClientID to be rendered if a developer explicitly set up the control ID.
+
+ But ClientID doesn't match ID anymore, it is constructed in a common way.
+
+ Use IDMode="Static" isntead.
+
+3. Window .CloseAction "Close" has been renamed to "Destroy".
+
+ Example
+
+ // Old
+ <ext:Window runat="server" CloseAction="Close" />
+
+ // New
+ <ext:Window runat="server" CloseAction="Destroy" />
+
+4. Panel .Padding property has been renamed to .BodyPadding.
+
+ Example
+
+ // Old
+ <ext:Window runat="server" Padding="5" />
+
+ // New
+ <ext:Window runat="server" BodyPadding="5" />
+
+ The .Padding property is still available, although now renders as Padding around
+ the Component, instead of padding in the Body of the Component.
+
+ All previous instance of .Padding should be renamed to .BodyPadding.
+
+5. The server Panel Border property type has been changed from bool to bool?.
+ The server Panel BodyBorder property type has been changed from bool to int?.
+
+6. AccordionLayout .Animate property has been renamed to .AnimatePosition.
+
+ Example
+
+ // Old
+ <ext:AccordionLayout runat="server" Animate="false">
+
+ // New
+ <ext:AccordionLayout runat="server" AnimatePostion="false">
+
+7. AfterRecordUpdatedEventArgs .NewValues has been renamed to .Values.
+
+ Example
+
+ // Old
+ protected void Store1_RecordUpdated(object sender, AfterRecordUpdatedEventArgs e)
+ {
+ var company = new
+ {
+ Name = e.NewValues["company"],
+ Price = e.NewValues["price"],
+ LastChange = e.NewValues["lastChange"]
+ };
+ }
+
+ //New
+ protected void Store1_RecordUpdated(object sender, AfterRecordUpdatedEventArgs e)
+ {
+ var company = new
+ {
+ Name = e.Values["company"],
+ Price = e.Values["price"],
+ LastChange = e.Values["lastChange"]
+ };
+ }
+
+8. GridPanel .StripeRows has been moved to GridView.
+
+ Example
+
+ //Old
+ <ext:GridPanel runat="server" StripeRows="true">
+
+ //New
+ <ext:GridPanel runat="server">
+ <View>
+ <ext:GridView runat="server" StripeRows="true" />
+ </View>
+ </ext:GridPanel>
+
+9. GridPanel .TrackMouseOver has been moved to GridView and renamed to .TrackOver
+
+ Example
+
+ //Old
+ <ext:GridPanel runat="server" TrackMouseOver="true">
+
+ //New
+ <ext:GridPanel runat="server">
+ <View>
+ <ext:GridView runat="server" TrackOver="true" />
+ </View>
+ </ext:GridPanel>
+
+ Note
+
+ In according to ExtJS docs the default value is false. Now it's not. So, it needs to check it in the future.
+ Now is August'17.
+
+10. GridPanel .AutoExpandColumn has been removed. To achieve the same effect use .Flex of Column.
+
+ Example
+
+ //Old
+ <ext:GridPanel runat="server" AutoExpandColumn="Company">
+ <ColumnModel runat="server">
+ <Columns>
+ <ext:Column ColumnID="Company" ... />
+ </Columns>
+ </ColumnModel>
+ </ext:GridPanel>
+
+ //New
+ <ext:GridPanel runat="server">
+ <ColumnModel runat="server">
+ <Columns>
+ <ext:Column Flex="1" ... />
+ </Columns>
+ </ColumnModel>
+ </ext:GridPanel>
+
+11. RowSelectionModel .SingleSelect has been removed.
+
+ Now use the public property .Mode which is defined in AbstractSelectionModel. The possible values are Single (default), Simple and Multi.
+
+ RowSelectionModel and CheckboxSelectionModel inherit from AbstractSelectionModel.
+
+ The default value of .SingleSelect is false: so, the equivalent is Mode="Multi" which is not default and should be set up explicitly.
+
+ Example 1
+
+ //Old
+ <ext:RowSelectionModel runat="server">
+
+ //New
+ <ext:RowSelectionModel runat="server" Mode="Multi">
+
+ Example 2
+
+ //Old
+ <ext:RowSelectionModel runat="server" SinlgeSelect="true">
+
+ //New
+ <ext:RowSelectionModel runat="server" Mode="Single">
+
+ Example 3
+
+ //Old
+ <ext:CheckboxSelectionModel runat="server" SinlgeSelect="false">
+
+ //New
+ <ext:CheckboxSelectionModel runat="server" Mode="Multi">
+
+12. Column .ColumnID has been renamed to .ID
+
+ Now Column is a component and registered in ComponentMgr (http://www.sencha.com/forum/showthread.php?133562)
+
+ Example
+
+ //Old
+ <ext:Column ColumnID="company">
+
+ //New
+ <ext:Column ID="company" runat="server">
+
+13. Column .Header has been replaced with .Text
+ The JavaScript config option .header can still work, but it's deprecated.
+
+ Example 1
+
+ //Old
+ <ext:Column Header="Company">
+
+ //New
+ <ext:Column Text="Company">
+
+ Example 2
+
+ //Old
+ Column c = new Column()
+ {
+ Header = "Company"
+ };
+
+ //New
+ Column c = new Column()
+ {
+ Text = "Company"
+ };
+
+14.1 RecordField has been renamed to ModelField and must be defined in Model.
+
+ Reader .Fields has been removed.
+
+ Example
+
+ //Old
+ <ext:Store runat="server">
+ <Model>
+ <ext:JsonReader>
+ <Fields>
+ <ext:RecordField Name="company" />
+ </Fields>
+ </ext:JsonReader>
+ </Model>
+ </ext:Store>
+
+ //New
+ <ext:Store runat="server">
+ <Model>
+ <ext:Model runat="server">
+ <Fields>
+ <ext:ModelField Name="company" />
+ </Fields>
+ </ext:Model>
+ </Model>
+ </ext:Store>
+
+14.2 Use Validations instead .AllowBlank property.
+
+15. The server HttpProxy class has been renamed to AjaxProxy.
+
+ Example
+
+ //Old
+ <ext:HttpProxy Url="Some.url" />
+
+ //New
+ <ext:AjaxProxy Url="Some.url" />
+
+ And there is no .Method
+ Use ActionMethods
+
+ Example
+
+ //Old
+ <ext:HttpProxy Url="some.url" Method="POST">
+
+ //New
+ <ext:AjaxProxy Url="some.url">
+ <ActionMethods READ="POST" />
+ </ext:AjaxProxy>
+
+
+16. If Store .Proxy is specified, then Reader should be specified for that Proxy.
+
+ Example
+
+ //Old
+ <ext:Store runat="server">
+ <Proxy>
+ <ext:HttpProxy Url="Some.url" />
+ </Proxy>
+ <Reader>
+ <ext:JsonReader Root="Data" TotalProperty="TotalRecords">
+ <Fields>
+ <ext:RecordField Name="Common" />
+ </Fields>
+ </ext:JsonReader>
+ </Reader>
+ </ext:Store>
+
+ //New
+ <ext:Store runat="server">
+ <Proxy>
+ <ext:AjaxProxy Url="Some.url">
+ <Reader>
+ <ext:JsonReader Root="Data" TotalProperty="TotalRecords" />
+ </Reader>
+ </ext:AjaxProxy>
+ </Proxy>
+ <Model>
+ <ext:Model runat="server">
+ <Fields>
+ <ext:ModelField Name="Company" />
+ </Fields>
+ </ext:Model>
+ </Model>
+ </ext:Store>
+
+17. PagingToolbar .PageSize has been removed.
+ Store .PageSize should be used instead.
+
+ Example
+
+ //Old
+ <ext:PagingToolbar runat="server" PageSize="10">
+
+ //New
+ <ext:Store runat="server" PageSize="10">
+
+18. ColumnModel .SetHidden() has been removed.
+
+ Use Column .Hidden
+
+ Example
+
+ //Old
+ this.GridPanel1.ColumnModel.SetHidden(2, true);
+
+ //New
+ this.GridPanel1.ColumnModel.Columns[2].Hidden = true;
+
+19. ColumnModel .SetColumnWidth() has been removed.
+
+ Use Column .SetWidth()
+
+ Example
+
+ //Old
+ this.GridPanel1.ColumnModel.SetColumnWidth(1, 100);
+
+ //New
+ this.GridPanel1.ColumnModel.Columns[1].SetWidth(100);
+
+20. ColumnModel SetColumnHeader method has been removed.
+
+ Use Column Text property.
+
+ Example
+
+ //Old
+ this.GridPanel1.ColumnModel.SetColumnHeader(0, "New label");
+
+ //New
+ this.GridPanel1.ColumnModel.Columns[0].Text = "New label";
+
+21. ColumnModel SetRenderer method has been removed.
+
+ Use Column Renderer property.
+
+ Example
+
+ //Old
+ Renderer r = new Renderer();
+ r.Fn = "change";
+ this.GridPanel1.ColumnModel.SetRenderer(2, r);
+
+ //New
+ Renderer r = new Renderer();
+ r.Fn = "change";
+ this.GridPanel1.ColumnModel.Columns[2].Renderer = r;
+
+22. JavaScript: MixedCollection .itemAt() has been removed.
+ Use .getAt().
+
+ Example
+
+ //Old
+ Panel1.items.itemAt(0);
+
+ //New
+ Panel1.items.getAt(0);
+
+23. GroupingView has been removed and replaced with Grouping feauture.
+
+ Its GroupTextTpl property has been removed. To set up it please use the GroupHeaderTplString or GroupHeaderTpl (XTemplate type) properties.
+
+ Example
+
+ //Old
+ <ext:GridPanel runat="server">
+ <View>
+ <ext:GroupingView
+ HideGroupedColumn="true"
+ runat="server"
+ GroupTextTpl='{text} ({[values.rs.length]} {[values.rs.length > 1 ? "Items" : "Item"]})'>
+ </ext:GroupingView>
+ </View>
+ </ext:GridPanel>
+
+ //New
+ <ext:GridPanel runat="server">
+ <View>
+ <ext:GridView runat="server" />
+ </View>
+ <Features>
+ <ext:Grouping
+ runat="server"
+ HideGroupedHeader="true"
+ GroupHeaderTplString='{text} ({[values.rows.length]} {[values.rows.length > 1 ? "Items" : "Item"]})' />
+ </Features>
+ </ext:GridPanel>
+
+24. GridView .ForceFit has been moved to GridPanel.
+
+25. GridView .EnableRowBody has been removed and replaced with RowBody feature.
+
+ Example
+
+ //Old
+ <ext:GridPanel runat="server">
+ <View>
+ <ext:GridView
+ runat="server"
+ EnableRowBody="true">
+ <GetRowClass Handler="var d = record.data;
+ rowParams.body = 'some html';" />
+ </ext:GridView>
+ </View>
+ </ext:GridPanel>
+
+ //New
+ <ext:GridPanel runat="server">
+ <View>
+ <ext:GridView runat="server" />
+ </View>
+ <Features>
+ <ext:RowBody runat="server">
+ <GetAdditionalData
+ Handler="var d = data;
+ orig.rowBody = 'some html';" />
+ </ext:RowBody>
+ </Features>
+ </ext:GridPanel>
+
+26. GridPanel Command and GroupCommand listeners has been moved to Column listeners
+
+27. Store .SortInfo has been removed.
+ Use Store .Sorters
+
+ Example
+
+ //Old
+ <SortInfo Field="Common" Direction="ASC" />
+
+ //New
+ <Sorters>
+ <ext:DataSorter Property="Common" Direction="ASC" />
+ </Sorters>
+
+28. Store .SerializationMode has been removed.
+ Use ModelField .IsComplex
+ or
+ Store .Data instead of .DataSource equals SerializationMode="Complex".
+
+29. To get Column .Editor working set up CellEditing or RowEditing plugin for GridPanel.
+
+ GridPanel "editing" events are moved to CellEditing/RowEditing.
+
+ Use the editing plugin client startEdit method instead of the ridPanel startEditing one.
+
+ Example
+
+ <ext:GridPanel runat="server">
+ <Plugins>
+ <ext:CellEditing runat="server" />
+ </Plugins>
+ </ext:GridPanel>
+
+30. Signature of ModelField .Convert has been changed.
+ The first argument is a record, not an array of values.
+
+31. Store .BasePrams has been renamed to .Parameters
+ Parameter has been renamed to StoreParameter
+
+32. RowSelectionModel RowSelect and RowDeselect Listener and DirectEvent has been renamed to
+ Select and Deselect
+
+33. RowSelectionModel JavaScript .getSelected() has been removed.
+ Use .getSelection().
+
+34. "Layout" type controls has been removed.
+
+ Use the Layout and LayoutConfig properties of a container.
+
+35. GridFilters plugin became a feature and should be defined in GridPanel .Features, not .Plugins.
+
+36. ScriptTagProxy has been renamed to JsonPProxy
+
+37. BufferView has been removed. Use Store .Buffered property.
+
+38. GridView .ScrollOffset has been moved to GridPanel.
+
+39. Panel .Header has been renamed to .PreventHeader.
+
+ Example
+
+ //Old
+ <ext:Panel runat="server" Header="false">
+
+ //New
+ <ext:Panel runat="server" PreventHeader="true">
+
+40. Now ExtJS doesn't override/extend standard JavaScript classes.
+
+ The createDelegate function has been renamed to bind.
+
+ Example 1
+
+ //Old
+ String.format(string, value1, value2);
+
+ //New
+ Ext.String.format(string, value1, value2);
+
+ Example 2
+
+ //Old
+ var f = function () { };
+ f.defer(10);
+
+ //New
+ Ext.Function.defer(f, 10);
+
+ Example 3
+
+ //Old
+ var f = function () {
+ alert(this);
+ };
+ f.createDelegate('Hello!')();
+
+ //New
+ Ext.Function.bind(f, 'Hello!')();
+
+41. Store .OnRefreshData has been renamed to .OnReadData
+
+42. LockingGridView has been removed.
+ Use Column .Locked property.
+
+43. GridView .MarkDirty has been removed.
+
+44. The RowEditor plugin has been removed.
+
+ Use the RowEditing plugin.
+
+ Use its Edit event instead of the RowEditor AfterEdit one.
+
+ Use its SaveBtnText property instead of the RowEditor SaveText.
+
+45. XMLReader .IDPath has been removed.
+ Use .IDProperty
+
+46. ComboBox .Template has been removed. Use ComboBox ListConfig.Tpl and ListConfig.ItemTpl.
+
+ Example
+
+ //Old
+ <ext:ComboBox runat=server>
+ <Template runat="server">
+ <Html>
+
+ </Html>
+ </Template>
+ </ext:ComboBox>
+
+ //New
+ <ext:ComboBox runat="server">
+ <ListConfig>
+ <Tpl runat="server">
+ <Html>
+
+ </Html>
+ </Tpl>
+ <ItemTpl runat="server">
+ <Html>
+
+ </Html>
+ </ItemTpl>
+ </ListConfig>
+ </ext:ComboBox>
+
+47. ComboBox .LoadingText has been removed. Use ComboBox ListConfig.LoadingText.
+
+ Example
+
+ //Old
+ <ext:ComboBox runat=server LoadingText="Searching..." />
+
+ //New
+ <ext:ComboBox runat="server">
+ <ListConfig LoadingText="Searching..." />
+ </ext:ComboBox>
+
+48. ComboBox .ItemSelector has been removed. Use ComboBox ListConfig.ItemSelector.
+
+ Example
+
+ //Old
+ <ext:ComboBox runat=server ItemSelector="div.my-item" />
+
+ //New
+ <ext:ComboBox runat="server">
+ <ListConfig ItemSelector="div.my-item" />
+ </ext:ComboBox>
+
+49. ComboBox Select listener. An array of records is passed to a listener, not a single record.
+
+50. The ComboBox server SelectedIndex and SelectedItem properties have been removed.
+
+ Use the SelectedItems property.
+
+ Example
+
+ //Old
+ <ext:ComboBox runat="server" SelectedIndex="1">
+
+ //New
+ <ext:ComboBox runat="server">
+ <SelectedItems>
+ <ext:ListItem Index="0" />
+ </SelectedItems>
+ </ext:ComboBox>
+
+51. Store server .UpdateRecordField() has been removed.
+
+ Example
+
+ //Old
+ Store1.UpdateRecordField(0, "company", (object)"New Company");
+
+ //New
+ Store1.GetAt(0).Set("company", (object)"New Company");
+
+52. ComboBox client .triggers collection has been removed. Use .getTrigger(index).
+
+ Example
+
+ //Old
+ ComboBox1.triggers[0]
+
+ //New
+ ComboBox.getTrigger(0)
+
+53. CompositeField hasb been removed and replaced with FieldContainer.
+ Note that default Layout of FieldContainer is "autocontainer", not "hbox".
+
+ Example
+
+ //Old
+ <ext:CompositeField runat="server">
+ <Items>
+ <ext:TextField runat="server" Flex="1" />
+ <ext:TextField runat="server" Flex="1" />
+ </Items>
+ </ext:CompositeField>
+
+ //New
+ <ext:FieldContainer runat="server" Layout="HBoxLayout">
+ <Items>
+ <ext:TextField runat="server" Flex="1" />
+ <ext:TextField runat="server" Flex="1" />
+ </Items>
+ </ext:FieldContainer>
+
+54. Menu ItemClick has been renamed to Click.
+
+55. DropDownField .ComponentAlign has been renamed to PickerAlign.
+
+56. DropDownField new property .MatchFieldWidth has true value by default.
+ So, .Width of a Component is ignored.
+ To avoid it set up MatchFieldWidth="false".
+
+57. TreeNode class has been renamed to Node, .Nodes renamed to .Children.
+ Node has client .data property instead of .attributes one.
+
+58. TreePanel DefaultSelectionModel and MultiSelectionModel has been renamed to TreeSelectionModel.
+ Use .Mode to set up selection mode.
+
+59. FieldUploadField FileSelected event has been removed. Use Change.
+
+60. Form fields .DataIndex has been renamed to .Name.
+
+61. PagingToolbar .PageIndex has been removed. Use Store .LoadPage(index) or set up a respective "start" parameter.
+
+62. MultiSelect .Legend has been removed. Wrap MultiSelect in FieldSet of use ListTitle.
+
+63. Use NumberField instead of SpinnerField.
+
+64. Container .LabelAlign, .LabelPad, .LabelSeparator, .LabelStyle, .LabelWidth has been removed.
+ Use the same properties of container items.
+
+ Note that you can set these properties for all items using Container Defaults or FormPanel FieldDefaults.
+
+65. ColorPalette has been renamed to ColorPicker.
+
+66. ComboBox Mode has need renamed to QueryMode.
+
+67. BottomTitle has been removed. Use Panel HeaderPosition.
+
+68. DataView OverClass has been renamed to OverCls.
+ To set up over class for items, use OverItemCls.
+
+69. MenuTextItem has been removed. You can use, for example, Label or DisplayField.
+
+70. Element .AddClass(), .RemoveClass(), .ToogleClass() has been renamed to, respectively,
+ .AddCls(), .RemoveCls(), .ToogleCls(). Their client side pairs as well.
+
+71. Panel AutoLoad has been removed. Use Loader.
+
+ 71.1. Use DisableCaching instead of NoCache.
+ 71.2. Use Mode="Html" instead of Mode="Merge". It's by default.
+ 71.3. Use LoadMask.ShowMask instead of ShowMask.
+ 71.4. Use LoadMask.Msg instead of MaskMsg.
+ 71.5. Use Loader BeforeLoad and Load events instead of Panel BeforeUpdate and Update.
+
+72. TabPanel ResizeTabs has been renamed to Resizable.
+
+73. CenterLayout has been removed. Please us a combination of HBoxLayout and VBoxLayout.
+
+74. ToolbarReorderer plugin has been renamed to BoxReorderer.
+
+75. The CommandColumn ButtonAlign property has been removed.
+
+ Use the Pack one. The available options are Start (default) | Center | End.
+
+76. TreeNode has been renamed to Node. Node has no client side getUI method.
+ To get a node's HTML element, use the view's getNode method.
+
+ Example
+
+ //New
+ tree.getView().getNode(node)
+
+77. TreeNode has been renamed to Node. Its Draggable property has be renamed to AllowDrag.
+
+78. TreeNode has been renamed to Node. Leaf nodes requires Leaf="true" to be set up.
+
+79. Tool Qtip has been renamed to Tooltip.
+
+80. TreePanel client side initChildren method has been removed. Use the setRootNode method.
+
+81. TreePanel EnableDD has been removed. Set up TreeViewDragDrop plugin for TreePanel View.
+
+82. TreePanel ContainerScroll has been removed.
+
+83. AsyncNode class has been removed. Use Node with NodeType="async".
+
+84. TreeNode has been renamed to Node. Its cliet side ensureVisible method has been removed.
+ Use TreePanel View focusRow method.
+
+ Example
+
+ //New
+ TreePanel.getView().focusRow(node)
+
+85. ModelField Convert. Now the first argument is a record instance, not just an array.
+
+86. BottomTitle plugin has been removed. Use Panel HeaderPosition="Bottom".
+
+87. BoxComponentBase AutoWidth has been removed.
+
+88. PanelBase KeyMap has been removed. Though we are planning to implement it in one of next releases.
+
+89. Calendar: Event and EventCollection classes has been renamed to EventModel and EventModelCollection.
+
+90. ResourceManager Namespace is "App" by default. Any widget will share own client id in that namespace.
+
+ Example (client side)
+
+ //Old
+ TextField1.setValue("Hello World!");
+
+ //New
+ App.TextField1.setValue("Hello World!");
+
+ or
+
+ //New
+ #{TextField1}.setValue("Hello World!");
+
+ You can set up an empty Namespace to get the same as it's in Ext.NET v1.
+
+ Example
+
+ <ext:ResourceManager runat="server" Namespace="" />
+
+91. There is no ViewState on page by default, i.e. ResourceManager DisableViewState="true" by default.
+
+ To get it back, set .DisableViewState="false" for ResourceManager.
+
+92. ColumnLayout doesn't support FitHeight and Split options.
+
+ Please use HBox layout if you need this functionality.
+
+93. The type of TextFieldBase Validator has been changed to JFunction (was string).
+
+ Example
+
+ //Old
+ <ext:TextField runat="server" Validator="myValidator">
+
+ //New
+ <ext:TextField runat="server">
+ <Validator Fn="myValidator" />
+ </ext:TextField>
+
+94. GridPanel Reload method doesn't reload its Store, don't use it.
+
+ Use Store Reload method.
+
+95. The TreePanel ContainerScroll property has been removed.
+
+ If you need its functionality you should set up the same property for DragZone.
+
+96. The TreePanel client side getNodeById has been removed.
+
+ You should deal with TreeStore.
+
+ Example
+
+ //Old
+ tree.getNodeById("nodeId")
+
+ //New
+ tree.getStore().getNodeById("nodeId")
+
+97. The TreePanel server side methods - SetNodeText, SetNodeCls, SetNodeHref, SetNodeIcon, SetNodeIconCls, SetNodeId, SetNodeText, SetNodeTooltip - have been removed.
+
+ Now you should get a node proxy calling the TreePanel GetNodeById method, then call a respective method of that node proxy.
+
+ Example
+
+ //Old
+ TreePanel1.SetNodeText("nodeId", "new text")
+
+ //New
+ TreePanel1.GetNodeById("nodeId").Set("text", "new text")
+
+98. The server Resizable class has been renamed to Resizer.
+
+ Its Draggable property has been removed. For dragging functionality use the common drag&drop components.
+
+99. The TreePanel server SelectNode method has been removed.
+
+ Use the Select method of its selection model.
+
+ Example
+
+ //Old
+ TreePanel1.SelectNode("nodeId");
+
+ //New
+ <ext:TreePanel runat="server">
+ <SelectionModel>
+ <ext:TreeSelectionModel runat="server" />
+ </SelectionModel>
+ </ext:TreePanel>
+
+ TreePanel1.GetSelectionModel().Select("nodeId");
+
+100. The Store server UpdateProxy property has been removed. The server HttpWriteProxy class has been removed.
+
+ Now you can configure AjaxProxy API setting Url for Sync (save) action.
+ http://examples.ext.net/#/GridPanel/Saving_Variations/WebService/
+
+ Or passing the action name as a parameter and analyze that parameter on server.
+ http://examples.ext.net/#/GridPanel/Saving_Variations/HttpHandler/
+
+101. The TreeNode server class has been renamed to the Node one.
+
+ Now it is consider just as a record and doesn't represent UI. Respectively, its UI events like Click, ContextMenu, DblClick, etc. have been removed.
+
+ Use the TreePanel ItemClick, ItemContextMenu, ItemDbl Click events.
+
+102. The EditableGrid plugin has been removed.
+
+ Use the ComponentColumn.
+ http://examples.ext.net/#/GridPanel/ComponentColumn/Editor/
+
+103. The server Column Css property has been removed.
+
+ Use the TdCls property.
+
+ Example
+
+ //Old
+ <ext:Column ... Css="color:red;" />
+
+ //New
+ <ext:Column ... TdCls="my-column" />
+
+ <style type="text/css">
+ .my-column {
+ color: red;
+ }
+ </style>
+
+104. The Store LoadException event has been removed.
+
+ Use the Exception ove.
+
+105. The server ComboBox properties to configure its dropdown list - ListAlign, ListClass, ListEmptyText, ListWidth,
+ MinListWidth, ItemSelector, Shadow, Resizable, LoadingText, etc - should be set up in the ComboBox ListConfig proeprty.
+
+ Example
+
+ //Old
+ <ext:ComboBox
+ runat="server"
+ ListClass="my-list"
+ LoadingText="my loading text"
+ ListWidth="200">
+
+ //New
+ <ext:ComboBox runat="server">
+ <ListConfig
+ runat="server"
+ Cls="my-list"
+ LoadingText="my loading text"
+ Width="200" />
+ </ext:ComboBox>
+
+106. The server NumberField AllowNegative property has been removed. Now just set up MinValue to 0.
+
+ Example
+
+ //Old
+ <ext:NumberField runat="server" AllowNegative="false" />
+
+ //New
+ <ext:NumberField runat="server" MinValue="0" />
+
+107. Using the Toolbar Content now causes an "not supported" exception. It should not be used in Ext.NET v1 as well.
+
+108. The server Store Restful property has been removed. Use RestProxy.
+ http://examples.ext.net/#/GridPanel/Restful/Overview/
+
+109. The server DesktopWindow class and server DesktopModule WindowId property have been removed.
+
+ Use the DesktopModule Window property and a common Window class instance.
+
+110. The server Column Editable property has been removed.
+
+ Return false from a GridPanel or editing plugin BeforeEdit listener to prevent editing.
+
+111. The server Window InitCenter property has been removed as redundant. The Window is rendered in the center by default.
+
+112. The server GridPanel AutoExpandMin and AutoExpandMax properties have been removed.
+
+ Use the Column MaxWidth and MinWidth properties.
+
+113. The server GridPanel LoadMask property has been removed.
+
+ Use the respective properties - LoadMask (true by default), LoadingText, etc. - of GridView.
+
+114. The server ColumnModel class has been removed.
+
+ Use the GridHeaderContainer class.
+
+115. The request utility functions like IsIE, IsGecko, IsChrome, IsWindows, etc. has been moved to RequestManager.
+
+ Example
+
+ //Old
+ if (X.IsIE)
+
+ //New
+ //If (RequestManager.IsIE)
+
+116. The server AjaxStoreResult class has been renamed to StoreResult.
+
+117. The TextField Change event is now fired when a user is typing, not just on blur.
+
+118. The GridPanel "Row..." events like RowClick, RowDblClick, RowContextMenu, etc.
+ have been renamed to ItemClick, ItemDblCLick, ItemContextMenu, etc.
+
+119. The Server AjaxFormResult has been renamed to FormPanelResult.
+
+120. The server Store UseIdCOnfirmation property and the ConfirmationList property have been removed.
+
+ Generally, the Store saving mechanism has been refactored a lot. Please investigate the online examples in the Examples Explorer.
+
+ See also
+ http://forums.ext.net/showthread.php?18186
+
+121. The server EditorCollection Editor property has been removed.
+
+ Use its Primary property or access by [0] index.
+
+122. The Stateful property default value has beed changed to "false". Previously was true.
+
+ So, you need to set up it to true explicitly if you need the stateful functionality.
+
+123. The server Menu EnableScrolling property has been removed. Now you just need to set up Height.
+
+ If the combined menu items height exceeds the Menu height, the scrolling arrows will appear.
+
+124. The server Menu SubMenuAlign property has been removed.
+
+ Use its DefaultAlign property or the MenuItem MenuAlign property.
+
+125. The server GridView HeaderRows proeprty has been removed.
+
+ Use the Column HeaderItems property.
+ http://examples.ext.net/#/GridPanel/MultiHeader/Overview/
+
+126. The FileUploadField FileSelected event has been removed.
+
+ Use the Change one.
View
22 Ext.Net.Examples/CHANGELOG.txt
@@ -1,4 +1,26 @@
**************************************************************************
+* Version 2.0.0 CHANGELOG *
+**************************************************************************
+
+Release Date : 2012-07-24
+Current Version : 2.0.0
+Previous Version : 2.0.0.rc2
+
+UPDATE
+ [r4203] Simple Tasks example is updated
+ [r4219] Added the following feature for Examples Explorer (EE):
+ For example,
+ Typing "http://examples.ext.net/#/search/grid" in the browser address field will filter the examples TreePanel for "grid" and sets up "grid" in the EE filter field.
+ Otherwise, typing "icon" in the EE filter field will cause updating URL to "http://examples.ext.net/#/search/icon".
+
+FIX
+ [r4216] Fixed the FormLayout/With_UserControls example. http://forums.ext.net/showthread.php?20196
+ [r4212] Container with iframe can raise an exception destroying
+ [r4210] Fixed the TabPanel SetActiveTab method which takes an AbstractComponent argument. http://forums.ext.net/showthread.php?20086
+
+
+
+**************************************************************************
* Version 2.0.0.rc2 CHANGELOG *
**************************************************************************
View
2 Ext.Net.Examples/Default.aspx
@@ -83,7 +83,7 @@
<Content>
<div id="titlebar">
<div id="left">
- <div class="minor">Ext.NET</div>
+ <div class="minor">Ext.NET</div>
<div class="title">Examples Explorer <span class="title-sub">(Version 2.0)</span></div>
<div class="badge">built with Ext.NET</div>
</div>
View
2 ...amples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/Logic/TaskWindow.cs
@@ -73,8 +73,6 @@ private void InitLogic()
TreePanel tree = (TreePanel)(taskCategory.Component[0]);
tree.Listeners.ItemClick.Fn = TasksGrid.SCOPE + ".categoryCheckChange";
- this.formPanel.Listeners.Add.Handler = "component.getName = " + TaskWindow.SCOPE + ".getName;";
-
((Button)this.toolbar.Items[0]).Handler = new JFunction(TaskWindow.SCOPE.ConcatWith(".markTask(", this.ID, ", true);")).ToScript();
((Button)this.toolbar.Items[1]).Handler = new JFunction(TaskWindow.SCOPE.ConcatWith(".markTask(", this.ID, ", false);")).ToScript();
((Button)this.toolbar.Items[3]).Handler = new JFunction(TaskWindow.SCOPE.ConcatWith(".deleteTask(", this.ID, ");")).ToScript();
View
36 ...xamples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/Logic/TasksGrid.cs
@@ -21,17 +21,17 @@ private void InitLogic()
ComponentDirectEvent rowDblClick = this.DirectEvents.ItemDblClick;
rowDblClick.Event += RowDblClick_Event;
- rowDblClick.Before = "return ".ConcatWith(TaskWindow.SCOPE, ".openTask(item.store.getAt(rowIndex).id);");
+ rowDblClick.Before = "return ".ConcatWith(TaskWindow.SCOPE, ".openTask(record.getId());");
rowDblClick.Complete = TasksGrid.SCOPE + ".setIndicator(false);";
- rowDblClick.ExtraParams.Add(new Parameter("taskId", "item.store.getAt(rowIndex).id", ParameterMode.Raw));
+ rowDblClick.ExtraParams.Add(new Parameter("taskId", "record.getId()", ParameterMode.Raw));
ComponentDirectEvent command = (this.ColumnModel.Columns[0] as CommandColumn).DirectEvents.Command;
command.Event += Command_Event;
command.Type = DirectEventType.Load;
command.ExtraParams.Add(new Parameter("command", "command", ParameterMode.Raw));
- command.ExtraParams.Add(new Parameter("taskId", "record.id", ParameterMode.Raw));
+ command.ExtraParams.Add(new Parameter("taskId", "record.getId()", ParameterMode.Raw));
command.ExtraParams.Add(new Parameter("filter", TasksGrid.SCOPE + ".getFilterValue()", ParameterMode.Raw));
- command.ExtraParams.Add(new Parameter("categoryID", TasksGrid.SCOPE + ".getActiveNodeCategory().id", ParameterMode.Raw));
+ command.ExtraParams.Add(new Parameter("categoryID", TasksGrid.SCOPE + ".getActiveNodeCategory().getId()", ParameterMode.Raw));
command.Before = TasksGrid.SCOPE + ".setIndicator(true);";
command.Complete = TasksGrid.SCOPE + ".setIndicator(false);";
@@ -68,7 +68,7 @@ private void InitLogic()
click.Event += MarkClick_Event;
click.ExtraParams.Add(new Parameter("ids", TasksGrid.SCOPE + ".getSelectedIds()", ParameterMode.Raw));
click.ExtraParams.Add(new Parameter("filter", TasksGrid.SCOPE + ".getFilterValue()", ParameterMode.Raw));
- click.ExtraParams.Add(new Parameter("categoryID", TasksGrid.SCOPE + ".getActiveNodeCategory().id", ParameterMode.Raw));
+ click.ExtraParams.Add(new Parameter("categoryID", TasksGrid.SCOPE + ".getActiveNodeCategory().getId()", ParameterMode.Raw));
click.Before = TasksGrid.SCOPE + ".setIndicator(true);";
click.Complete = TasksGrid.SCOPE + ".setIndicator(false);";
@@ -108,7 +108,7 @@ void OpenClick_Event(object sender, DirectEventArgs e)
int[] ids = JSON.Deserialize<int[]>(e.ExtraParams["ids"]);
foreach (int id in ids)
{
- new TaskWindow(id).Render();
+ new TaskWindow(id).Render(this.Page.Form.ClientID, RenderMode.RenderTo);
}
}
@@ -155,7 +155,7 @@ public bool ToggleStatus(int[] taskIds, bool? status, int categoryID, string fil
r.Set("CompletedDate", new JRawValue(DateTimeUtils.DateNetToJs(task.CompletedDate.Value)));
}
this.Store.Primary.ResumeEvents();
- this.Store.Primary.FireEvent("datachanged", new JRawValue(this.Store.Primary.ClientID));
+ this.Store.Primary.FireEvent("refresh", new JRawValue(this.Store.Primary.ClientID));
}
return true;
@@ -381,12 +381,12 @@ public void SaveTask(int taskId, JsonObject values)
var ctx = this.DBContext;
Task task = (from t in ctx.Tasks where t.ID == taskId select t).First();
- task.Title = values["Title"].ToString();
- task.DueDate = DateTime.Parse(values["DueDate"].ToString());
- task.CategoryID = int.Parse(values["Name"].ToString());
- task.Description = values["Description"].ToString();
+ task.Title = values.ContainsKey("Title") ? values["Title"].ToString() : "";
+ task.DueDate = values.ContainsKey("DueDate") ? DateTime.Parse(values["DueDate"].ToString()) : DateTime.MinValue;
+ task.CategoryID = values.ContainsKey("Name") ? int.Parse(values["Name"].ToString()) : -1;
+ task.Description = values.ContainsKey("Description") ? values["Description"].ToString() : "";
- if (values["HasReminder"] != null && bool.Parse(values["HasReminder"].ToString()) && values["Reminder"] != null)
+ if (values.ContainsKey("HasReminder") && bool.Parse(values["HasReminder"].ToString()) && values.ContainsKey("Reminder"))
{
task.Reminder = DateTime.Parse(values["Reminder"].ToString());
}
@@ -401,12 +401,12 @@ public void MarkTask(int taskId, bool complete, int categoryID, string filter)
if (!complete)
{
- this.AddScript("TaskWindow_{0}.taskMessage.hide();", taskId);
- this.AddScript("TaskWindow_{0}.markComplete.show();", taskId);
- this.AddScript("TaskWindow_{0}.markActive.hide();", taskId);
- this.AddScript("TaskWindow_{0}.buttonsBar.doLayout();", taskId);
- this.AddScript("TaskWindow_{0}.hasReminder.enable();", taskId);
- this.AddScript("TaskWindow_{0}.reminder.enable();", taskId);
+ this.AddScript("TaskWindow_{0}.down('#taskMessage').hide();", taskId);
+ this.AddScript("TaskWindow_{0}.down('#markComplete').show();", taskId);
+ this.AddScript("TaskWindow_{0}.down('#markActive').hide();", taskId);
+ this.AddScript("TaskWindow_{0}.down('#buttonsBar').doLayout();", taskId);
+ this.AddScript("TaskWindow_{0}.down('#hasReminder').enable();", taskId);
+ this.AddScript("TaskWindow_{0}.down('#reminder').enable();", taskId);
}
}
}
View
4 ...mples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/Logic/TasksTopBar.cs
@@ -45,7 +45,7 @@ private void InitLogic()
click.Event += MarkClick_Event;
click.ExtraParams.Add(new Parameter("ids", TasksGrid.SCOPE + ".getSelectedIds()", ParameterMode.Raw));
click.ExtraParams.Add(new Parameter("filter", TasksGrid.SCOPE + ".getFilterValue()", ParameterMode.Raw));
- click.ExtraParams.Add(new Parameter("categoryID", TasksGrid.SCOPE + ".getActiveNodeCategory().id", ParameterMode.Raw));
+ click.ExtraParams.Add(new Parameter("categoryID", TasksGrid.SCOPE + ".getActiveNodeCategory().getId()", ParameterMode.Raw));
click.Before = TasksGrid.SCOPE + ".setIndicator(true);";
click.Complete = TasksGrid.SCOPE + ".setIndicator(false);";
@@ -54,7 +54,7 @@ private void InitLogic()
click.Event += UnMarkClick_Event;
click.ExtraParams.Add(new Parameter("ids", TasksGrid.SCOPE + ".getSelectedIds()", ParameterMode.Raw));
click.ExtraParams.Add(new Parameter("filter", TasksGrid.SCOPE + ".getFilterValue()", ParameterMode.Raw));
- click.ExtraParams.Add(new Parameter("categoryID", TasksGrid.SCOPE + ".getActiveNodeCategory().id", ParameterMode.Raw));
+ click.ExtraParams.Add(new Parameter("categoryID", TasksGrid.SCOPE + ".getActiveNodeCategory().getId()", ParameterMode.Raw));
click.Before = TasksGrid.SCOPE + ".setIndicator(true);";
click.Complete = TasksGrid.SCOPE + ".setIndicator(false);";
View
51 ...xamples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/Logic/TasksTree.cs
@@ -28,7 +28,7 @@ private void InitLogic()
this.Listeners.Render.Fn = TasksTree.SCOPE + ".init";
this.Listeners.Render.Scope = TasksTree.SCOPE;
- //this.Listeners.RemoveNode.Handler = TasksTree.SCOPE + ".tree.getRootNode().select();";
+ this.Listeners.ItemRemove.Handler = "{0}.tree.selModel.select({0}.tree.getRootNode());".FormatWith(TasksTree.SCOPE);
this.Listeners.ItemContextMenu.Fn = TasksTree.SCOPE + ".onContextMenu";
this.Listeners.ItemContextMenu.Scope = TasksTree.SCOPE;
@@ -64,18 +64,16 @@ private void InitLogic()
mItem.Listeners.Click.Handler = TasksTree.SCOPE + ".deleteCategory();";
mItem.Listeners.Click.Scope = TasksTree.SCOPE;
- //PageTreeLoader loader = (PageTreeLoader)this.Loader.Primary;
- // loader.NodeLoad += TasksTree_NodeLoad;
+ this.Store.Primary.ReadData += TasksTree_NodeLoad;
- //DefaultSelectionModel sm = (DefaultSelectionModel)this.SelectionModel.Primary;
- //sm.Listeners.SelectionChange.Fn = TasksTree.SCOPE + ".selectionChange";
- //sm.Listeners.SelectionChange.Scope = TasksTree.SCOPE;
-
- //this.Listeners.NodeDragOver.Fn = TasksTree.SCOPE + ".nodeDragOver";
- //this.Listeners.NodeDragOver.Scope = TasksTree.SCOPE;
- //this.Listeners.BeforeNodeDrop.Fn = TasksTree.SCOPE + ".beforeNodeDrop";
- //this.Listeners.BeforeNodeDrop.Scope = TasksTree.SCOPE;
+ TreeSelectionModel sm = (TreeSelectionModel)this.SelectionModel.Primary;
+ sm.Listeners.SelectionChange.Fn = TasksTree.SCOPE + ".selectionChange";
+ sm.Listeners.SelectionChange.Scope = TasksTree.SCOPE;
+ var view = this.View[0];
+ view.Listeners.BeforeDrop.Fn = TasksTree.SCOPE + ".beforeNodeDrop";
+ view.Listeners.BeforeDrop.Scope = TasksTree.SCOPE;
+
Button button = (Button)this.bBar.Items[0];
button.Listeners.Click.Handler = TasksTree.SCOPE + ".insertCategory();";
button.Listeners.Click.Scope = TasksTree.SCOPE;
@@ -121,12 +119,6 @@ void TasksTree_RemoteMove(object sender, RemoteMoveEventArgs e)
var ctx = this.DBContext;
- if (ctx.IsListParent(targetNodeId, nodeId).Value)
- {
- e.Accept = false;
- e.RefusalMessage = "You can't move parent node into the child node";
- }
-
Category category = (from tl in ctx.Categories
where tl.ID == nodeId
select tl).First();
@@ -259,17 +251,17 @@ void TasksTree_RemoteAppend(object sender, RemoteAppendEventArgs e)
}
}
- void TasksTree_NodeLoad(object sender, EventArgs e)
+ void TasksTree_NodeLoad(object sender, NodeLoadEventArgs e)
{
- //int folderID = int.Parse(e.NodeID);
+ int folderID = int.Parse(e.NodeID);
- //SimpleTasksDataContext ctx = this.DBContext;
+ SimpleTasksDataContext ctx = this.DBContext;
- //var query = from tl in ctx.Categories
- // where tl.ParentID == folderID
- // select tl;
+ var query = from tl in ctx.Categories
+ where tl.ParentID == folderID
+ select tl;
- //this.ListToNode(query.ToList(), e.Nodes);
+ this.ListToNode(query.ToList(), e.Nodes);
}
private void ListToNode(IEnumerable<Category> lists, NodeCollection nodes)
@@ -280,15 +272,22 @@ private void ListToNode(IEnumerable<Category> lists, NodeCollection nodes)
node.NodeID = tasksList.ID.ToString();
node.Text = tasksList.Name;
node.Leaf = !tasksList.IsFolder;
- node.IconCls = tasksList.IsFolder ? "icon-folder" : "icon-category";
- //node.Editable = true;
+ node.IconCls = tasksList.IsFolder ? "icon-folder" : "icon-category";
node.CustomAttributes.Add(new ConfigItem("isFolder", JSON.Serialize(tasksList.IsFolder), ParameterMode.Raw));
+ if (!tasksList.IsFolder)
+ {
+ node.AllowDrop = false;
+ }
node.Expanded = tasksList.IsFolder;
if (tasksList.Categories.Count > 0)
{
this.ListToNode(tasksList.Categories, node.Children);
}
+ else if(!node.Leaf)
+ {
+ node.EmptyChildren = true;
+ }
nodes.Add(node);
}
View
17 ....Examples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/UI/TaskWindow.cs
@@ -34,13 +34,13 @@ private void BuildToolbar()
{
new Button
{
- ItemID ="../markComplete",
+ ItemID ="markComplete",
IconCls = "icon-mark-complete",
Text = "Mark Complete"
},
new Button
{
- ItemID ="../markActive",
+ ItemID ="markActive",
Hidden = true,
IconCls = "icon-mark-active",
Text = "Mark Active"
@@ -60,15 +60,15 @@ private void BuildToolbar()
private void BuildFormPanel()
{
this.cbxReminder = new Checkbox {
- ItemID ="../../../hasReminder",
+ ItemID ="hasReminder",
BoxLabel = "Reminder:",
Name = "HasReminder",
Checked = false
};
this.dfReminder = new DateField
{
- ItemID ="../../../reminder",
+ ItemID ="reminder",
Disabled = true,
Name = "Reminder",
Width = 135
@@ -97,7 +97,7 @@ private void BuildFormPanel()
Name = "Name",
Editable = false,
Mode = DropDownMode.ValueText,
- ItemID ="../../../taskCategory",
+ ItemID ="taskCategory",
Component =
{
new TreePanel
@@ -106,12 +106,11 @@ private void BuildFormPanel()
Shadow = false,
UseArrows = true,
AutoScroll = true,
- Animate = true,
- RootVisible = false,
+ Animate = true,
Cls = "tasks-tree",
Root =
{
- new Node{NodeID="root"}
+ new Node{NodeID="root", EmptyChildren = true}
},
SelectionModel =
{
@@ -154,7 +153,7 @@ private void BuildFormPanel()
new Component
{
Hidden = true,
- ItemID ="../taskMessage",
+ ItemID ="taskMessage",
AutoEl =
{
Cls = "taskMessage"
View
74 ...t.Examples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/UI/TasksGrid.cs
@@ -20,23 +20,22 @@ public TasksGrid()
this.IconCls = "icon-folder";
this.EnableColumnHide = false;
this.EnableColumnMove = false;
- this.ForceFit = true;
- //this.EnableDragDrop = true;
- //this.DDGroup = "tasktree";
- this.SelectionModel.Add(new RowSelectionModel
- {
- //MoveEditorOnEnter = false
+ this.SelectionModel.Add(new RowSelectionModel {
});
this.View.Add(new GridView
{
- //MarkDirty = false,
- //IgnoreAdd = true,
+ MarkDirty = false,
EmptyText = "There are no tasks to show in this category.",
GetRowClass = { Fn = TasksGrid.SCOPE + ".getRowClass" },
LoadMask = true,
- LoadingText = "Loading Tasks..."
+ LoadingText = "Loading Tasks...",
+
+ Plugins =
+ {
+ new GridDragDrop{ DDGroup = "tasktree" }
+ }
});
Grouping g = new Grouping();
@@ -88,13 +87,20 @@ private void BuildContextMenu()
UseArrows = true,
AutoScroll = true,
Animate = true,
- RootVisible = false,
+ //RootVisible = false,
Cls = "tasks-tree",
Root =
{
- new Node{NodeID="root"}
- }
- ,
+ new Node{NodeID="root", EmptyChildren = true}
+ },
+
+ Store = {
+ new TreeStore
+ {
+ ModelName = "CategoryTree"
+ }
+ },
+
SelectionModel =
{
new TreeSelectionModel()
@@ -144,7 +150,7 @@ private void BuildContextMenu()
{
ID = "mnuTaskGrid_DeleteTask",
Text = "Delete",
- Icon = Icon.Delete
+ IconCls = "icon-category-delete"
}
}
};
@@ -170,9 +176,10 @@ private void BuildHeaderRow()
colModel.Columns[0].HeaderItems.Add(
new Container
{
+ ID = "icnIndicator",
+
AutoEl =
- {
- ID = "icnIndicator",
+ {
Cls = "new-task-icon"
}
});
@@ -197,8 +204,7 @@ private void BuildHeaderRow()
{
ID = "ntCategory",
IDMode = IDMode.Static,
- Disabled = true,
- //LazyInit = false,
+ Disabled = true,
Editable = false,
Mode = DropDownMode.ValueText,
Component =
@@ -211,13 +217,14 @@ private void BuildHeaderRow()
UseArrows = true,
AutoScroll = true,
Animate = true,
- RootVisible = false,
+ //RootVisible = false,
Cls = "tasks-tree",
Root =
{
new Node()
{
- Text = "root"
+ Text = "root",
+ EmptyChildren = true
}
},
SelectionModel =
@@ -237,13 +244,19 @@ private void BuildHeaderRow()
});
colModel.Columns[4].HeaderItems.Add(
- new Button
+ new Container
{
- Icon = Icon.Add,
- ToolTip = "Add new task",
- Handler = TasksGrid.SCOPE + ".onAddTask",
- Scope = TasksGrid.SCOPE
- });
+ Items = {
+ new Button
+ {
+ Icon = Icon.Add,
+ ToolTip = "Add new task",
+ Handler = TasksGrid.SCOPE + ".onAddTask",
+ Scope = TasksGrid.SCOPE
+ }
+ }
+ }
+ );
}
private void BuildColumnModel()
@@ -258,8 +271,8 @@ private void BuildColumnModel()
IconCls = "icon-active",
CommandName = "togglestatus"
}
- },
- Text = "<div class='task-col-hd'></div>",
+ },
+ Cls="task-col-hd",
Width = 25,
Resizable = false,
MenuDisabled = true
@@ -268,7 +281,7 @@ private void BuildColumnModel()
cm.Columns.Add(new Column
{
Text = "Task",
- Width = 400,
+ Flex = 1,
Sortable = true,
DataIndex = "Title"
});
@@ -287,8 +300,7 @@ private void BuildColumnModel()
Text = "Due Date",
Width = 150,
Sortable = true,
- DataIndex = "DueDate",
- //GroupName = "Due"
+ DataIndex = "DueDate"
});
cm.Columns.Add(new Column
View
2 ...Examples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/UI/TasksTopBar.cs
@@ -37,7 +37,7 @@ private void BuildTopBar()
new MenuItem
{
Text = "New Category",
- Icon = Icon.New,
+ Icon = Icon.New
},
new MenuItem
{
View
81 ...t.Examples/Examples/Combination_Samples/Applications/Simple_Tasks/Classes/UI/TasksTree.cs
@@ -21,49 +21,64 @@ public TasksTree()
this.UseArrows = true;
this.Mode = TreePanelMode.Remote;
this.Cls = "tasks-tree";
- //this.EnableDD = true;
- //this.AllowLeafDrop = true;
- //this.DDAppendOnly = true;
+
+ var view = new TreeView();
+ view.Plugins.Add(new TreeViewDragDrop {
+ AllowLeafDrop = true,
+ AppendOnly = true,
+ DDGroup = "tasktree"
+ });
+ this.View.Add(view);
+
this.DirectEventConfig.Type = DirectEventType.Load;
- //this.DDGroup = "tasktree";
-
- /*this.Editors.Add(new TreeEditor
- {
- CancelOnBlur = true,
- ShadowMode = ShadowMode.None,
- Field =
- {
- new TextField
- {
- AllowBlank = false,
- BlankText = "A name is required",
- SelectOnFocus = true
- }
- }
- });*/
-
- //this.Loader.Add(new PageTreeLoader
- //{
- // PreloadChildren = true,
- // RequestMethod = HttpMethod.GET,
- // Type=DirectEventType.Load
- //});
+
+ this.Plugins.Add(new CellEditing());
+
+ this.Editor.Add(new TextField
+ {
+ AllowBlank = false,
+ BlankText = "A name is required",
+ SelectOnFocus = true
+ });
+
+ this.EditorOptions.CancelOnBlur = true;
+ this.EditorOptions.Shadow = Ext.Net.ShadowMode.None;
+
+ this.Store.Add(new TreeStore
+ {
+ Model = {
+ new Model{
+ Name = "CategoryTree",
+ Fields = {
+ new ModelField("isFolder", ModelFieldType.Boolean)
+ }
+ }
+ },
+
+ Proxy = {
+ new PageProxy {
+ RequestConfig = {
+ Method = HttpMethod.GET,
+ Type = DirectEventType.Load
+ }
+ }
+ }
+ });
this.Root.Add(new Node
{
Text = "All Lists",
NodeID = "1",
Leaf = false,
IconCls = "icon-folder",
- Expanded = true,
- //Editable = false,
+ Expanded = true,
CustomAttributes =
{
new ConfigItem("isFolder", "true", ParameterMode.Raw)
}
});
- //this.Sorter.FolderSort = true;
+ this.FolderSort = true;
this.SelectionModel.Add(new TreeSelectionModel());
@@ -127,7 +142,7 @@ private void BuildBottomBar()
new Button
{
ToolTip = "Delete Category",
- Icon = Icon.Delete,
+ Icon = Ext.Net.Icon.Decline,
Disabled = true
},
new ToolbarSeparator(),
@@ -164,7 +179,7 @@ private void BuildCategoryMenu()
new MenuItem
{
Text = "Delete",
- Icon = Icon.Delete
+ IconCls = "icon-category-delete"
}
}
};
@@ -183,7 +198,7 @@ private void BuildFolderMenu()
new MenuItem
{
Text = "New Category",
- Icon = Icon.New
+ IconCls = "icon-category-new"
},
new MenuItem
{
@@ -194,7 +209,7 @@ private void BuildFolderMenu()
new MenuItem
{
Text = "Delete",
- Icon = Icon.Delete
+ IconCls = "icon-category-delete"
}
}
};
View
19 Ext.Net.Examples/Examples/Combination_Samples/Applications/Simple_Tasks/Default.aspx
@@ -6,19 +6,16 @@
<html>
<head runat="server">
<title>Simple Tasks - Ext.NET Examples</title>
- <ext:ResourcePlaceHolder runat="server" Mode="ScriptFiles" />
+
<link href="resources/main.css" rel="stylesheet" type="text/css" />
<script src="resources/main.js" type="text/javascript"></script>
</head>
<body>
<form runat="server">
<ext:ResourceManager
- runat="server"
- InitScriptMode="Linked"
- DirectEventUrl="Default.aspx"
-
-
- />
+ runat="server"
+ Namespace=""