I have an ASP.Net page containing an IFrame. In the IFrame I load a html document. When the user clicks on a hyperlink in the content of the IFrame, I would need a callback to be called in the code-behind class of the ASP.Net page.
I guess that I need Ajax to do this but I’m not exactly sure about what I need to do. Could you give me some pointers?
By the way I’m fairly new to ASP.Net.
Thanks
Finally I ended up writing a Control Extender for the IFrame. The Control Extender gets the links contained in the IFrame via the following Javascript:
I then simply attach an event handler that reacts to each link’s onclick event. The event handler calls back the ASP.Net side via a WCF service.
Not complicated to do once you know the various technologies.