[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Collapse]Multi-Use Site Controls
   [Expand]Product Information
   [Expand]Callback Control
   [Expand]Callback Panel
   [Expand]Captcha Control
   [Expand]HiddenField
   [Collapse]ObjectContainer
     ASPxObjectContainer Overview
   [Expand]Rating Control
   [Expand]RoundPanel
   [Expand]Timer Control
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

ASPxObjectContainer Overview

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.

 

Expanded HTML5 Audio

Support MP3 audio files.

Expanded HTML5 Video

Support MP4 video files.

Expanded Macromedia Shockwave Flash (SWF)

For more information on flash object settings, see FlashObjectProperties.

Expanded Image

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

For more information on image object settings, see ImageObjectProperties.

Expanded 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.

Expanded 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.

Is this topic helpful?​​​​​​​