Microsoft
70-573 · Question #155
70-573 Question #155: Real Exam Question with Answer & Explanation
Sign in or unlock 70-573 to reveal the answer and full explanation for question #155. The question stem and answer options stay visible for context.
Question
You are creating an application page that will open a dialog box. The application page uses a custom master page. You write the following code segment. (Line numbers are included for reference only.) 01 < script type="text/javascript" > 02 function DialogCallback ( dialogResult, retumValue ){> 03 function OpenEditDialog (id){ 04 var options = { 05 height: 300, 06 dialogReturnValueCallback : DialogCallback 07 }; 08 SP.UI.ModalDialog.showModalDialog (options); 09 } 10 < /script > You need to ensure that the code opens the dialog box. What should you do?
Options
- AAdd a script link that references SP.js.
- BAt line 08, change showModalDialog to commonModalDialogOpen.
- CAt line 08, change showModalDialog to openDialog.
- DAdd a script link that references SharePoint.Dialog,js .
Unlock 70-573 to see the answer
You've previewed enough free 70-573 questions. Unlock 70-573 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.