经典Asp中的回发问题 [英] Postback Issues in Classic Asp
本文介绍了经典Asp中的回发问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
i正在开发经典的asp应用程序。它有超过30个字段。我在该页面中添加了级联下拉功能。但是更改在下拉列表中导致所选值在回发后丢失。如何解决此问题?
< input name =LDAssetsize =20readonly tabindex =36enableviewstate =true>
为什么不添加enableviewstate =true修复此问题?
请帮助
Hi All,
i am working on a classic asp application.It has more than 30 fields.I have added a cascading dropdown functionality in that page.But changes in dropdown list causes the selected values to be lost after postback.How can this issue be fixed?
<input name="LDAsset" size="20" readonly tabindex="36" enableviewstate="true">
Why doesnt adding enableviewstate="true" fix this?
Please help
推荐答案
ViewState是ASP.NET的一项功能经典的asp中没有/没有。
在经典的asp中,你必须手动维护状态,通常是从request.form集合中检索表单元素值。
...希望它有所帮助。
Hi,
ViewState is a feature of ASP.NET, and was/is not available in classic asp.
In classic asp, you must manually maintain state, usually by retrieving form element values from the request.form collection.
... hope it helps.
这篇关于经典Asp中的回发问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文