nerdexam
Microsoft

70-573 · Question #158

You created a custom ASPX page that updates a list. The page is deployed to the Jayouts folder. The page contains the following code segment. 01 < form id=" Forml" runat =" Server" > 02 < asp…

The correct answer is D. FormDigest. MNEMONIC RULE: "Digest your security" FormDigest Class

Developing SharePoint Sites

Question

You created a custom ASPX page that updates a list. The page is deployed to the Jayouts folder. The page contains the following code segment. 01 < form id=" Forml" runat =" Server" > 02 < asp: Button id=" btnUpdate " runat =" server" Text=" Update" ></asp : Button > 03 </form > A user attempts to update the list by using the page and receives the following error message:

"The security validation for this page is invalid". You need to prevent the error from occurring. Which control should you include in Form1?

Options

  • AinputFormCustomValidator
  • BEncodedLiteral
  • CUlVersionedContent
  • DFormDigest

How the community answered

(39 responses)
  • A
    10% (4)
  • B
    5% (2)
  • C
    3% (1)
  • D
    82% (32)

Explanation

MNEMONIC RULE: "Digest your security" FormDigest Class

Topics

#FormDigest#security validation#application pages#form controls

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice