Skip to main content

ASPxMenuBase.NavigateUrlFormatString Property

Gets or sets the pattern used to format item navigation URLs.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public string NavigateUrlFormatString { get; set; }

Property Value

Type Default Description
String "{0}"

A string value that represents the format pattern.



Display values can be formatted using the standard formatting mechanism. It allows you to format values using standard format patterns. Format specifiers for composing the format pattern are described in the Numeric Format Strings and Date and Time Format Strings topics.


The following example illustrates how to use the NavigateUrlFormatString property to specify the NavigateUrl property with two parameters.

<dx:ASPxMenu ID="ASPxMenu1" runat="server" NavigateUrlFormatString="Categories.aspx?id={0}">
    <dx:MenuItem Text="Cat1" NavigateUrl="1" />
    <dx:MenuItem Text="Cat2" NavigateUrl="2" />
See Also