How to access a parent page method while in a user control.

S

Steve Kershaw

I have this web page that has on it a user control. I have a need to
access a method that resides in the parent web page from within this
user control. It seems that there should be a way to do this!

Thanks in advance for your help.

Steve
 
P

Peter Rilling

Could you do UserControl.Parent?

On a side note, it is usually not good for the children to know about its
parent. That basically couples the control and parent page.
 

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,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top