Loading...

Problem with GdPicture in Webform (aspx)

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

Problem with GdPicture in Webform (aspx)

Postby gtoledo » Mon Apr 18, 2011 7:23 pm

GdPicturePro / ActiveX in Web Form does not work within the tags <form> </ form>

Sample code attached.

I appreciate your help

Code: Select all
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Página sin título</title>
</head>
<body>
    <form id="form1" runat="server">
        <table>
            <tr>
                <td>
                    <object id="MyGdViewer"
                      type="application/x-oleobject"
                      classid="CLSID:F48DE781-C525-44C9-9529-C5ADE3EF5F70"
                   width="700"
                   height="500"
                   standby="Loading GdPicture Imaging SDK"
                   codebase="http://www.gdpicture.com/pub/gdpicturepro5.cab#Version=5,3,0,0">
                      <param name="BackColor" value="255"/>
                      <param name="BorderStyle" value="1"/>
                      <param name="ZoomMode" value="2"/>
                      <param name="LicenseKey" value="MyLicenseKEY"/>
                    </object>
                </td>
                <td>
                  <object id="MyImaging"
                       type="application/x-oleobject"
                     classid="CLSID:1E9EFC03-BF47-4479-8374-7F5D610FF60D"
                     width="0"
                     height="0"
                     codebase="http://www.gdpicture.com/pub/gdpicturepro5.cab#Version=5,3,0,0">
                        <param name="LicenseKey" value="MyLicenseKEY"/>
                    </object>           
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
I have a multipage file with several pages of different sizes and another file with a blank letter-size page. Attempt to merge with the multipage letter size page, someone can help me?
gtoledo
 
Posts: 16
Joined: Thu May 28, 2009 7:30 pm

Re: Problem with GdPicture in Webform (aspx)

Postby Loïc » Tue Apr 19, 2011 11:40 am

Hi,

I paste your code in an empty html file. Then opened it with IE. It is working like a charm.

I suspect you to deliver the page from IIS in an asp.net application. This should make this line not compliant with what you are expecting, because you ask to run a form in server-side.:

Code: Select all
  <form id="form1" runat="server">


Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 2 guests