ASP.NET 3.5 and above only

Obout.Ajax.UI Controls - Site Map - Client side

Obout.Ajax.UI.SiteMap.SiteMapTree class

 Inheritance Hierarchy

It is a client-side representation of the server-side Obout.Ajax.UI.SiteMap.SiteMapTree class.

This Tree control is used as an inner Tree for the SiteMap control. It is inherited from the Obout.Ajax.UI.TreeView.Tree class, description of its properties and events you can find in this documentation page.

Below you can find information on the new properties.
Note Note
To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes. For example, to get or set a value for a property such as enableLeavesOnly, you call the get_enableLeavesOnly or set_enableLeavesOnly methods:
// get the SiteMap component
var siteMap = $find("<%= SiteMap1.ClientID %>");
// get all its inner Tree components
var treeComponents = siteMap.get_innerTreeComponents();
// go throw the tree components
for (var i = 0; i < treeComponents.length; i++) {
    // current Tree component
    var tree = treeComponents[i];
    // leaves enabled only?
    if(tree.get_enableLeavesOnly()) {
       // enable all nodes in the tree


Name Description
propertyenableLeavesOnly bool. Gets or sets a value indicating whether leaf nodes functionality is enabled only.
Default false.
propertyenableNodeSelection bool. Gets or sets a value indicating whether node selection is allowed.
Default false.
propertyexpandCollapseEnabled bool. Gets or sets a value indicating whether nodes expand/collapse is allowed.
Default false.
propertyowner object. Gets the owner SiteMap object.

"Thanks for the continued support...You were very helpful to me this week and I am grateful."

Ted Lewis

Random testimonial   All testimonials