asp.net 2.0 treeview is slow

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?QmlsbHkgWmhhbmc=?=

    asp.net 2.0 treeview is slow

    Now we have to load the whole company's organizational relationships into one
    TreeView which has at lest 6~7 layer and including 300~400 nodes.In every
    node,there is a checkbox.

    So we need following cascade selected effect:

    1. Every time we select one node,all his child nodes' state will be changed
    into selected automatically(i f this node has child node).

    2 . Every time we select one node,his father nodes' state will be be changed
    into selected automatically.

    Now we load all these nodes into TreeView in PageLoad event.And implement
    the cascade selected effect above by using TreeNodeCheckCh anged event.In the
    TreeNodeCheckCh anged event,we will be able to find the selected node,and then
    we can find his father node and son nodes to change their state.

    But now we find out that because of the number of the nodes is so big that
    the treeview is very slow to loaded all the nodes.

    How to speed the treeview performance?

    Thanks,
    -Billy Zhang

    How can we promote this TreeView's performance.

  • =?Utf-8?B?QmlsbHkgWmhhbmc=?=

    #2
    RE: asp.net 2.0 treeview is slow

    Thank you!
    Let me check this.

    -Billy


    Comment

    • Jialiang Ge [MSFT]

      #3
      RE: asp.net 2.0 treeview is slow

      You are welcome. I'm glad to help you.

      If you have any other questions, please don't hesitate to let me know.

      Have a great day!

      Regards,
      Jialiang Ge (jialge@online. microsoft.com, remove 'online.')
      Microsoft Online Community Support

      =============== =============== =============== ====
      Delighting our customers is our #1 priority. We welcome your comments and
      suggestions about how we can improve the support we provide to you. Please
      feel free to let my manager know what you think of the level of service
      provided. You can send feedback directly to my manager at:
      msdnmg@microsof t.com.

      This posting is provided "AS IS" with no warranties, and confers no rights.
      =============== =============== =============== ====

      Comment

      Working...