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

前端 未结 3 1058
情深已故
情深已故 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:48

    You need to pass into the web.cs a reference to the page. You will then have access to the page.clientscript method

提交回复
热议问题