Hi, I'm trying to bind my grid to an MVC JsonResult. The MVC action is getting hit and returning JSON that I can see in Fiddler. I'm just trying to return one row right now just to verify it will work. The grid ends up 10 empty rows and no data. Any assistance would be appreciated. Below is my databinding section from grid and my MVC JsonResult action method.
<
DataBinding
SelectMethod
=
"GetAttachmentData"
Location
=
"/FaceToFaceAttachmentUpload"
SortParameterType
=
"List"
FilterParameterType
=
"List"
ResponseType
=
"JSONP"
/>
[WebMethod]
public JsonResult GetAttachmentData(int startRowIndex, int maximumRows, string sortExpression, string filterExpression)
{
List<IAttachment> attachments = new List<IAttachment>();
attachments.Add(new Attachment() { ID = 1, TypeDesc = "test" });
return Json(new { results = attachments });
}