Returning a value from pop-up to parent page

Posted by Samanthajyesta under ASP.NET on 2/23/2011 | Points: 10 | Views : 2805 | Status : [Member] | Replies : 2
Hi all,
I have a link button in my page. While clicking that page a pop-up will be opened, from this pop-up a value should be returned to the parent page after a post back of the parent page . It is working fine in FireFox and IE8. But in Safari, the value which is returned is displaying as UNDEFINED.
The function that i used is : window.showModalDialog
Im using this method window.showModalDialog " , here it is working fine but the value 7.896 is displaying in safari. But in other browser's called FireFox and IE8 , the value is displaying as " Undefined". i think this is the issue with tha browser..

http://www.dotnetfunda.com


Responses

Posted by: Prabhakar on: 2/23/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down

Hi Samanthajyesta ,


Check this article it's a use full for u .
http://www.dotnetfunda.com/articles/article1203-get-child-window-values-to-parent-using-javascript-.aspx

Best Regard's
Prabhakar

Samanthajyesta, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naimishforu on: 2/23/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Yes, jst now i show the same article ;)

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Samanthajyesta, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response