Question 1 :
I am trying implementing JQgrid
in MVC,
for that in .jqgrid
url , i have as url: '/Personalize/GetAccountHeads',
Where GetAccountHeads()
is a Method in PersonalizeController.cs
as.,
[HttpPost]
[Authorize]
public JsonResult GetAccountHeads() {
List<ACHeadEntry> acHeadEntries = new List<ACHeadEntry>();
//Some code here to calculate acHeadEntires.
return Json(acHeadEntries, JsonRequestBehavior.AllowGet);
}
But this method too does not be called. Where I went wrong?
While trying to find that, I have downloaded the demo project .,
Question 2 :
http://code.haacked.com/mvc-1.0/JQueryGridDemo.zip And tried to execute it. But I am getting the following error.
The output window shows ..
C:\Users\developer\AppData\Local\Temp\Rar$DIa0.562\GridDemo\GridDemo.csproj : error : The project file could not be loaded. Could not find a part of the path 'C:\Users\developer\AppData\Local\Temp\Rar$DIa0.562\GridDemo\GridDemo.csproj'. C:\Users\developer\AppData\Local\Temp\Rar$DIa0.562\GridDemo\GridDemo.csproj
C:\Users\developer\AppData\Local\Temp\Rar$DIa0.562\DynamicQuery\DynamicQuery.csproj : error : The project file could not be loaded. Could not find a part of the path 'C:\Users\developer\AppData\Local\Temp\Rar$DIa0.562\DynamicQuery\DynamicQuery.csproj'. C:\Users\developer\AppData\Local\Temp\Rar$DIa0.562\DynamicQuery\DynamicQuery.csproj
Actually many times, It is happening this way. Why I am getting this error.
Also,
I am trying implementing JQgrid
in MVC,
for that in .jqgrid
url , i have as url: '/Personalize/GetAccountHeads',
Where GetAccountHeads()
is a Method in PersonalizeController.cs
as.,
[HttpPost]
[Authorize]
public JsonResult GetAccountHeads() {
List<ACHeadEntry> acHeadEntries = new List<ACHeadEntry>();
//Some code here to calculate acHeadEntires.
return Json(acHeadEntries, JsonRequestBehavior.AllowGet);
}
But this method too does not be called. Where I went wrong?