WCF/WF - how to call treeview methoh using jquery getjson

Asked By Md.ghouse basha on 17-Apr-12 07:15 AM
thnk for reply bt sir look i hve to call treeview method i had created database
|Menuid|MenuName|ParentMenuID|
1    |  gallery    | null
2   |   gifts   |null
   3   |gallery 1.1   |1
like we hve node (parent) and child like i hve to create tree view from database so i had created wcf so i got url from wcf now i hve to call it by using getjson method (ODATA) to show in treeview.html i hve url ineed to call by using Jquery getjson method code plz help me ( i am working on OData)plz help me thnks in advance

<collection href="TreeViews"><atom:title>TreeViews</atom:title></collection> this is wcf i got url :(http://localhost:4308/TreeDataService.svc/TreeViews) so for htis i need call (it like menus calling) in html page bt i should call using getjson method plz help me

Somesh Yadav replied to Md.ghouse basha on 17-Apr-12 07:29 AM
check this,

http://www.jquery4u.com/function-demos/getjson/

http://www.codeproject.com/Articles/124541/Working-on-JSON-objects-in-jQuery-and-MVC