I have Evoq 8 website. I am developing module using MVC. I need to send json result from Controller. I have the following code. In my page, I have found that it sends json result as well as html code. How can I get rid of this html code from my json result.
public class ItemController : DnnController
public JsonResult GetGridJsonData()
var data= some json value
return new JsonResult
Data = data,
JsonRequestBehavior = JsonRequestBehavior.AllowGet
json string <html > lots of html code <\html>