nerdexam
Microsoft

70-573 · Question #234

You need to create a Web control that displays HTML content during the last stage of the page processing lifecycle. Which method should you override in the Web control?

The correct answer is B. Render. MNEMONIC RULE: "Render" This is not an event; instead, at this stage of processing, the Page object calls this method on each control. AllASP.NET Web server controls have a Render method that writes out the control's markup to send to thebrowser. If you create a custom control…

Developing for User Experience

Question

You need to create a Web control that displays HTML content during the last stage of the page processing lifecycle. Which method should you override in the Web control?

Options

  • ALoadControlState
  • BRender
  • CSaveViewState
  • DSetDesignModeState

How the community answered

(44 responses)
  • A
    2% (1)
  • B
    80% (35)
  • C
    11% (5)
  • D
    7% (3)

Explanation

MNEMONIC RULE: "Render" This is not an event; instead, at this stage of processing, the Page object calls this method on each control. AllASP.NET Web server controls have a Render method that writes out the control's markup to send to thebrowser. If you create a custom control, you typically override this method to output the control's markup. ASP.NET Page Life Cycle Overview

Topics

#Web control lifecycle#Render method#page processing#ASP.NET controls

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice