Calling method in different page?

  • Thread starter Thread starter perplexed
  • Start date Start date
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.
 
Back
Top