J
John Smith
Hi, I have this problem.
I have a page class in code behind called "WebForm1" and I have another
class called "Class1".
Now in Class1 I am creating ImageButton and I am adding event handler
onClick, then this ImageButton is added to page - WebForm1.
In WebForm1 I have my methods to deal with the data.
When I click ImageButton, ImageButton_onClick is called in Class1. Now, my
problem is that I want to call the method 'test' that is in WebForm1 class.
How can I do that?
I have a page class in code behind called "WebForm1" and I have another
class called "Class1".
Now in Class1 I am creating ImageButton and I am adding event handler
onClick, then this ImageButton is added to page - WebForm1.
In WebForm1 I have my methods to deal with the data.
When I click ImageButton, ImageButton_onClick is called in Class1. Now, my
problem is that I want to call the method 'test' that is in WebForm1 class.
How can I do that?