Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: return Json(xxxx) doesnt work

$
0
0
Hello, i am trying to return a json.

I installed the mvcplayer and created a controller that returns a JsonResult

Then i created a page that has a MVCplayer function that calls this action.

But what i see is the page template and inside the JSON as text, how can i only return a json so i can the parse it thow a JS get?

Regards.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>