2009-09-21 24 views

回答

1

一个母版的继承树是:

System.Object 
System.Web.UI.Control 
    System.Web.UI.TemplateControl 
    System.Web.UI.UserControl 
    System.Web.UI.MasterPage 

(从MasterPage class拍摄)

从,你可以看到发生了什么证实UserControl class,即用户控件也自TemplateControl,那么控制和最终对象继承。

0

用于控件的MasterPages和System.Web.UI.UserControl的System.Web.UI.MasterPage。

请让我知道,如果不回答你的问题...

0

从母版继承System.Web.UI.UserControl。

UserControl继承自System.Web.UI.TemplateControl。

相关问题