Which of the following method is used to register client script using code dynamically?

23. Which of the following method is used to register client script using code dynamically?

  1. Page.ClientScript.RegisterClientScriptBlock
  2. RegisterScript
  3. Page.ClientScript
  4. None

Answer: A) Page.ClientScript.RegisterClientScriptBlock

Explanation:

The Page.ClientScript.RegisterClientScriptBlock method is used to register client scripts using code dynamically.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.