treeview

Where can I find a good treeview control for Flex that supports checkboxes?

To my best knowledge the out-of-the-box Flex 3 treeview control does not support checkboxes. Where can I find a good treeview control that supports checkboxes on any and all nodes. I would prefer open source software but commercial components are not out of the question. ...

How to build an ASP.NET TreeView From Scratch...?

Hey all, I am trying to build a nested/threaded comment system in ASP.NET. I don't know how the PHP guys do it. Its much harder than first imagined. I am trying my damnedest get Hierarchical data to output to the user, but its not working. I have a table with text, a itemID and a parentID. I want to display the information in a t...

C# how do I ensure the selected node remains highlighted when focus lost

I have changed the Treeview.HideSelection = false; But how do I insure that when focus is lost that the selected item remains the original selected color? EDIT: I have a listview on a form that holds a list of process events. Alongside the Treeview on the same form is a series of selections that the user completes to classify the even...

C# - How do I scroll selected treeview node into view

Hello, I have a system.windows.forms.treeview docked inside a panel that I am setting a node selected programically. What method or property would I use to have the treeview scroll the selected into view. Thanks ...

TreeView Control in ASP .NET

I am using a asp .net tree view control whose "ShowCheckBoxes" property has been set to "All". Now if the user checks the root node, i want all nodes under it to be "checked". I have looked at the event model, but i cannot find a event or a property that tells me if the checked node is a root or a child node. How do i find if the sele...

Select a Node in a TreeView with VBA

I have a TreeView within a UserForm in Excel. When a Node is selected from the TreeView, a ListBox is populated with data. When an item in the ListBox is double-clicked, a separate UserForm is shown which allows the user do to stuff. Once the user returns back to the TreeView UserForm, I want the Node that was selected previously to be h...

treeview checkbox: how to check on select and vice versa

I'm working on a treeview with its CheckBoxes property set to true. I want the same functionality as in a CheckListBox in that if I check the box of a treenode, that node will be selected; and if I select a node, that node's checkbox will be checked. I'm not sure what event I need to hookup to do this. Please help. Thanks. ...

TreeView populates on its own and crashes Access

Hello everybody. My problem is a tree view in my Access 2002 application. It is already populated, when I open the form. Which is strange, because the only code that adds the nodes is bound to a button. Also, only part of the data is shown and when I switch between tabs () the data inside the tree view duplicates/doubles. When I then...

TreeView double-click behaviour in .net / C#

Hi, I have a regular .net windows forms treeview control. The nodes are setup like this: Group ---child ---child If I double-click a collapsed Group node, it expands (as you'd expect) and the NodeMouseDoubleClick event is fired off, where my code does something if the selected node is NOT a group node. The problem arises when the ...

Silverlight Toolkit TreeView control and expandability

Is it possible to configure the TreeView control in the Silverlight tookit such that some or all of the hierarchy levels will be automatically expanded and ideally something that can't be collapsed at that level. I'm using this control in large part due to the ease of handling hierarchical data and the ease with which I CAN expand/colla...

Treeview Event Handling ASP.Net

I have a treeview with three Nodes, All I want is to attach EVent Handling functionality to only two nodes the third node will be there for representational purpose only. ...

Column-Size on GTK TreeViews

How can I set the horizontal size of a specific column on a GTK-TreeView? I have 4 columns on my TreeView and the last one expands on the rest of the free space. How can I set the first or second column to be expanded on the free space os set a fixed width on all columns? ...

How to get ClientID of a TreeNode in a TreeView?

Hi all. How to get ClientID of a TreeNode in a TreeView based on one of its rendered attributes, for example, its title attribute (In my case it's unique) ,using either Server-Side or Client-Side code? I go with this code, but it doesn't work, any suggestion? // Retrieves TreeNode ClientID. function GetTreeNodeID(nodeTitle) ...

.Net C# Design View errors

Hi, I have subclassed a Treeview and on instantiation it loads a new ImageList (and the associated Images). Whenever I switch to the designer view, it's also trying to run this code, however the images aren't in the designer's path, so it crashes. I ended up putting in a hack to see if the current directory is "Visual Studio", then do...

C# Treeview state expanded

Hi, I have a treeview in my masterpage. When a contentpage is loaded i want to save the treeview state (which nodes are collapsed/expanded). I store the nodes in an ArrayList. Code: private void SaveTreeviewState(TreeNodeCollection nodes) { foreach (TreeNode t in nodes) { // Store expandable state in ArrayList (true or...

C# TreeView design - best way to display a tree structure?

I'm trying to use a TreeView to display a tree structure of objects. I have a tree of four types of object, Company (the root node), City, Store and Employee. The interface is designed to add/remove Cities/Stores/Employees, so the TreeView has to update to reflect any changes. I am wondering on the correct way to get the TreeView to di...

How do you disable a node in the Silverlight Treeview?

When databinding the Treeview in the Silverlight Toolkit to a data source, how do you then access the TreeViewItem itself to use its IsEnabled property? Or do we lose that functionality and need to support it with any custom hierarchicaldatatemplate? If I'm databinding to a tree of custom objects, how do I then access an individual Tre...

WinForms TreeView

I am looking for a WinForms treeview control with following requirements: Should be not so hard to write code for it (most tree/list combinations are way too complicated) Should have some sort of easy drag and drop capabilities (including a vista-explorer style drop marker) Should be free or at least affordable Should provide some free...

Is it possible to add images to treeview nodes without using a ImageList?

(Using WinForms and C#. -> .Net 2.0) I am adding nodes to a TreeView based on data in a table. As well as the caption to appear on the node, that data also contains Bitmaps. I would like to use the Bitmap from the table as the icon on the TreeViewNode, not one from a pre-existing ImageList. (Normally you designate a Key or an Index of ...

How can I cancel a user's WPF TreeView click?

I've got a WPF application with a Treeview control. When the user clicks a node on the tree, other TextBox, ComboBox, etc. controls on the page are populated with appropriate values. The user can then make changes to those values and save his or her changes by clicking a Save button. However, if the user selects a different Treeview n...