IFRAME in acumatica form

旧巷老猫 提交于 2021-01-29 18:17:16

问题


I am trying to call an external URL from Acumatica from using iframe.

I have tried this and it did not work

<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>

</asp:Content>


回答1:


I have tried with in table and it worked for me

<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>

</asp:Content>



来源:https://stackoverflow.com/questions/63958535/iframe-in-acumatica-form

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!