Keep popup window on top

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a main window with a image button that launches a popup window. I want
the popup window to always stay on TOP so users can keep clicking it (it has
buttons that send it back to the server several times before it's closed) without losing
the popup window behind the main one.

Im using C# WebForms.
 
mg said:
I have a main window with a image button that launches a popup
window. I want
the popup window to always stay on TOP so users can keep clicking it
(it has
buttons that send it back to the server several times before it's
closed) without losing the popup window behind the main one.

Use ShowDialog to make it modal on top of your main window.
--
Tom Porterfield
MS-MVP MCE
http://support.telop.org

Please post all follow-ups to the newsgroup only.
 
mg said:
How should I use "ShowDialog?" In the main window? In the popup
window? With exactly what line of code. And, where do I place this
code?

Sorry about all these questions!

Sorry, it's showModalDialog. Call it in javascript from your main web form.
--
Tom Porterfield
MS-MVP MCE
http://support.telop.org

Please post all follow-ups to the newsgroup only.
 
Back
Top