Tab
A newer version of this page is available. Switch to the current version.

ASPxObjectContainer Class

An ASPxObjectContainer control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public class ASPxObjectContainer :
    ASPxWebControl
Public Class ASPxObjectContainer
    Inherits ASPxWebControl

Remarks

The ASPxObjectContainer control allows media data (flash, image, video, audio) to be present on a web page. The source of the media data is specified by the ASPxObjectContainer.ObjectUrl property. By default, the type of media data is automatically defined by the ASPxObjectContainer control. To manualy specify the media data type, use the ASPxObjectContainer.ObjectType property. To customize the container object's settings, use the ASPxObjectContainer.ObjectProperties property.

ASPxObjectContainer

 

Macromedia Shockwave Flash (SWF)

For more information on flash object settings, see FlashObjectProperties.

Image

The following types of images are supported: BMP, GIF, ICO, JPEG, PNG.

For more information on image object settings, see ImageObjectProperties.

Video

The following types of video files are supported: ASF, ASX, AVI, MP4, MPE, MPEG, MPG, WM, WMV, WMX, WVX.

For more information on video object settings, see VideoObjectProperties.

Audio

The following types of audio files are supported: AIF, AIFC, AIFF, AU, M4A, MID, MIDI, MP2, MP3, MPA, RMI, SND, WAV, WAX, WMA.

For more information on audio object settings, see AudioObjectProperties.

NOTE

The ASPxObjectContainer control provides you with a comprehensive client-side functionality, implemented using JavaScript code:

The control's client-side API is enabled if the ASPxObjectContainer.EnableClientSideAPI property is set to true, or the ASPxObjectContainer.ClientInstanceName property is defined, or any client event is handled.

Note the ASPxClientObjectContainer object is disabled until the ASPxObjectContainer.ObjectUrl property is specified.

See Also