This is a migrated thread and some comments may be shown as answers.

Window with iframe as a content

1 Answer 55 Views
Window
This is a migrated thread and some comments may be shown as answers.
Gaetano
Top achievements
Rank 1
Gaetano asked on 14 Feb 2013, 12:08 AM
Hi to all,
I have a window (name: win1, iframe:true, modal:false, url: /controller/action ) within a button for opening a new WINDOW (name win2). That new window (win2) appears included in the first window (win1) and not in the main page of browser. 
Can I show win2 in the same content of win1 ??
Thanks in advance
Gaetano



1 Answer, 1 is accepted

Sort by
0
Gaetano
Top achievements
Rank 1
answered on 14 Feb 2013, 01:26 PM
I have solved simply with:

<button name="comando" onclick=" window.parent.OpenWindow('680px', '380px', 'Anagrafica Clienti', 'Cliente/ClienteDettaglio/?idcliente=0');"></button>


when OpenWindow is a javascript function declared in the main windows.
Thanks
Gaetano
Tags
Window
Asked by
Gaetano
Top achievements
Rank 1
Answers by
Gaetano
Top achievements
Rank 1
Share this question
or