2008 年自定义控件
在 VS 2008 中使用自定义控件会频繁出现错误,例如 对象引用未设置为对象的实例,并且“无法在属性上设置”。
我必须使用其他团队创建的现有自定义控件。但是,当在我的页面中实现这些控件时,会显示错误,正如我
在示例
部分面板中提到的那样,“部分面板”的属性已折叠 = true 或 false,但当我使用它时,它会显示错误 CustomControls:SectionPanel 无法在属性折叠上设置。像这样,所有控件都会出错,但不是每次都会出错。
Using custom controls in VS 2008 shows frequent errors like
object reference not set to an instance of an object and 'could not be set on prperty'.
I have to use the existing custom control created by other team. But when implemeting those controls in my page show the error as i have mentioned
for an example
Section panel has the property collapsed = true or false but when i use this it shows me an error CustomControls:SectionPanel could not be set on property collapsed. Like this, for all the controls am getting error but not every time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
http://support.microsoft.com/kb/961847/
http://support.microsoft.com/kb/961847/
听起来您需要与开发控件的团队交谈。也许他们在开发它们方面做得不太好,或者您需要安装控件的特定方式。
It sounds like you need to talk to the team that developed the controls. Perhaps they didn't do a very good job developing them, or there is a specific way in which you need to install the controls.