Master Page w/User controls

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)?
 
B

bruce barker \(sqlwork.com\)

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top