I have an aspx page with some controls. One of which is an iframe, whose source changes (depending on the selection in a listbox). So, if a user selects an item in the listbox (ie: Claims.aspx), the iframes source changes to Claims.aspx.
I have a button on my ‘child’ pages (ie: Claims.aspx). I’d really like to have that button execute either:
- Javascript from the ‘parent’ page
- A VB function in the code-behind of the ‘parent’ page
Is there any way to do this?
If your parent page and your content page are both on the same domain (which I’m presuming they are) you can simply do:
from your content page to access
myFunction()in your parent page.