Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

Difference between RegisterClientScriptBlock and RegisterStartupScript?

4 like 0 dislike
Hello

What is the difference between RegisterClientScriptBlock and RegisterStartupScript?

Please give me your feedback........
asked 1 year ago by rad_joshep (19,390 points)

1 Answer

2 like 0 dislike
 
Best answer
RegisterClientScriptBlock emits the JavaScript just after the opening
tag. RegisterStartupScript emits the JavaScript at the bottom of the ASP.NET page just before the closing
tag.
answered 1 year ago by daneim (127,080 points)

Related questions