Master page controls in child pages?
in my application i am using master page and c开发者_如何学Child pages. my requirement is can i access the master page controls in child page exmaple in my master page i have a linkbutton how can access in childpage
You can use the Page.Master
property to access the masterpage.
LinkButton masterControl = Page.Master.FindControl("ControlID") as LinkButton;
精彩评论