ASP.Net MVC 3 JQGrid

后端 未结 4 814
时光取名叫无心
时光取名叫无心 2020-12-09 00:27

After reading up on the JQGrid control, I decided it would be good to use it in one of my ASP.Net MVC 3 Web applications.

Firstly I followed Phil Haacks tutorial htt

4条回答
  •  庸人自扰
    2020-12-09 00:45

    Ah, I have found the issue. .ToString doesn't work in LINQ to Entity. Yes, this is weird and IMO very dumb. But that is the core problem. As for a work-around...when JSON serializes things, they end up looking very much like a string anyway, by the time jQuery gets around to reading them. So, essentially, you should be able to completely leave out the .ToString() and it should work.

提交回复
热议问题