70-573 · Question #73
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…
The correct answer is C. Use SP.UI.ModalDialog.showModalDialog() to display a dialog. 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
Question
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?
Options
- AAdd a PageView Web Part that displays ShowMessage.aspx.
- BUse Response.Write to write text to the browser. F
- CUse SP.UI.ModalDialog.showModalDialog() to display a dialog.
- DUse Response.Redirect to send users to the ShowMessage.aspx page.
How the community answered
(24 responses)- A13% (3)
- B4% (1)
- C79% (19)
- D4% (1)
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
Topics
Community Discussion
No community discussion yet for this question.