阅读背景:

如何将Json数组从控制器传递到view.cshtml中的Javascript(ajax)

来源:互联网 

I'm trying to pass a array of Document objects from a method (let's say from a controller) to the JavaScript from which the method is called (in a view). For some reason, the method won't pass the array (it works only if the array is empty). I also tried to put all the array members into a new array, even a list and pass it to the view, but it won't work (Inspect Element -> Console = 500 (Internal Server Error)) (I'm trying to pass a array of Document objects




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: