Suppose that we have an ASP.NET page that is commanded for other sites to
news inside of their . Suppose offer that my page includes some
server-side <asp:LinkButton> controls, that get rendered as <a
href="javascript:__doPostBack(...)"> links. we would be happy if
_doPostBack() would govern within a iframe, though it does not--Instead we
get "_doPostBack not defined" blunder in a console. we assume that is
since it is perplexing to govern it on a outmost page, since it is an
href="javascript:..." couple and not an customary DOM event. How can we
overcome this but changing divided from a LinkButton? Is there a improved
proceed to run a server-side formula we need for clicking a button?EDIT:
we total an a <a href="javascript:alert(document.title)">test</a>and
clicked on it, and we got a due of my outdoor page, not a due of my page
in a iframe.<p />
No comments:
Post a Comment