TreeListExtension.BindToSiteMap(String, Boolean) Method
Binds the TreeList to a SiteMap data source.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public TreeListExtension BindToSiteMap(
string fileName,
bool showStartingNode
)
#Parameters
Name | Type | Description |
---|---|---|
file |
String | A string specifying the file name. |
show |
Boolean | A boolean value specifying whether to show a starting node |
#Returns
Type | Description |
---|---|
Tree |
An extension object. |