ASPxTitleIndex.NavigateUrlFormatString Property
Gets or sets the pattern used to format URLs.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v20.2.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | "{0}" | A string value that represents the format pattern. |
Remarks
Note
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.
Example
This example demonstrates how to implement custom group ranges in the ASPxTitleIndex. The complete sample project is available in the DevExpress Code Central database at E1289.
...
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/nwind.mdb"
SelectCommand="SELECT * FROM [Customers]"></asp:AccessDataSource>
<dxti:aspxtitleindex id="ASPxTitleIndex1" runat="server" groupingfield="GroupText"
navigateurlfield="ID" navigateurlformatstring="?id={0}" textfield="ContactName">
<FilterBox Visible="False"></FilterBox>
<Columns>
<dxti:Column></dxti:Column>
<dxti:Column></dxti:Column>
<dxti:Column></dxti:Column>
<dxti:Column></dxti:Column>
<dxti:Column></dxti:Column>
</Columns>
</dxti:aspxtitleindex>
...
See Also