TreeNode

How to use the Menu navigation control in ASP.NET in VB.NET

The Menu control like the TreeView control supports hierarchical data. You can bind the Menu to a data source, or you can fill it by hand (declaratively or programmatically) using MenuItem objects. The MenuItem objects don’t support check boxes and you can’t set programmatically their expanded/collapsed state. The next table lists MenuItem properties you can use:

 

Learn more

How to use the Menu navigation control in ASP.NET in C#

The Menu control like the TreeView control supports hierarchical data. You can bind the Menu to a data source, or you can fill it by hand (declaratively or programmatically) using MenuItem objects. The MenuItem objects don’t support check boxes and you can’t set programmatically their expanded/collapsed state. The next table lists MenuItem properties you can use:

 

Learn more

How to assign a set of images to the TreeView control in ASP.NET

The article: How to customize TreeNode object in ASP.NET describes the property ImageUrl you can use to set the image for a single node. You don’t need to use this approach, because you can use three TreeView properties to set images for all your nodes. You can choose the picture that is shown next to all …

Learn more

How to populate the TreeNode objects in ASP.NET in VB.NET

If your project has a large amount of data to display in a TreeView, you probably don’t want to fill it in all at once, because that increase the time taken to process the initial request for the page, and also increase the size of the page and the view state.  The TreeView includes a populate-on-demand …

Learn more

How to populate the TreeNode objects in ASP.NET in C#

If your project has a large amount of data to display in a TreeView, you probably don’t want to fill it in all at once, because that increase the time taken to process the initial request for the page, and also increase the size of the page and the view state.  The TreeView includes a populate-on-demand …

Learn more

How to use the TreeNode object in selection mode in ASP.NET in C#

You can use TreeNode in one of two modes:

– In selection mode, clicking the node posts back the page and raises the TreeView.SelectedNodeChanged event. This is default mode for all nodes.

– In navigation mode, clicking a node navigates to a new page, and the SelectedNodeChanged event is not raised. You …

Learn more

How to customize TreeNode object in ASP.NET

Each node in the TreeView control is represented by a TreeNode object. Every TreeNode has an associated piece of text, which is displayed in the tree. The TreeNode object provides navigation properties such as ChildNode (the collection of nodes it contains) and Parent (the containing node). The next table lists in details all the useful properties …

Learn more