ExcelWebRenderer.AutoGenerateDetailLink Property
Automatically generates the detail link for the Excel Web Access Web Part that allows users to click the Web Part title that appears in the Web Part title bar.
Namespace: Microsoft.Office.Excel.WebUI
Assembly: Microsoft.Office.Excel.WebUI (in Microsoft.Office.Excel.WebUI.dll)
Syntax
'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(True)> _
Public Property AutoGenerateDetailLink As Boolean
Get
Set
'Usage
Dim instance As ExcelWebRenderer
Dim value As Boolean
value = instance.AutoGenerateDetailLink
instance.AutoGenerateDetailLink = value
[WebPartStorageAttribute(Storage.Shared)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(true)]
public bool AutoGenerateDetailLink { get; set; }
Property Value
Type: System.Boolean
true if the detail link value is automatically generated. false if the detail link value is based on what the user provides. The default is true.
Remarks
You can use the AutoGenerateDetailLink property to override the Microsoft Windows SharePoint Services base Web Part DetailLink property. (For more information about the DetailLink property, see the Windows SharePoint Services base Web Part DetailLink property.)
The DetailLink property uses the value entered by the user if the AutoGenerateDetailLink property is set to false. The DetailLink property value will not be generated automatically based on the loaded workbook. When the AutoGenerateDetailLink property is false, if the existing detail link was automatically generated, it will be cleared.