Answer the question
In order to leave comments, you need to log in
How to handle events in asp.net?
New to asp.net. I want to make a tab page. There is a general understanding of how this is done in js, but I do not understand how to do this in an mvc5 project.
How are events handled in mvc?
Answer the question
In order to leave comments, you need to log in
In MVC, no way.
On js you catch events and send http requests to your backend.
Via XMLHTTPRequest, fetch, or $. ajax
Either through submitting forms - it's similar here, just through a form, and not through js
You can do it with a full page reload, or you can use ajax
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question