1
I have a TreeView
static representing folders and files in this template:
<asp:TreeView ID="TreeView1" runat="server">
<Nodes>
<asp:TreeNode Text="Diretorio1" Target="_blank">
<asp:TreeNode Text="arquivo1 " Target="_blank"/>
<asp:TreeNode Text="arquivo2" Target="_blank"/>
<asp:TreeNode Text="arquivo 3" Target="_blank"/>
</asp:TreeNode>
<asp:TreeNode Text="diretorio2" NavigateUrl="~/Employer.aspx" Target="_blank">
<asp:TreeNode Text="arquivo1" Target="_blank"/>
<asp:TreeNode Text="arquivo2" Target="_blank"/>
<asp:TreeNode Text="arquivo3" Target="_blank"/>
</asp:TreeNode>
<asp:TreeNode Text="Diretorio3" Target="_blank">
<asp:TreeNode Text="arquivo1" Target="_blank"/>
<asp:TreeNode Text="arquivo2" Target="_blank"/>
<asp:TreeNode Text="arquivo3" Target="_blank"/>
</asp:TreeNode>
</Nodes>
And I have two methods in Entity Framework: One that returns a list of directories and another that returns list of files from a given directory. Both already work and I want to apply in my model.
How would I look to be popular this TreeView
with these my methods?
Have you heard of JSTREE?
– Marconi
yes, but with the treeview in this model that is there.
– War Lock
Not long ago I used this one. Much better than treeviw http://answall.com/questions/43477/montar%C3%A1rvore-jstree
– Marconi
but I already use treeview, and already customized, but thanks anyway.
– War Lock