使用C#的asp.net3.5 [英] asp.net3.5 with c#

查看:88
本文介绍了使用C#的asp.net3.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法加载viewstate.加载视图状态的控制树必须与在上一个请求期间用于保存视图状态的控制树匹配.例如,当动态添加控件时,在回发期间添加的控件必须与在初始请求期间添加的控件的类型和位置相匹配.

Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.

推荐答案

没有解释你想做什么.

您刚刚粘贴了错误信息.我们没有神秘"的能力来独自了解一切!对吧?

顺便说一句,看着错误,这是非常自我的解释.如果您尝试执行此类操作,您是否不明白错误的含义并查看代码?

如果需要,请使用DEBUGGER,并查找回发期间发生这种情况的原因.如果您无法解决问题,请使用您要执行的操作以及在哪种情况下发生此错误的适当详细信息来更新该问题.此外,现在,请添加您尝试对其进行故障排除的内容.
You have not explained what you were trying to do.

You have just pasted the error info. We don''t have ''mystical'' powers to know all by ourselves! Right?

BTW, looking at the error, it''s quite self explainatory. Don''t you get what the error means and look at the code for if you are trying to do something like that?

Use DEBUGGER, in case needed and look for the reason why such thing is happening during the postback. If you are unable to resolve it then update the qustion with proper details of what you are trying to do and in which scenario this error occurs. Further, now, do add what you tried to troubleshoot it.


首先,您已经粘贴了错误消息,甚至没有提到这是您收到的错误消息,并且需要帮助这个.

其次,您是否尝试 [
Firstly, you have pasted the error message and not even mentioned that it''s the error message you got and need help on this.

Secondly, did you try this[^]??


这篇关于使用C#的asp.net3.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆