Hi all,
Here is my dilemma: I have an aspx page with a button on it. onclick the button calls some javascript to pop up a window with a listBox with a bunch of values.

I'm creating the popup like this to avoid a popup blocker from stopping it:

onclick="window.open('myPopUp.aspx','myPopUp','width=220,height=425,top=250,left=500,resizable=no')"

What i need is this: when the user selects a value and clicks the button on the pop up screen, i need to pass the values the user has selected BACK to the page that the user was on (the page that had the pop up button). I was reading around, but i couldn't find anything. Any ideas?

Recommended Answers

All 4 Replies

Have a look at this article.

Gave that a try, but it didn't do much for me. I'm not using a gridview and I don't see anywhere in the code when it would be sending the selected values back to the parent page. Any other ideas/links i can try?

>Gave that a try, but it didn't do much for me.

No. You didn't.

>Any other ideas/links i can try?

Learn/Implement window.opener javascript method.

>Gave that a try, but it didn't do much for me.

No. You didn't.

>Any other ideas/links i can try?

Learn/Implement window.opener javascript method.

Haha i did, but not very hard. Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.