9
9
9564321578526a2021-11-24 11:01:45
ASP.NET
9564321578526a, 2021-11-24 11:01:45

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

1 answer(s)
V
Vasily Bannikov, 2021-11-24
@9564321578526a

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 question

Ask a Question

731 491 924 answers to any question