Moderate

Which of the following method must be overridden in a custom control ?

Correct answer: D. The Render() method

  • A. The default constructor
  • B. The Control_Build() method
  • C. The Paint() method
  • D. The Render() method

Explanation

A custom ASP.NET server control commonly overrides Render to write its HTML output to the response. The other listed methods are not the standard rendering override for a custom control.

Last updated

Practise Web and Mobile Development

268 free Web and Mobile Development MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions