错误 - 此页面的状态信息无效,可能已损坏 [英] Error - The state information is invalid for this page and might be corrupted
本文介绍了错误 - 此页面的状态信息无效,可能已损坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的应用程序中,我通过AJAX在州选择中填充城市下拉列表。
AJAX返回下拉列表控件并将其添加到页面。
现在如果我点击同一页面上的按钮,它会让我在Chrome上出错 -
此页面的状态信息无效,可能已损坏。
看起来像viewstate问题
在firefox中,它工作正常
任何人都可以指导我吗?
Hi,
In my application, i am populating city dropdownlist on state selection through AJAX.
AJAX return dropdown list control and add it to page.
Now if i click on button on same page, it gives me error on Chrome -
The state information is invalid for this page and might be corrupted.
It seems like viewstate issue
In firefox , it works fine
Can anyone guide me?
推荐答案
你需要像这个? ^ ]
然后休闲
将CascadingDropDown与数据库一起使用 [ ^ ]
或
步骤使用Microsoft ASP.NET AJAX框架创建级联下拉列表 [ ^ ]
you need something like this?[^]
Then fallow
Using CascadingDropDown with a Database[^]
OR
Steps to create a cascading drop-down list by using the Microsoft ASP.NET AJAX framework[^]
这只是一个样本..........
this is only a sample..........
function setAutoCompleteProc() {
nc2( #txtitem)。自动完成({
minLength:2,
source: ../表格/ getdataService.aspx ID = 0?; + Math.random(),
焦点:函数(event,ui){
nc2("#txtitem").autocomplete({ minLength: 2, source: "../Forms/getdataService.aspx?Id=0; + Math.random(), focus: function (event, ui) {
这篇关于错误 - 此页面的状态信息无效,可能已损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文