How to Add script codes before the </body> tag ASP.NET

后端 未结 3 1954
遥遥无期
遥遥无期 2021-01-27 02:17

Heres the problem,

In Masterpage, the google analytics code were pasted before the end of body tag.

In ASPX page, I need to generate a script (goo

3条回答
  •  长发绾君心
    2021-01-27 03:17

    Take a look at RegisterStartupScript

    The script block will be placed right above the tag at the end of the page.

提交回复
热议问题