Keep popup window on top

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.
 
T

Tom Porterfield

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.
 
T

Tom Porterfield

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top