Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Prevent Treeview (2.0) from posting back...

Prevent Treeview (2.0) from posting back...

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdata-structureshelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    turbochimp
    wrote on last edited by
    #1

    Has anyone come across a way to prevent the ASP.Net 2.0 Treeview web control from posting back on select? I know you can set the select action for the node to 'None', but then you are forced to use checkboxes to determine selected items, which is also not attractive for my purposes, since I don't want to allow multiselect. Basically, I want the same kind of functionality that is currently available from ListBox, but I need to display hierarchical data (so, really, I'm describing the IE Treeview control, I guess). The problem arises from a Treeview with (potentially) several thousand nodes in it. Each time one is selected, the page posts back forcing the entire tree to render again, which is prohibitively slow. Anybody with ideas, bring 'em on. Thanks

    The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’

    -- modified at 0:58 Tuesday 10th January, 2006

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups