JqGrid don't work in ASP .NET MVC2

Posted by Raouf on Stack Overflow See other posts from Stack Overflow or by Raouf
Published on 2010-04-11T13:39:28Z Indexed on 2010/04/11 13:43 UTC
Read the original article Hit count: 642

Filed under:
|
|
|
|

I have a project in ASP.NET MVC1 using VB.NET controlers and JqGrid. it works fine under MVC1. After migrating the project to ASP.NET MVC2, the grid is no longer populated. It seems that there is some new restrictions on returned Jsonresult in MVC2. How to solve this in VB.NET. Controler function populating the jqgrid is something like this :

Function GetGridRecordset(ByVal qry As String) As JsonResult
  Dim result = New JsonResult()
  ...
  ...
  Return result
End Function

Is there anyone who have a solution? Thank you very much!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about mvc