I have a class named book
in C#. In an ASPX page (which has access to book
class), I have an iframe
element. I want to use Javascript from the page in the iframe
, to call book.write()
, but I'm not sure if I can call a C# method from a page inside an iframe
using Javascript.
How I can do that?