Go Premium for a chance to win a PS4. Enter to Win

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 386
  • Last Modified:

From a popup window hide a control on the parent page

From a popup window hide a control on the parent page
I have a parent page and child page
I want to do 2 things
1. display the popup when I hide the dropdownlist that is on the parent page
2. when the user closes the popup dropdownlist I show this in the parent page
ddlDesicionOferta called control
and when you build your html is called tbContenedor_tab4_ddlDesicionOferta

this is the hml
                             <td class="txtazul" align="left" style="height: 21px">
                                                    Conclusión de Mi Evaluación :&nbsp;
                                                    <asp:DropDownList ID="ddlDesicionOferta" runat="server" Width="266px" CausesValidation="True">
                                Mi Evaluación
  • 2
1 Solution
From the popup window, add:

var wp = window.parent; // Might be window.opener, I can't remember

Now anything within the parent window is available to the popup through "wp":


The strong, silent type, eh?

No worries - glad to help.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now