How to Run sub in contentplaceholder from master page

G

Guest

I have a master page with a dropdown list on it. When someone changes the
selection I would like to run a sub on the content page to reflect the
change. I have found ways to clear controls on the content pages but no way
to run code attached to the content page from an event on the master page.

Is this possible?
 
B

bruce barker \(sqlwork.com\)

have your content pages implement an interface. then the master page can
cast the content to the interface and call its methods. you could also use
reflection.

-- bruce (sqlwork.com)
 
G

Guest

Thank you for your response. I am probably being a little thick but I am not
sure of the best way to "implement an interface" .

I did some searching on "implement an interface" and found about a million
pages on ways to do this. I read several and came up a little lost. Can you
give a little more of a hint on the way you would do it? Or if possible
point me to an example.

Thanks
Matt
 

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,756
Messages
2,569,540
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top