微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Acumatica形式的IFRAME

如何解决Acumatica形式的IFRAME

我正在尝试使用iframe从Acumatica调用外部URL。

我已经尝试过了,但是没有用

<asp:Content ID="cont2" ContentPlaceHolderID="phF" runat="Server">
<px:PXFormView ID="form" runat="server" DataSourceID="ds" DataMember="Document"
    AllowCollapse="False" Width="100%" Height="100%" TabIndex="100">
    <Template>
        <div>
            <iframe src="Site Url"></iframe>
        </div>
    </Template>
    <AutoSize Container="Window" Enabled="True" MinHeight="200" />
</px:PXFormView>

:Content>

解决方法

我在桌子上尝试过,对我有用

<asp:Content ID="cont2" ContentPlaceHolderID="phF" runat="Server">
<px:PXFormView ID="form" runat="server" DataSourceID="ds" DataMember="Document" 
    AllowCollapse="False" Width="100%" Height="100%" TabIndex="100" CaptionVisible="false">
    <Template>
        <table runat="server" style="width: 100%;height=1000px">
            <tr>
                <td style="height=800px;width=100%">
                   
      
            <iframe id="myform" src="My Url" width="100%" height="800px" scrolling="no" ></iframe>
        
                    </td>
                </tr>
            </table>
    </Template>
    <AutoSize Container="Window" Enabled="True" MinHeight="200" />
</px:PXFormView>

:Content>

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。