Click here to Skip to main content
15,851,242 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hii to all,
I got an requirement that i need to work on JS TreeView in mvc3.I have downloaded JsTree plug in and attached to my application,I have searched in google but i didn't find any post related MVC3. now i need to populate a table data present in a SQL Server database,iam using MVC3,EntityFramework4.0, can any one please guide me with an example on how to bind a table data to JsTreeView,
and the table structure(columns) which i want to populate is something like below:-
"EmpId Ename Designation Salary DeptNo"
The above are my table column names,i have to design my TreeView in such a way that all columns of my table should appear as root members of a TreeView,i.e when expand EmpId column all id should display and so on...
Can any one help me with an example related to my above requirement..thanks in advance

Thanks
Ramu
Posted

1 solution

Hi
I suggest to you use the MVC controls tool open project from Codeplex it can use full for your purpose you can see and download it follow of :http://mvccontrolstoolkit.codeplex.com/wikipage?title=TreeView[^]
But if you want get information about MVC3 and Java Script you can follow these links:
http://forums.asp.net/t/1765871.aspx/1?Jquery+ajax+in+Asp+NET+MVC3+Areas[^]
http://weblogs.asp.net/jigardesai/archive/2008/02/04/display-hierarchical-data-in-asp-net-mvc-framework.aspx[^]
http://mikehadlow.blogspot.com/2008/10/rendering-tree-view-using-mvc-framework.html[^]
http://wiki.asp.net/page.aspx/1699/json-with-jquery-mvc3/[^]

Best Regards.
 
Share this answer
 
Comments
Ram7 from Hyderabad 6-Jun-13 6:22am    
Dear Ebrahimi,
Thanks a lot for ur responce, i will go with ur links....
Aydin Homay 6-Jun-13 11:55am    
Congratulation sir ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900