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 with context menu

treeview with context menu

Scheduled Pinned Locked Moved ASP.NET
helpdata-structuresquestion
2 Posts 2 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.
  • R Offline
    R Offline
    rinku soni 23
    wrote on last edited by
    #1

    Hello every one.First of all i am describing my requirment. Atually in my application i have a treeview controle.TreeView has a Context menu which has option Add item,Delete item,Edit item.When an user select Add New item then there is a window popup.by which user can enter new node.But problem is that i need user selected node for keep as parent node when he click on tree view for add new node as child node. i am not getting the value of node on which right click and want add new child node. How can i get it .please help me.

    G 1 Reply Last reply
    0
    • R rinku soni 23

      Hello every one.First of all i am describing my requirment. Atually in my application i have a treeview controle.TreeView has a Context menu which has option Add item,Delete item,Edit item.When an user select Add New item then there is a window popup.by which user can enter new node.But problem is that i need user selected node for keep as parent node when he click on tree view for add new node as child node. i am not getting the value of node on which right click and want add new child node. How can i get it .please help me.

      G Offline
      G Offline
      GauravKP
      wrote on last edited by
      #2

      When u click on left side root u get the Root Node, now select this Root node and then click the "Add Child Node" option. It solves ur problem

      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