Apr 21, 2015, 10:19 PM
[CLOSED] Load tree with WebAPI call
I set a tree's loader to a webapi action. What should be the return datatype for that action? If I return string, the tree doesn't load. I also tried returning object, but in both cases, response is wrapped in quotes.
<HttpGet> _ Public Function GetNodes() As Object Dim nodes = GetTreeNodes() Return nodes.ToJson() End Function
Last edited by Daniil; Apr 23, 2015 at 8:45 AM. Reason: [CLOSED]