Calling method in different page?

P

perplexed

I have an ascx file (call it usercontrol) that loads into an aspx file
(parent). Usercontrol contains a hyperlink that when clicked, calls a
method on parent that will than load text into parent.label1. From
Usercontrol, I've tried using a linkbutton and its
OnClick="assemblyname.ParentPage.SomeMethod("my test text")" but that
doesn't work. Any ideas how this is done?

Thanks.
 

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,777
Messages
2,569,604
Members
45,234
Latest member
SkyeWeems

Latest Threads

Top