CMSTreeView Class |
Namespace: CMS.DocumentEngine.Web.UI
public class CMSTreeView : TreeView
The CMSTreeView type exposes the following members.
Name | Description | |
---|---|---|
CMSTreeView |
Constructor.
|
Name | Description | |
---|---|---|
mFilterControl |
Filter control.
| |
mFilterName |
Filter name.
| |
mProperties |
Menu properties variable.
|
Name | Description | |
---|---|---|
CacheDependencies |
Cache dependencies, each cache dependency on a new line.
| |
CacheItemName |
Name of the cache item the control will use.
| |
CacheMinutes |
Number of minutes the retrieved content is cached for. Zero indicates that the content will not be cached.
| |
CheckPermissions |
Allows you to specify whether to check permissions of the current user. If the value is 'false' (default value) no permissions are checked. Otherwise, only nodes for which the user has read permission are displayed.
| |
ClassNames |
Property to set and get the classnames list (separated by the semicolon).
| |
Columns |
Gets or sets the columns to be retrieved from database.
| |
CombineWithDefaultCulture |
Property to set and get the CombineWithDefaultCulture flag.
| |
ControlContext |
Control context.
| |
CSSPrefix |
Specifies prefix of standard CMSMenu CSS classes. You can also use several values separated with semicolon (;) for particular levels.
| |
CultureCode |
Property to set and get the CultureCode.
| |
DataSource |
Gets or sets a DataSet containing values used to populate the items within the control. This value needn't be set.
| |
DisplayDocumentTypeImages |
Indicates if images are sets by doc type images.
| |
DynamicBehavior |
Enable populate on demand and load child nodes dynamically.
| |
EncodeMenuCaption |
Indicates if menu caption should be HTML encoded.
| |
ExpandAllOnStartup |
Expand all nodes in tree.
| |
ExpandCurrentPath |
If it is true, treeview will expand all items to the current item.
| |
ExpandSubTree |
Gets or sets the value that indicates whether subtree under current item is expanded.
| |
FilterControl |
Filter control.
| |
FilterName |
Gets or Set filter name.
| |
FixBrokenLines |
Fix broken lines.
| |
GroupedDS |
Grouped data source.
| |
HideControlForZeroRows |
Hides the control when no data is loaded. Default value is False.
| |
HideRootNode |
Gets or sets the value that indicates whether root node is hidden.
| |
HiglightSelectedItem |
Indicates if selected item is highlighted.
| |
IgnoreDocumentMenuAction |
Ignore document menu action.
| |
InactivateAllItemsInPath |
Inactivate all items in path.
| |
InactivateSelectedItem |
Inactivate selected item.
| |
InactiveItemClass |
Inactive item class.
| |
InactiveItemStyle |
Inactive item style.
| |
InactiveNodeImage |
Indicates if node image is inactive.
| |
InactiveRoot |
If it is true, root node is not active.
| |
ItemClass |
Item class.
| |
ItemStyle |
Item style.
| |
JSoriginalClass |
Original item class.
| |
JSoriginalStyle |
Original item style.
| |
JSselectedClass |
Selected item class.
| |
JSselectedObject |
Selected object.
| |
JSselectedStyle |
Selected item style.
| |
LocalResolver |
Local instance of macro resolver.
| |
MaxRelativeLevel |
Property to set and get the MaxRelativeLevel.
| |
NodeImageUrl |
Sets or Get images for every node.
| |
OnClickAction |
Sets or Get onclick javascript action.
| |
OrderBy |
Property to set and get the OrderBy.
| |
Path |
Property to set and get the Path.
| |
RootImageUrl |
If RootImageUrl is set to the some value, this image will be displayed for the root node.
| |
RootText |
If RootText is set to the some value, this value replace normal root node text.
| |
SelectedColumns |
Gets or sets the columns to be retrieved from database.
| |
SelectedItemClass |
Selected item class.
| |
SelectedItemStyle |
Selected item style.
| |
SelectOnlyPublished |
Property to set and get the SelectOnlyPublished flag.
| |
ShowToolTips |
Indicates if images are sets by doc type images.
| |
SiteName |
Property to set and get the SiteName.
| |
StopProcessing |
Stop processing.
| |
SystemMode |
Enable or disable system mode (ignore document show in navigation and e.g.).
| |
TagKey |
Overrides the generation of the SPAN tag with custom tag.
(Overrides TreeViewTagKey.) | |
TopN |
Select top N rows.
| |
TreeProvider |
Tree provider instance used to access data. If no TreeProvider is assigned, a new TreeProvider instance is created.
| |
UseItemImagesForHighlightedItem |
Indicates if highlighted images is not specified, use item image if exist.
| |
WhereCondition |
Property to set and get the WhereCondition.
| |
WordWrap |
Indicates if text can be wrapped or space is replaced with non breakable space.
| |
ZeroRowsText |
Text to be shown when the control is hidden by HideControlForZeroRows.
|
Name | Description | |
---|---|---|
GenerateOnClickAction |
Generate onClick action for node link.
| |
GenerateTree |
Creates the child controls collection.
| |
GetDefaultCacheDependencies |
Gets the default cache dependencies for the data source.
| |
GetNewTreeNode |
Returns a new TreeNode object based on provided data row.
| |
InitControl |
Ensures default data binding
| |
InitializeJavascript |
Initialize javascript variables.
| |
OnInit |
Init event handler
(Overrides TreeViewOnInit(EventArgs).) | |
OnLoad |
Load event handler
(Overrides HierarchicalDataBoundControlOnLoad(EventArgs).) | |
OnPreRender |
OnPreRender override.
(Overrides TreeViewOnPreRender(EventArgs).) | |
OnTreeNodePopulate |
OnTreeNodePopulate.
(Overrides TreeViewOnTreeNodePopulate(TreeNodeEventArgs).) | |
ProcessSubItem(TreeNode, IDataContainer) |
Gets a node item and creates its subnodes.
| |
ProcessSubItem(TreeNode, Int32) |
Gets a node item and creates its subnodes.
| |
ReleaseContext |
Releases the web part context.
| |
ReloadData |
Reload control data.
| |
Render |
Renders the control.
(Overrides WebControlRender(HtmlTextWriter).) | |
SetContext |
Sets the web part context.
|
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |