Share via


DetailLink Property

The DetailLink property of the WebPart class gets or sets a URL to an HTML document that contains supplemental information.

Property Value

A string that specifies the URL of a page. The default value is String.Empty.

Remarks

Use the DetailLink property to link to more information about a Web Part. If you set the DetailLink property, clicking the title of the Web Part navigates to the the URL you provide.

No target attribute is set on the hyperlink. The target document opens in the same window that hosts the Web Part Page. To return to the Web Part Page, you can provide a redirector to the page.

For example, you can use this property to create a Web Part that exposes top news headlines. You can provide navigation to the news site's home page to display all news headlines. A Web Part that displays stock quotes can provide a link to the site's main home page that offers many other financial services.

This property cannot be personalized by individual users. The value of its WebPartStorageAttribute is Storage.Shared, which specifies that the property will be stored with the same value for all users. Only users with the Write web pages right can set this property. It can be set programmatically, or it can be set through the Web Part task pane in the Shared view of the Web-based user interface, or by using a Microsoft Windows SharePoint Services–compatible HTML editor, such as Microsoft Office FrontPage 2003.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security