ASPxTitleIndex.NavigateUrlFormatString Property
Gets or sets the pattern used to format URLs.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
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.
...
<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