I have a function inside of the .ascx file. How can I call it from the web application page(the .aspx file)
All you need to do is give your user control an ID in the aspx. e.g.
Then in your aspx code, you can simply use the id to call public methods (and properties) defined by the ascx. e.g.