We help IT Professionals succeed at work.

How do I embed an <object> definition in an aspx content page?

RayK50
RayK50 asked
on
431 Views
Last Modified: 2013-11-05
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.
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2006
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
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.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.