views:

41

answers:

2

I want to open a popup window on client PC where I will show records. The user will click on the selected row, and the popup window will disappear, but the parent Form on my page must get filled with the DB values related to the clicked row on the popup.

This is what I want to do. What is the right approach?

+1  A: 

You should be able to send back some response to your parent window from popup window. There is a specific javascript methods to do this. See this.

Sarfraz
+1  A: 

You can also use a modal popup type container which will make communication simpler and give you more control of the data. It'll also work flawlessly even if the client has any sort of popup blocker (which most do by default).

It's easy to build from scratch and there are also many jquery plugins that make it even simpler.

Ariel