ASP.NET 隐藏字段数据在回发时丢失

发布于 2024-10-02 22:56:44 字数 255 浏览 0 评论 0原文

我正在开发一个 ASP.NET 应用程序(应该在大约 3 天前部署它),当表单发回时,我的隐藏字段正在失去价值。

我使用它们来存储我使用 javascript 编写的信息并在我的我自己的机器工作正常,但是一旦我将它部署在我们的服务器上,除了这些值丢失之外,其他一切都可以工作。

我在同一页面上使用.NET AJAX控制工具包,并注意到我的日历日期选择器也丢失了数据。

我已经使用 firebug 检查过,数据肯定已发送到服务器,但在某个地方丢失了!

I am working on an ASP.NET application (well supposed to be deploying it about 3 days ago) and my hidden fields are loosing value when the form gets posted back..

I am using them to store information i write using javascript and on my own machine this works fine but as soon as i deploy it on our server everything else works except these values are lost..

I am using the .NET AJAX control toolkit on the same page and have noticed my calander datepicker also looses the data..

I have checked using firebug and the data is definitely getting post to the server but is getting lost somewhere!

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

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

发布评论

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

评论(1

窗影残 2024-10-09 22:56:44

抱歉,伙计们……

事实证明,这是一个愚蠢而尴尬的错误,与该领域无关!

是数据库问题..

我觉得备用!

对不起!

谢谢!

Sorry guys..

Turns out it was a dumb embarrassing mistake that had nothing to do with the field!

Was a database problem..

I feel Spare!

Sorry!

Thanks!

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