MVC中来自数据库的TreeView

MVC中来自数据库的TreeView

本文介绍了ASP.Net MVC中来自数据库的TreeView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨......我在ASP.Net MVC工作。我在数据库表中有很多分层数据,我希望以树视图的形式在我的View中显示。但问题是最初加载所有数据需要花费太多时间。我应该最初只加载必要的节点,并且仅在需要时保留。请在这方面帮助我,制作一个可增长的树视图,并支持ajax即从服务器获取数据并动态地将其嵌入到树视图中。

Hi...I am working in ASP.Net MVC. I have lot of hierarchical data in database table which i want to show in my View in the form of a treeview. But problem is that it will take too much time to load all the data initially. I should load only necessary nodes initially, and remaining only when needed. Please help me in this regard, to make a treeview which is growable, and ajax supported i.e. to fetch data from server and embed it in treeview dynamically.

推荐答案


这篇关于ASP.Net MVC中来自数据库的TreeView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 20:19