You have a Web page named ShowMessage.aspx.
You create a new Web page.
You need to display the content from ShowMessage.aspx in an IFRAME on the new Web page. You must achieve this goal by using the minimum amount of effort.
What should you do?
A.
Add a FormView Web Part that displays ShowMessage.aspx.
B.
Use Response.Write to write text to the browser.
C.
Use SP.UI.ModalDialog.showModalDialog() to display a dialog.
D.
Use Response.Redirect to send users to the ShowMessage.aspx page.
Explanation:
MNEMONIC RULE: “SP.UI will get you IFRAME”html property of SP.UI.DialogOptions can render an IFRAME tag pointing to the appropriate URL.
Using the Dialog framework in SharePoint 2010
http://www.chaholl.com/archive/2010/11/17/using-the-dialog-framework-in-sharepoint-2010.aspx