acumatica 形式的 IFRAME [英] IFRAME in acumatica form
本文介绍了acumatica 形式的 IFRAME的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用 iframe 从 Acumatica 调用外部 URL.
我试过了,没用
<px:PXFormView ID=表单"runat=服务器"数据源ID =ds"DataMember=文档"AllowCollapse=假"宽度=100%"高度=100%"TabIndex=100"><模板><div><iframe src=网站网址"></iframe>
</模板><AutoSize Container=窗口"启用=真"最小高度=200"/></px:PXFormView>
</asp:内容>
解决方案
我已经尝试过使用 in table 并且对我有用
<px:PXFormView ID=表单"runat=服务器"数据源ID =ds"DataMember=文档"AllowCollapse=假"宽度=100%"高度=100%"TabIndex=100"CaptionVisible="false"><模板><table runat="服务器"样式=宽度:100%;高度=1000像素"><tr><td style="height=800px;width=100%"><iframe id="myform";src=我的网址"宽度=100%"高度=800像素";滚动=否"></iframe></td></tr></模板><AutoSize Container=窗口"启用=真"最小高度=200"/></px:PXFormView>
</asp:内容>
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>
解决方案
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>
这篇关于acumatica 形式的 IFRAME的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文