[英]Page.IsPostback Behaving weirdly
Though Form is Submitted the Page.IsPostback value returns false. 尽管已提交表单,但Page.IsPostback值返回false。 This happens intermittently.
这是间歇性发生的。 After studying the results of log we could only come to a conclusion that IsPostback is behaving weirdly however we couldn't figure out the actual cause why is it doing so.
在研究了日志的结果之后,我们只能得出一个结论,即IsPostback行为异常,但是我们无法弄清楚为什么这样做。
What is the possibility of this weird behavior from IsPostback IsPostback出现这种奇怪行为的可能性是什么
Log in every event of the request page lifecycle if there is a change on IsPostBack values. 如果IsPostBack值发生更改,请登录请求页面生命周期的每个事件。 Ensure that every postback request is a POST or that there isn't any redirect before checking.
在检查之前,请确保每个回发请求都是POST或没有任何重定向。 Enable Trace if you need.
如果需要,启用跟踪。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.