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. Treeview in Master pages - selected node

Treeview in Master pages - selected node

Scheduled Pinned Locked Moved ASP.NET
helpcomquestion
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.
  • S Offline
    S Offline
    shreekar
    wrote on last edited by
    #1

    Hi I am really stuck with this one. I have got a treeview control in a Master page. When I click on a node, it gets transferred to another page via NavigateURL. The other page (navigated to) also uses the same master page. However, I lose the selected node highlight as its a new page and viewstate does not help. I tried to store the selected node in session and set it on page_load of Master, content, page_init of Master and content - all these approaches return null reference when I try to get a handle to the treeview. I tried FindControl (straight& recursive) while doing the above. I am still not successful. From user's point of view this seems to be a straight forward requirement, I was surprised to find it technically challenging (to me at least :sigh:) Can somebody please help?

    Shreekar http://shreekarishere.blogspot.com

    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