为什么自定义服务器控件没有Enable这个属性?
Posted on 八月 16rd, 2007 由 admin
只有visible
如果我一个叶面里同时包含了几个自定义控件,我需要在必要的时候才让其中的某个执行显示,有没有什么好办法?
推荐阅读
网友:saucer
if your class is derived from webcontrol or its subclass, then yes
htmlcontrol has a disabled property
>>>才让其中的某个执行显示,有没有什么好办法?
use visible property
网友:tonton
好像disabled就是enabled,不知道是不是!请各位指教!
网友:xiahouwen
visible高于enable啊
你可以把他们放到几个panel内通过控制panel的visible实现他们的显示


讨论区