Hello, I have a usercontrol in my ASP.net page. I have a method ProcessData() in my asp.net page.
How do I access ProcessData() method which is in the aspx page from my usercontrol?
Please help
Hello, I have a usercontrol in my ASP.net page. I have a method ProcessData() in my asp.net page.
How do I access ProcessData() method which is in the aspx page from my usercontrol?
Please help
From your user control, cast this.Page as whatever type your page code behind class is. Then, you should be ale to call the method on that object.