Skip to content Skip to sidebar Skip to footer

Why Is My Window.dialogArguments Undefined

I need to open up a .aspx page in a modal dialog. Here is the JS code I use to open the dialog: if (url) { var fullPath = url + '/Validation.aspx'; }

Solution 1:

My assumption here is that the ASPX dialog page is being opened cross-domain.

This would mean that your parent page is in one domain aka: http://abc/page.html, and that your child dialog page is in another domain like: http://def/dialog.html.

If this is the case, it seems as though there are restrictions against accessing dialogArguments and returnValue. Check out the comments on this previous answer for example.


Post a Comment for "Why Is My Window.dialogArguments Undefined"