The Difference Between RegisterStartupScript and RegisterClientScriptBlock
The main difference is that the RegisterStartupScript method places the JavaScript at the bottom of the ASP.NET page right before the closing
from:Using JavaScript Along with ASP.NET
</form>
element. The RegisterClientScriptBlock method places the JavaScript directly after the opening <form>
element in the page.from:Using JavaScript Along with ASP.NET