1. #1
    Ext User
    Join Date
    Jul 2009
    Posts
    6
    Vote Rating
    0
    hezhanfei is on a distinguished road

      0  

    Default Problem with Microsoft Office 2003 Web Components

    Problem with Microsoft Office 2003 Web Components


    Hi:
    I am using Extjs3.0,and In a Ext.Panel,I added a owc Component,the following is my Html code:

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>owc</title>
    <link rel="stylesheet" type="text/css" href="../js/ext/resources/css/ext-all.css" />
    <script type="text/javascript" src="../js/ext/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="../js/ext/ext-all.js"></script>
    <script type="text/javascript">
    Ext.onReady(function(){
    var owc = '<OBJECT id="Spreadsheet1" style="LEFT: 0px; POSITION: absolute; TOP: 0px;width: 100%; height: 100%;"'+
    'classid="clsid:0002E559-0000-0000-C000-000000000046" VIEWASTEXT>'+
    '</OBJECT>';

    var ct = new Ext.Panel({
    renderTo: 'grid-example',
    frame: true,
    title: 'Book List',
    width: 540,
    height: 400,
    layout: 'fit',
    items: [
    {
    html: owc
    }
    ]
    })

    });
    </script>
    <script type="text/javascript" language="JavaScript" for="Spreadsheet1" event="BeforeContextMenu(x, y, Menu, Cancel)">
    var cmContextMenu = new Array();
    cmContextMenu[0] = ["&Copy", "ll"];

    Menu.Value = cmContextMenu;
    </script>
    </head>
    <body>
    <div id="grid-example"></div>
    </body>
    </html>

    But when I ran this html file, right clicked the Mouse,IE window was closed.in the normal it will display a menu with only one item.
    what's the problem? hope someone can help me solve this problem.

    thank you very much!!




  2. #2
    Sencha User
    Join Date
    Apr 2007
    Posts
    57
    Vote Rating
    2
    zachext is on a distinguished road

      0  

    Default


    This appears to work using IE 8 regular and Compatibility mode on Vista. I right clicked on the spreadsheet and see a context menu with one item: Copy.

  3. #3
    Ext User
    Join Date
    Jul 2009
    Posts
    6
    Vote Rating
    0
    hezhanfei is on a distinguished road

      0  

    Default


    But in our group they all used Ie6、Ie7,And It doesn't work!

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi