Link to home
Start Free TrialLog in
Avatar of RayK50
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="~/SiteMaster.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="mainContentPlaceHolder">
      <object id="ViewCafe" classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" 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;version=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.ViewCafe"/>
            <param name="cache_archive" value="install3d-1_3_1.jar,jaxp.jar,parser.jar,XMLClient.jar,ViewCafe3D.jar"/>
            <param name="DirectConnection" value="true"/>
            <param name="AppServer.Name" value="//RKELLER:1099/AppServer"/>
            <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
Avatar of amit_g
amit_g
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RayK50
RayK50

ASKER

Thanks!
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.