How to implement parent-child windows and pass values from child to parent?
- by Andrew
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?