Hi...i've got an asp.net page that is posting to an asp site..ok so far.. my prob is i want the returned page to sit in an iframe..i can get it in a target = _blank but not in the iframe...any ideas...
I can't put it directly into the frame src as i need to post to it...unless you know different...is it poss to do this...
marcel
12:18 pm on Jun 25, 2010 (gmt 0)
Have you tried setting the Form target in page behind?
form1.Target = "frame1"
ang_bain
12:32 pm on Jun 25, 2010 (gmt 0)
can't do that marcel as the form is being created within xslt and submited with javascript...I just tried putting it in the form tag like below but didn't work...i still get the popup and if i view source i've got a thread aborted message...
<xsl:template match="test"> <!--Start of Javascript --> <script language="JavaScript" type="text/javascript"> <![CDATA[ function submitform() { document.frmMain.setAttribute("target", "frame1"); document.frmMain.submit();