Very urgent, for some reason i just can't get this working.
I have an aspx page with a function, let's call it Function1
I also have a user control which sits on the main aspx page, how from the ascx page can i run my function on my aspx page?
Don't want to raise any events.
Just want to do something like
myaspxpage = (myaspxpage)this.parent.page;
But it just isn't happening, won't cast the page like that.