How to implement parent-child windows and pass values from child to parent?
Posted
by Andrew
on Stack Overflow
See other posts from Stack Overflow
or by Andrew
Published on 2010-04-06T23:43:13Z
Indexed on
2010/04/06
23:53 UTC
Read the original article
Hit count: 250
I am working on an ASP.NET MVC 2 application.
In one of my data entry forms, I have an "employer" field which has a "search" link next to it. When a user clicks on this link, another window is opened with a search form. The user uses the search form to search for the correct employer. A list of employers is shown to the user. Currently, the user has to then copy and paste the correct employer from the child window into the original window.
I want to implement it so that each employer search result in the child window is a hyperlink. The user would then click on the correct employer and then the correct employer value would be populated in the original parent window employer field.
How would I go about implementing this in ASP.NET MVC 2?
© Stack Overflow or respective owner