问题描述
我在使用ASP.NET Core 3.1.302创建的Blaozr应用程序中出于调查目的使用Microsoft Forms
。下面是有关Microsoft Form
的外观的屏幕截图:
@page "/questionarepoc"
@using Microsoft.AspNetCore.Hosting
@inject IWebHostEnvironment HostEnvironment
<h3>Questionare POC</h3>
@if (HostEnvironment.EnvironmentName=="Development")
{
<iframe width="640px" height="480px" src="https://forms.office.com/Pages/ResponsePage.aspx?
id=BiopSuv_ckSNqp3fkzLnW_NGlVhpUkdKjXPYvQce5XRUQzgwTExXOU0wMlFIT0hFWUpIS04zTlhRVi4u&embed=true"
frameborder="0" marginwidth="0" marginheight="0" style="border: none; max-width:100%; max-
height:100vh" allowfullscreen webkitallowfullscreen mozallowfullscreen msallowfullscreen> </iframe>
}
@code {
}
基本上,我刚刚将iframe
嵌入到创建此Microsoft Form
时生成的剃刀组件中。
我现在想做的是从中捕获提交事件,但是如果成功提交表单,则应该捕获该事件。那么最好的方法是什么?
您可以在下面看到表格。
我还要在这里粘贴iframe,这样,如果有人想贡献并帮助我解决此问题,它就会变得很容易。
<iframe width="640px" height= "480px" src= "https://forms.office.com/Pages/ResponsePage.aspx?id=BiopSuv_ckSNqp3fkzLnW_NGlVhpUkdKjXPYvQce5XRUQzgwTExXOU0wMlFIT0hFWUpIS04zTlhRVi4u&embed=true" frameborder= "0" marginwidth= "0" marginheight= "0" style= "border: none; max-width:100%; max-height:100vh" allowfullscreen webkitallowfullscreen mozallowfullscreen msallowfullscreen> </iframe>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)