I am afraid that displaying JSON data is not supported out of the box. Although this behavior could be achieved using a custom solution, I would recommend you to use partial views, as demonstrated here
. Your code might look like this:
public ActionResult GetItemsInfo()
ViewBag.ID = 123;
"Item 1 info"
"Item 2 info"
"Item 3 info"
//The GetItemsInfo.cshtml partial view:
@(ViewBag.id) <br />
@item <br />
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI