RayK50
asked on
How do I embed an <object> definition in an aspx content page?
I am trying to create an object in a content window, but can't get past the stated error. The object definition works when it is not part of a master/content page. Here's the content page definition:
<%@ Page Language="VB" MasterPageFile="~/SiteMast er.master" AutoEventWireup="false" CodeFile="Default3.aspx.vb " Inherits="Default3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="main ContentPla ceHolder">
<object id="ViewCafe" classid="clsid:8AD9C840-04 4E-11D1-B3 E9-00805F4 99D93" codebase="http://vcdemo.spicer.com/jinstall-15000-win32.cab"
height="98%" style="width: 832px" width="100%">
<param name="scriptable" value="true"/>
<param name="MAYSCRIPT" value="true"/>
<param name="type" value="application/x-java- applet;ver sion=1.4"/ >
<param name="cache_option" value="Plugin"/>
<param name="image" value="NoImage"/>
<param name="CODEBASE" value="http://RKELLER:80/ViewCafe"/>
<param name="CODE" value="com.spicer.client.V iewCafe"/>
<param name="cache_archive" value="install3d-1_3_1.jar ,jaxp.jar, parser.jar ,XMLClient .jar,ViewC afe3D.jar" />
<param name="DirectConnection" value="true"/>
<param name="AppServer.Name" value="//RKELLER:1099/AppS erver"/>
<param name="OriginalFiles" value="splash.jpg"/>
<param name="OriginalFilePath" value="./"/>
<param name="UIProfile" value="view"/>
<param name="Userid" value="Demo"/>
<param name="Edition" value="Automatic"/>
</object>
</asp:Content>
Any help would be appreciated.
<%@ Page Language="VB" MasterPageFile="~/SiteMast
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="main
<object id="ViewCafe" classid="clsid:8AD9C840-04
height="98%" style="width: 832px" width="100%">
<param name="scriptable" value="true"/>
<param name="MAYSCRIPT" value="true"/>
<param name="type" value="application/x-java-
<param name="cache_option" value="Plugin"/>
<param name="image" value="NoImage"/>
<param name="CODEBASE" value="http://RKELLER:80/ViewCafe"/>
<param name="CODE" value="com.spicer.client.V
<param name="cache_archive" value="install3d-1_3_1.jar
<param name="DirectConnection" value="true"/>
<param name="AppServer.Name" value="//RKELLER:1099/AppS
<param name="OriginalFiles" value="splash.jpg"/>
<param name="OriginalFilePath" value="./"/>
<param name="UIProfile" value="view"/>
<param name="Userid" value="Demo"/>
<param name="Edition" value="Automatic"/>
</object>
</asp:Content>
Any help would be appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
BTW, I also had to change the width and height of the object to pixels. When I had it as percent, it kept extending the left (navigation) pane, even though the object is in the cintent pane.