Can I call javascript function from MVC controller action (not from view page) and get return value? How?
I need to make request to server
The usual/standard way in MVC is that you should put/call your all display, UI, CSS and Javascript in View, however there is no rule to it, you can call it in the Controller as well if you manage to do so (something i don't see the possibility of).