MVC RAZOR assign javascript variable to C# variable

前端 未结 2 1380
有刺的猬
有刺的猬 2021-01-21 16:25

Is it possible to assign javascript variable to c# variable in mvc razor view? e.g.


Also

2条回答
  •  花落未央
    2021-01-21 17:01

    The short and long answer is: NO.

    All these scenarios should be covered by AJAX calls to the server

提交回复
热议问题