How to send value form popup window to opener window ??

I have problem and I need everybody help me.

I desgning a website using ASP.NET and VB.NET - I want, when user click button as show popup window with list user of system (from database) and click user of list, it's in textbox of opener window. Can you help me code it ???

Thanks a lot !!!

 


Không học không biết, học rồi sẽ biết
0
linux_nd
10/2/2007 3:51:35 PM
📁 asp.net.web-forms
📃 93655 articles.
⭐ 6 followers.

💬 3 Replies
👁️‍🗨️ 1883 Views

 You have to access the window.opener.document object in JavaScript. This will give you access to the DOM.

 

function getOpenerElem(Jb)
{
	return window.opener.document.getElementById(Jb);
}

  I use this function to access the opening windows DOM.
 


Joseph Guadagno
My Website: http://www.josephguadagno.net
My Blog - http://weblogs.asp.net/jguadagno/

If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
0
jguadagno
10/2/2007 4:07:05 PM

Check below link

Passing Data Between Webforms

HC


Haissam Abdul Malak
MCAD.NET
| Blog |
0
Haissam
10/2/2007 9:16:19 PM

 Best way to implement this is by using modal window by this way you can pass parameters easily from parent window and the child window plus it lock the parent window till the child window closed

here a good sample of this plus custom control you can use easily 

 

http://www.codeproject.com/aspnet/WebModalAnchor.asp
Tamer Fathy
MCAD .NET
http://tamer-fathy.blogspot.com/

Please remember to click €œMark as Answer€ on the post that helps you.
This can be beneficial to other community members reading the thread.
0
Tamer
10/2/2007 9:46:21 PM