dxstanley
/
treelist-how-to-load-data-from-a-database-in-virtual-mode-and-implement-drag-and-drop-e4837
Public
forked from DevExpress-Examples/asp-net-mvc-treelist-virtual-mode-and-drag-and-drop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HomeController.vb
34 lines (26 loc) · 765 Bytes
/
HomeController.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Web
Imports System.Web.Mvc
Imports DevExpress.Web.Mvc
Imports Q515371.Models
Namespace Q515371.Controllers
Public Class HomeController
Inherits Controller
'
' GET: /Home/
Public Function Index() As ActionResult
Return View()
End Function
<ValidateInput(False)> _
Public Function TreeListPartial() As ActionResult
Return PartialView("_TreeListPartial")
End Function
Public Function MoveNodePartial(ByVal EmployeeID As Integer, ByVal ReportsTo? As Integer) As ActionResult
TreeListVirtualModeHelper.MoveNode(EmployeeID, ReportsTo)
Return PartialView("_TreeListPartial")
End Function
End Class
End Namespace