[jQuery] [treeview] Get data from ASP.NET webservice using JSON

[jQuery] [treeview] Get data from ASP.NET webservice using JSON


Would it be possible to write the treeview async extensions using the
$.ajax syntax, as it offers more options on how and what you can use
as source for the treeview.
More specifically, i would like to populate using a webservice that
receives json parameters and sends back json
$.ajax({
type:"POST",
url:"webservice.asmx/GetTreeview",
data:'{"source":"root"}',
contentType:"application/json; charset=utf-8",
dataType:"json"
(Data being sent as string is important for ASP.NET will otherwise not
return data as JSON)