Quick Links
ASPTreeView Control Properties
<%@ Import Namespace="obout_ASPTreeView_2_NET" %>
Properties - Select node on server side
Properties
SETTINGS
SelectedId
ID of a node to mark selected on load.
Optional
oTree.SelectedId = "books"
SelectedEnable
Set to False to desable script for selecting node.
Optional
For example if you have complex HTML code in nodes and don't want to highlight it.
oTree.SelectedEnable = True
SelectDisableId
List node IDs with commas. These nodes will not be selectable.
Optional
oTree.SelectDisableId = "id55,id56,id82"
Properties
SETTINGS
Height
String with height value.
Optional
oTree.Height = "800px"
oTree.Height = "100%"
Width
String with width value.
Optional
oTree.Width = "200px"
Width_ScrollWider
String with width if you need to add horizontal scrollbar.
Optional
Set this property wider than value in property
Width
.
oTree.Width_ScrollWider = "500px"
id
Set id of <DIV> element with the whole treeview inside. Default "tree1".
Optional
oTree.id = "tree1"
ShowIcons
When True, image icons will be shown.
Optional
oTree.ShowIcons = True
Properties
SETTINGS
FolderIcons
Path to directory with image icons.
Optional
oTree.FolderIcons = "tree2/icons"
FolderStyle
Path to directory with TreeView style (plus-minus images).
Optional
oTree.FolderStyle = "tree2/style/Classic"
FolderScript
Path to directory with javascript files.
Optional
oTree.FolderScript = "tree2/script"
MultiSelectEnable
Boolean. Set to true when you need to select multiple nodes with CTRL+CLICK.
Optional
oTree.MultiSelectEnable = true
Also see variable
ob_sn2
on client side.
ExpandSingleEnable
Boolean. Set to true when you want only single node to be expanded and other sibling nodes to collapse automatically.
Optional
oTree.ExpandSingleEnable = true
KeepLastExpanded
Used for keeping the state of the treeview.The last expanded nodes will
be expanded automatically when the page is visited again.
Optional
oTree.KeepLastExpanded = 5
KeepLastCollapsed
Used for keeping the state of the treeview.The last collapsed nodes will
be collapsed automatically when the page is visited again.
Optional
oTree.KeepLastCollapsed = 4
SubTree
Set to True only if tree is dynamically loaded into main tree.
Optional
oTree.SubTree = True
EventList
String with event names. These events will be enabled.
Optional
oTree.EventList = "OnNodeSelect,OnNodeDrop"
See
this page
for more information on events.
XHTML_Compliant
If set to true, link to CSS file will not be generated. The link to the CSS file must be
manually copied to the
<head>
section of your page.
Optional
oTree.XHTML_Compliant = true
ShowRootIcon
Show/hide the icon of the Root node.
Optional
oTree.ShowRootIcon = true
See
example
.
ShowRootPlusMinus
Show/hide the +/- button of the Root node.
Optional
oTree.ShowRootPlusMinus = true
See
example
.
SelectOnCollapse
If
true
, when the parent of the selected node is collapsed, the parent will be automatically selected. Otherwise, the selected node will keep its selected state when its parent is collapsed.
Optional
Default:
true
See
example
.
ShowJSWarning
Enable/disable the warning message that is displayed when the JavaScript files of the TreeView are not loaded correctly.
Optional
oTree.ShowJSWarning = true
Properties - Drag and Drop
Properties
SETTINGS
DragAndDropEnable
Boolean. Set True if you need Drag-and-Drop.
Optional
oTree.DragAndDropEnable = True
DragDisableId
List node IDs with commas. These nodes will not drag.
Optional
oTree.DragDisableId = "id55,id56,id82"
DropDisableId
List node IDs with commas. Tree will not drop to these nodes.
Optional
oTree.DropDisableId = "id21,id22,id23"
Properties - Editing
Properties
SETTINGS
EditNodeEnable
Boolean. Set it to
true
to enable the editing feature for the nodes.
Optional
oTree.EditNodeEnable = true
EditDisableId
Disable the editing for specific nodes.
Optional
oTree.EditDisableId = "id81,id82,id83"
Properties - Debugging
Properties
SETTINGS
ShowLost
Boolean. Set to True and children without parents will be added to the root by default.
Optional
oTree.ShowLost = True
ShowLostRed
Boolean. Set to True to see children nodes added before their parents in red color.
Optional
oTree.ShowLostRed = True
"
We’re very happy customers. Thanks for the great turnaround time and attention with your tech support.Thanks.
"
Chris LoPresto
Microdesk, Inc.
obout.com
obout.com Home
News
TreeView
Home
Download
Site Map
Styles
Classic
Classic
Dynamic Loading
No Icons
Black
Black No Icons
Background image
Premiere
black
blue
green
red
violet
yellow
Explorer
Gray
Help
HelpPlus
MSDN
TMenu
TMenu (small icons)
Vista
Web
White
XPBlue
Win2003
Right To Left
Features
Drag and drop
- 18
Drag-n-Drop
Custom
Multi-node
Dragging with children
Drop in textboxes
External D'n'D
Move nodes 1
Renumber nodes
Auto Scrolling
Copy / Move nodes
D'n'd and Dynamic Loading
Drop in listboxes
Drop in listboxes 2
Restrict Levels
D'n'D with various options
Disable dropping in two trees
Not-allowed Icon
Sort after D'n'D
Dynamic loading
- 6
Web style
MSDN style
Deep tree
Reload subtrees
Loading trees partially
Virtual Scrolling
Add/remove nodes
- 4
Add/remove on client-side
Alphabetical order
Add to dynamic subtrees
Remove all children
Edit nodes
- 4
Edit nodes
Edit Hyperlinks
Nodes with Checkboxes
Sort after Edit
Select nodes
- 3
Find selected node
Select multiple nodes
Highlight parent
Layout
- 2
Width, height and scrollbars
Root node
TreeView state
- 3
Dynamic
Keep expanded
Keep collapsed
File system
- 3
Show file system
File system loading
File system manager
Additional data for each node
- 3
Details
On client side
Image viewer
Expand/collapse nodes
- 2
By level
Single folder
Multiple trees
- 4
Two Trees
Two Trees custom
Two Trees enhancement
Move Nodes BTWN Trees
Different Styles
Validation
- 2
D-n-d on server
Edit on server
Integration
- 14
With a context menu
Attach EasyMenu
Attach menu on-demand
Attach to dynamic nodes
Attach menu to icons
Change icons
With Flyout
With splitter
MS AJAX
With checkboxes
Dynamic checkboxes
With a combobox
With modal dialog
Outlook sliding menu
With tabstrip
Customization
- 7
Icons for treeview
Aligned columns
CSS Tutorial
Hover node effect
Multi-Level Slide Menu
Select on Collapse
From Dennis
From/To XML file
Keyboard navigation
Search nodes
Client-side events
Knowledge Base
HOW-TOs and help
Knowledge Base
Tips and tricks
Documentation
Method Add
Server side
Client side
Client side events
XML
Methods
XML tutorial
Client side tutorial
Tutorial 1
Tutorial 2
Tutorial 3
Tutorial 4
Events
Tutorial
Event handlers
Tutorials
Using the correct path
Improving performance
In a user control
AutoPostBack with various options
Open in Search pane
Move nodes by clicking a button
Postback on node select
Switch icons
Products
AjaxPage
Calendar
Color Picker
Date Picker
File Upload Progress
Flyout
Grid
Editor
ImageZoom
Scheduler
Show
Spell Checker
Splitter
TabStrip
Treeview
Tree_DB
Window
Menu
Context Menu
Easy Menu
Slide Menu
Text Menu
Combobox
Autosuggest
Multilevel
State Selector
Interface Controls
Button
Checkbox
Combobox
Multilevel textbox
Radio Button
Textbox
Download
Download page
Install FAQ
Tech Support
Our clients
Testimonials
Support
Support
Purchase
Purchase page
Contact Sales
License info
Sales FAQ
Customer login
Print Invoice
Installation
Company
Legal
Clients
Testimonials
Contact