Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi , I have created Asp.net application with empty template. then i have added the UmbracoCms nuget package in the project.
I have created PersonController as below:
public class PersonController : Umbraco.Web.Mvc.RenderMvcController
// GET: Person
public override ActionResult Index(ContentModel model)
var person = new Person(model.Content);
public ActionResult Persons_Read([DataSourceRequest] DataSourceRequest request)
var data = Enumerable.Range(1, 30)
.Select(index => new test1
Firstname = "FirstName #" + index,
Lastname = "LastName #" + index,
Address = "Address #" + index,
City = "City #" + index
return Json(data.ToDataSourceResult(request), JsonRequestBehavior.AllowGet);
and created the view as below:
Layout = "Master.cshtml"; ;
but when i am running application in Umbraco Cms it's displaying grid as blank row value.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted