ASP.NET AdRotator Target property
Definition and Usage
The Target property is used to set or return the advertisers where URL.
grammar
<asp:AdRotator Target="target" runat="server" />
属性 | 描述 |
---|---|
target | 字符串值,规定在何处打开目标 URL。
|
Examples
Examples
Set a target for the AdRotator window ( "try" to view the XML instance document):
<form runat="server">
<asp:AdRotator id="ad1" runat="server"
AdvertisementFile="Ad1.xml" target="_blank" />
</form>
<asp:AdRotator id="ad1" runat="server"
AdvertisementFile="Ad1.xml" target="_blank" />
</form>
The demonstration >>
AdRotator control