Visual Studio 2010 ajax控件工具包选项卡容器
我们刚刚升级到 Visual Studio 2010 RC1,突然我们 TabContainer 内的控件从设计器文件中消失了。
实际上,一开始一切看起来都很好,项目编译得很好,但是一旦我们对页面的标记进行了任何更改并为 tabcontainer 内的控件构建代码就消失了,我们收到了这样的错误消息
"Error 3 The name 'ddlPeriodicityStartInMonth' does not exist in the current context "
有谁知道是否对 Visual Studio 2010 的 tabcontainer 进行了任何更改,或者这只是一个错误?
提前致谢。
We just upgraded to visual studio 2010 RC1 and all of a sudden our controls inside tabcontainer disappeared from the designer file.
Actually, it all seemed good in the beginning, the project compiled nicely, but as soon as we did any change in the markup of a page and build the code for the controls inside the tabcontainer disappeared and we got errormessages like so
"Error 3 The name 'ddlPeriodicityStartInMonth' does not exist in the current context "
Does anyone know if any changes are made to tabcontainer to visual studio 2010 or if this just is a bug?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
也找到了这个。
解决方法:设计器文件中缺少控件声明
Found this one also.
Workaround: Missing Declarations for Controls in Designer File
我也有同样的问题。
查看以下链接:
Microsoft Connect - 在 VS2010 中生成 Designer.cs 文件时出现错误
希望它有所帮助。
I had the same problem.
Check out the following link:
Microsoft Connect - Bug in generating the designer.cs file in VS2010
Hope it helps.