Set the src attribute for the iframe to the action url.
Example:
<iframe src ='home/index'></iframe>
Verify that the attribute srcURL is replaced by the action URL.
An alternative way to Razor:
<iframe src ='@Url.Action("action name")'></iframe>
source
share