I have just started using the WDW and am trying to achieve 2 things, but have been unsuccessful:
I first tried to get hold of the WDWcontrol in javascript using $find(), per the documentation, but $find() returned null. On further examination, I discovered that the window.document only contained the html for stuff "inside" the WDW. The reason $find() wasn't helping me was that I was on a web page that behaved as if it were inside a new browser window instance.
In other situations when I have opened another browser window myself, I have called back to a javascript function on the parent window using the window.opener property. However, this property was null. It was my understanding - again from the documentation - that the WDW used a div and display:none or something, to get around popup blockers; but this was not the case. Yet it's not "opening" a window in the conventional sense, either. Obviously I'm not understanding the architecture, here. Prolly some AJAX callback mechanism that is beyond my current skills.
Can somebody help me achive goals 1 and 2 above? Thanks.
-BillyB
Hi BillyB,
If you use ContentUrl, then content of child aspx or external website is rendered inside of iframe. So, you may use parent, opener, etc, to get references to elements/objects located in document which holds dialog.