瞥见 PagerType.ContinouslyPaging 持续加载

发布于 2024-12-26 13:37:54 字数 743 浏览 1 评论 0原文

我正在尝试编写自己的 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).

enter image description here

Any ideas as to why this would happen?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

匿名的好友 2025-01-02 13:37:54

您收到的错误是: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)/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文