aspnet-devexpress-dot-web-dot-aspxtitleindex-b28af38b.md
Gets or sets the data source field which provides item URLs.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue("")]
public string NavigateUrlField { get; set; }
<DefaultValue("")>
Public Property NavigateUrlField As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A string value that specifies the name of the data source field which contains item URLs.
|
When the ASPxTitleIndex control is data bound, the name of the data field that provides URLs for items is specified by the NavigateUrlField property. Otherwise, if the control functions in unbound mode, use the item’s TitleIndexItem.NavigateUrl property to specify the item’s URL.
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