Turn your Mobile Apps into m-commerce apps – Learn More!

You're Browsing As A Guest! Register Now...
Become a VB.NET Expert!

Join 415,718 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 893 people online right now.Registration is fast and FREE... Join Now!



Page 1 of 1
  • You cannot start a new topic
  • Reply Reply

Generate string from treeview multiple selection How to Generate string from treeview Rate Topic: -----

#1 skumarcode  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 14-May 06


Dream Kudos: 0

Share |

Generate string from treeview multiple selection

Post icon  Posted 14 May 2006 - 11:19 AM

Hi
I have a treeview control which diplays information from database tables. For example consider Employee Manager relation ship in a hierachy.

I've want a little help from you experts. I want to generate / build a string which contains the Id of the selected node in the tree view. When User select a node the Id of the selected node is added to the string. If the user deselects the node the corresponding id needs to be removed from the string.

Thanks in advance
Skumar
Was This Post Helpful? 0
  • +
  • -


#2 sontek  Icon User is offline

  • D.I.C Regular
  • Icon

Reputation: 6
  • View blog
  • Posts: 283
  • Joined: 13-September 01


Dream Kudos: 85

Re: Generate string from treeview multiple selection

Posted 14 May 2006 - 05:35 PM

We're going to need a little bit of information, Currently the treeview built into .NET (as far as I know) does not support selecting of multiple nodes which would make your Application easy... Just set the string to ID=TreeView.SelectedNode.Index. But if you've developed a custom treeview that supports multiselect you're going to have to let us know how you're handling the management of it all.


If i'm wrong about the multiselect support sorry :P
Was This Post Helpful? 0
  • +
  • -

#3 shubha  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 17-May 06


Dream Kudos: 0

Re: Generate string from treeview multiple selection

Posted 17 May 2006 - 09:57 PM

Hi,

Can select multiple Nodes in Treeview using checkbox next to the node. When the ShowCheckBoxes property is set to a TreeNodeType other than TreeNodeType.None, check boxes are displayed next to the specified nodes.

Ref: http://msdn2.microso...259(VS.80).aspx
Was This Post Helpful? 0
  • +
  • -

#4 seshuprogrammer  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 13-October 08


Dream Kudos: 0

Re: Generate string from treeview multiple selection

Posted 18 November 2008 - 10:46 PM

how to select multiple nodes without using checkboxes in vb.net
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1
  • You cannot start a new topic
  • Reply Reply


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users