YouTip LogoYouTip

Prop Webcontrol Bulletedlist Target

## ASP.NET BulletedList Target Property The `Target` property of the ASP.NET `BulletedList` control is used to get or set the target window or frame where the linked Web page is opened when a list item is clicked. --- ## Definition and Usage The `Target` property specifies the target window or frame that will load the URL associated with a list item. This property is only functional when the `DisplayMode` property of the `BulletedList` control is set to `BulletedListDisplayMode.HyperLink`. --- ## Syntax ```xml ``` ### Property Values | Value | Description | | :--- | :--- | | `_blank` | Opens the linked document in a new window or tab. | | `_self` | Opens the linked document in the same frame or window as it was clicked (this is the default). | | `_search` | Opens the linked document in the browser's search pane (supported in older browsers). | | `_top` | Opens the linked document in the full body of the window, breaking out of any frames. | | `_parent` | Opens the linked document in the parent frameset. | | *framename* | Opens the linked document in a custom named frame or window. | --- ## Important Considerations > [!NOTE] > **Prerequisite:** The `Target` property will only take effect if the `DisplayMode` property of the `BulletedList` control is explicitly set to `"HyperLink"`. If `DisplayMode` is set to `"Text"` or `"LinkButton"`, this property is ignored. --- ## Code Example The following example demonstrates how to configure the `BulletedList` control to display items as hyperlinks and set the `Target` property to open links in a new browser window (`_blank`). ```xml <%@ Page Language="C#" %> BulletedList Target Example

BulletedList Target Example

Wikipedia W3C GitHub
```
← Prop Webcontrol Style BackcoloProp Webcontrol Bulletedlist F β†’