How do I invoke a method in a user control from my main page?

obb-taurus used Ask the Experts™

I'm trying to invoke a method that is located in a user control on my web page.  I was thinking a delegate may be the way to do this as I would also like to pass a string value through to the method in the user control.  Am I on the right track trying to use a delegate or do I have to approach this in a different manner?

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
kaufmedGlanced up at my screen and thought I had coded the Matrix...  Turns out, I just fell asleep on the keyboard.
Most Valuable Expert 2011
Top Expert 2015

Did you declare the UserControl instance statically or dynamically?
why don't you do control.Method?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial