Master Page w/User controls

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I initially created a master page for a common look and feel in my project. I
am trying to refer to a user control that is on a master page. When I add a
new web form to the project I check the checkbox for "Select master page" so
the page has the same look and feel as the master page. The problem comes in
when I want to refer to the user controls on the master page when I'm in the
web form. I can't seem to figure out how to do this. Does anybody know how to
refer to user controls on a master page while in a web form (that uses the
master page methodology)?
 
the bes appraoch is to have the master page implement an interface for
accessing its public properties. then you just cast Page.Master to the
interface.

-- bruce (sqlwork.com)
 
Back
Top