Aspxobjectcontainer It can be said that the object display set can display a variety of resources, such as falsh, video, audio, etc., saving It is difficult to add different <object/> labels on a webpage.
The displayed resources are summarized as follows:
SWF :. SWF
Image :. BMP,. GIF,. ICO,. JPEG,. PNG.
Video :. ASF, Asx, Avi, MP4, MPE, MPEG, mpg, WM, WMV, wmx, WVX.
Audio :. AIF, aifc, AIFF, AU, m4a, mid, Midi, MP2, MP3, MPa, RMI, SND, . Wav, wax, WMA.
Of course, the usage is also very simple, you only need to drag and dropAspxobjectcontainerControl.
Image Display:
Code:
Code
Image:
< Dxoc: aspxobjectcontainer ID = "Aspxobjectcontainer1" Runat = "Server" Objecturl = "~ /Images/files/sample.jpg" >
</ Dxoc: aspxobjectcontainer >
< BR />
Flash
< Dxoc: aspxobjectcontainer ID = "Aspxobjectcontainer2" Runat = "Server" Objecturl = "~ /Images/files/sample.swf" >
</ Dxoc: aspxobjectcontainer >
< BR />
Image
< Dxoc: aspxobjectcontainer ID = "Aspxobjectcontainer3" Runat = "Server" Objecturl = "~ /Images/files/sample. wmv" >
</ Dxoc: aspxobjectcontainer >
< BR />
Sound
< Dxoc: aspxobjectcontainer ID = "Aspxobjectcontainer4" Runat = "Server" Objecturl = "~ /Images/files/sample.wma" >
</ Dxoc: aspxobjectcontainer >