Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How to hide /display the page that is displaying the popup window
Posted
Comments
BillWoodruff 24-Sep-12 8:22am    
Please tag your question appropriately: C#, ASP.NET, Windows Forms.
sahabiswarup 24-Sep-12 8:50am    
If you are hiding the container page where you gonna display the popup window?
Sergey Alexandrovich Kryukov 24-Sep-12 13:42pm    
Why? Seriously, it could be a design flaw. I'm not sure though, so you better explain it, to improve you chanced to get a real answer.
--SA
Sergey Alexandrovich Kryukov 24-Sep-12 13:50pm    
And -- was that so difficult to read MSDN help in window?
--SA

1 solution

Please see my comment to the question. It would be useful if you clarify it.

In the meanwhile: apparently, you can always use some of these methods:
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.hide.aspx[^],
http://msdn.microsoft.com/en-us/library/system.windows.window.hide.aspx[^],
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.show.aspx[^],
http://msdn.microsoft.com/en-us/library/system.windows.window.show.aspx[^].

You can also turn visibility:
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.visible.aspx[^],
http://msdn.microsoft.com/en-us/library/system.windows.uielement.visibility.aspx[^].

If way my fault: I did not pay attention at first that you did not specify the application type or UI library to use, so I put the answer for Forms and WPF, but it could be something else. Next time, please always tag it. And always read the MSDN documentation before asking questions like that.

—SA
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900