I'm using Page.ClientScript.RegisterClientScriptBlock to generate script tag on page.
But This will place my script at the top of the page. I want this execute after everything else on the page as the very last line in the html.
How do I do this?
Asked
Active
Viewed 243 times
3
Rokni
- 41
- 6
-
1Does this answer your question? [Difference between RegisterStartupScript and RegisterClientScriptBlock?](https://stackoverflow.com/questions/666519/difference-between-registerstartupscript-and-registerclientscriptblock) – Selim Yildiz Feb 26 '20 at 07:12
1 Answers
2
I think you can use this Page.ClientScript.RegisterStartupScript instead.
Rokni
- 41
- 6
daryosh setorg
- 120
- 1
- 9