Page object use to register client script dynamically from code - Property,Methods - ScriptManagerProxy

Q.  What property and method of the Page object do you use to register client script dynamically from code?
- Published on 16 Jun 15

a. ScriptManager control is used to dynamically register client script from code.
b. The Page.ClientScript.RegisterClientScriptBlock is used to dynamically register client script from code.
c. ScriptManagerProxy control is used to dynamically register client script from code.
d. None of the above.

ANSWER: ScriptManagerProxy control is used to dynamically register client script from code.
 

    Discussion

  • Nimmi   -Posted on 11 Jul 20
    The answer should be option b. The Page.ClientScript.RegisterClientScriptBlock is used to dynamically register client script from code.

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)