What should you do?

You are creating an application page that will open a dialog box.
The dialog box uses a custom master page. You write the following code segment. (Line numbers are included for reference only.)

You need to ensure that the code opens the dialog box.
What should you do?
A. Add a script link that references SP.js.
B. Add a script link that references SharePoint.Dialog.js.
C. At line 13, change showModalDialog to openDialog.
D. At line 13, change showModalDialog to commonModalDialogOpen.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.