How to Return More Views in ASP.NET MVC Action

If you want to build a complex UI but don’t want to build a complicated client-side code, all you have to do is minimize the amount of JavaScript code to render the HTML content on the server-side. Then create a new ActionResult class in which it allows an ASP.NET MVC application to update more unrelated parts of the HTML DOM, in a single request-response roundtrip. As a result, it will render more partial views on the client side. That is why it is called, MultipartialResult.

The concept of MultiPartial is very simple. It is inherited from JsonResult class, and it renders the specified elements into Strings, collect strings, and packs them into a json data and sends it to the client side.


Read the rest of the tutorial here:

Leave a Reply

Your email address will not be published. Required fields are marked *