New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Defines a clickable promotional or informational banner displayed over the media surface at specified times. Configure schedule via StartTime and EndTime; make it dismissible with ShowCloseButton. Example: Display a "Learn More" banner between 5 and 15 seconds linking to a product page.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class MediaPlayerBanner : StateManager, IMarkableStateManager, IStateManager, INamingContainer

Inheritance: objectStateManagerMediaPlayerBanner

Implements: IMarkableStateManagerINamingContainerIStateManager

Inherited Members StateManager.TrackViewState()StateManager.LoadViewState(object)StateManager.SaveViewState()StateManager.IsTrackingViewStateStateManager.ViewStateobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public MediaPlayerBanner()

Properties

Gets or sets the alternate text displayed in the banner when the image is unavailable.

C#
public virtual string AlternateText { get; set; }

Gets or sets the hide time for the banner

C#
public double EndTime { get; set; }

Set the banner image URL (e.g. "~/images/promo1.png" or CDN path). Supports app-relative paths.

C#
public string ImageUrl { get; set; }

The Navigate URL of the baner

C#
public string NavigateURL { get; set; }

Gets or sets whenever the close button should be visible for the banner

C#
public bool ShowCloseButton { get; set; }

Gets or sets the show time of the banner

C#
public double StartTime { get; set; }

Gets or sets the target window or frame in which to display the Web page content linked to when the Banner control is clicked.

C#
[TypeConverter(typeof(TargetConverter))]
public string Target { get; set; }

Gets or sets the text ToolTip of the image shown as banner

C#
public virtual string ToolTip { get; set; }