Hello,
Please see the attached file. How can I use the WebDialog window to achieve this functionality ?
I would like to open each web dialog in a separate iFrame.
Thank you very much, any help is appreciated.
Hello Meteia,
I'm just following up to see whether you've had the chance to investigate my suggestion.
If you need further assistance with this or if you have any questions let me know.
Best Regards,
Maya Kirova
Developer Support Engineer
Hi Mateia,
Thank you for getting back. Please update the forum post with the result of your finding.
Thank you.
Not yet, I will investigate
Thank you!
We are still following this forum thread.Have you been able to take a look at the provided suggestions ?
If you have any other questions please do not hesitate to contact us.
Hello mateia,
Thank you for posting in our forum.
You can get the frame elements of the main page and from them you can search for the elements you need by id. For example:
To get an element from the first popup (Popup1.aspx) through the main page you can get the frames collection. For example:
var input = this.frames[0].document.getElementById("input1");
Keep in mind that the frame must have its content set otherwise it will be empty.
To get an element from the second pop up(Popup2.aspx) through the first pop up (Popup1.aspx) you can get the parent and then its frames collection:
var txtBox = parent.frames[2].document.getElementById('txtBox1');
Here it’s important to consider whether the first dialog is modal. If it’s modal an iframe will be added to the page to prevent interactions with the main page. For that reason the frame you need is not the 1st one(which would be the background iframe) but the 2nd one.
Please refer to the attached sample and let me know if you have any questions or concerns.
Infragistics, Inc.
http://es.infragistics.com/support