瞥见 PagerType.ContinouslyPaging 持续加载
我正在尝试编写自己的 Log4Net Glimpse 插件(这样我就可以与我的自定义 MySql 数据库进行交互)。不过我遇到了一个问题。当我从插件内部单击 more
时,会出现 Loading...
并且返回结果集(Fiddler 的 Raw
结果粘贴在下面) ),但 Loading...
保持不变,并且结果永远不会复制到页面上的集合中。
HTTP/1.1 200 OK
Server: ASP.NET Development Server/10.0.0.0
Date: Fri, 13 Jan 2012 01:31:19 GMT
X-AspNet-Version: 4.0.30319
Cache-Control: private
Content-Type: application/json; charset=utf-8
Content-Length: 171
Connection: Close
[["Id","Date","Thread","Level","Logger","Message","Exception"],[1,new Date(1326341298000),"15","DEBUG","MySite.WebGUI.Controllers.AccountController","In SignUp!","",""]]
注意:下面的结果集图像从 11 变为 2(7 到 2 未显示)。
关于为什么会发生这种情况有什么想法吗?
I'm attempting to write my own Log4Net Glimpse plugin (so I can interface with my custom MySql database). I'm running into an issue though. When I click more
from inside my plugin, Loading...
appears and the result set comes back (the Raw
result from Fiddler is pasted below), but Loading...
stays up and the results are never copied to the set on the page.
HTTP/1.1 200 OK
Server: ASP.NET Development Server/10.0.0.0
Date: Fri, 13 Jan 2012 01:31:19 GMT
X-AspNet-Version: 4.0.30319
Cache-Control: private
Content-Type: application/json; charset=utf-8
Content-Length: 171
Connection: Close
[["Id","Date","Thread","Level","Logger","Message","Exception"],[1,new Date(1326341298000),"15","DEBUG","MySite.WebGUI.Controllers.AccountController","In SignUp!","",""]]
Note: The result set image below goes from 11 to 2 (7 through 2 not shown).
Any ideas as to why this would happen?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您收到的错误是:JSON.parse 意外关键字。
由于您返回的日期而引发错误。它像这样发送到客户端:new Date(1326341298000),但它应该像这样:/Date(1326341298000)/
The error you're getting is: JSON.parse unexpected keyword.
The error is being thrown because of the date you're returning. It's being sent down to the client like this: new Date(1326341298000), but it should like something like this: /Date(1326341298000)/