Home ASP.NET MVC controller actions that return JSON or partial html
Reply: 0

ASP.NET MVC controller actions that return JSON or partial html

user4584
1#
user4584 Published in September 19, 2018, 7:13 pm

I am trying to create controller actions which will return either JSON or partial html depending upon a parameter. What is the best way to get the result returned to an MVC page asynchronously?

share|improve this question

11 Answers 11

active oldest votes
up vote 465 down vote accepted
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.289687 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO