PrepAway - Latest Free Exam Questions & Answers

Category: 70-573

Exam 70-573: TS: Microsoft SharePoint 2010, Application Development

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.)

01 <script type=”text/javascript”>
02 function DialogCallback(dialogResult, returnValue)
03 {
04 }
05 function OpenEditDialog(id)
06 {
07 var options = {
08 url:”http://intranet/_layouts/MsgToShow.aspx,
09 width: 300,
10 height: 300,
11 dialogReturnValueCallback: DialogCallback
12 };
13 SP.UI.ModalDialog.showModalDialog(options);
14 }
15 </script>

You need to ensure that the code opens the dialog box.

What should you do?


Page 17 of 18« First...10...1415161718