开发者

Is it possible top opt-out of INamingContainer if it's implemented by a superclass?

The UserControl class inherits from TemplateControl which implements INamingContainer. Since this 开发者_运维百科is "only a marker interface" I was wondering if it's possible to opt-out of the behavior that this interface brings with it.

I am developing a templated control based on a user control, and I want the controls inside the template to be accessible in the page without using FindControl(id).


As far as I know this is not possible.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜