How to call JavaScript/jQuery function from .cs file (C#)

前端 未结 3 1061
情深已故
情深已故 2021-01-15 02:01

I\'m working on asp.net (C#) project which include some page files (aspx, aspx.cs) and some only (.cs) file. I\'m able to access JavaScript/jQuery functions from page files

3条回答
  •  旧巷少年郎
    2021-01-15 02:42

    you can try to write to a response stream directly and output

    Response.Write("");
    

    Regards, Szymon

提交回复
热议问题