A newer version of this page is available. Switch to the current version.

PopupControlExtension.BindToSiteMap(String, Boolean) Method

Binds the PopupControl to a sitemap file specified by its name, and specifies whether the starting node should be displayed.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll


public PopupControlExtension BindToSiteMap(
    string fileName,
    bool showStartingNode
Public Function BindToSiteMap(
    fileName As String,
    showStartingNode As Boolean
) As PopupControlExtension


Name Type Description
fileName String

A string specifying the file name.

showStartingNode Boolean

true if the starting node should be displayed; otherwise, false.


Type Description

An extension object.

See Also