nerdexam
Microsoft

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

Developing for User Experience

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)
  • A
    13% (3)
  • B
    4% (1)
  • C
    79% (19)
  • D
    4% (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

#Modal Dialog#SP.UI.ModalDialog#client-side JavaScript#IFRAME

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice