Page.ClientScript.RegisterClientScriptBlock dynamically register client script - ASP.NET AJAX

Q.  Which method is used to dynamically register client script from code?
- Published on 31 Aug 15

a. Page.ClientScript.RegisterClientScriptBlock
b. RegisterScript
c. Page.ClientScript
d. None of the above

ANSWER: Page.ClientScript.RegisterClientScriptBlock
 
Page.ClientScript.RegisterClientScriptBlock method 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.)