2011-10-31 3 views

답변

1

는 참조가 있습니다.

C#을

MyMasterType myMaster = (MyMasterType)this.Page.Master; 

VB.NET

Dim myMaster as MyMasterType = DirectCast(Me.Page.Master, MyMasterType) 

MyMasterType은 masterpage의 실제 유형입니다. http://www.codeproject.com/KB/user-controls/Page_UserControl.aspx

: 여기

PageUserControls 간의 통신 정보의 일부입니다
관련 문제