Difference between RegisterStartUpScript and RegisterClientScriptBlock ?

Difference between RegisterStartUpScript and RegisterClientScriptBlock

RegisterStartUpScript This adds the javascript code at the end of the page before the closing of form tag.

RegisterClientScriptBlock
This adds the javascript code at the top of the page.

Leave a Reply

Discover more from Abhyas

Subscribe now to keep reading and get access to the full archive.

Continue reading