First, in the MVC there is Code Behind .
Secondly, the manipulation of tabs, between dead and injured, is an abstraction of a JS code applied to events within an HTML in a controlled way.
Thirdly, it is not unsafe to manipulate JS in ASP.NET MVC because it is designed for this: so you can put JS at ease in your application without necessarily compromising security.
The way to communicate with Controller
using AJAX events is implementing Actions
and calling those Actions
with components that implements this, such as jQuery, for example. The idea of Microsoft doing this is to approach the new standard used by new Frameworks such as Ruby on Rails, Django and Node.js, which are based only on routes to find and / or process information.
There are a number of good components using JS and CSS that implement this, even better than the AJAX Control Toolkit, such as Bootstrap and the Foundation .