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.

No comments:

Popular Posts