Click here to Skip to main content
16,017,954 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my application when i close a window , an alert box will pop up. But it is appearing below all the other opened windows. I tried Window.Focus() method but it is not working.Is there any other alternative that i can try?
Posted

I don't think you can — for a good reason. The alert box is supposed to pop up over the Web browser window and nothing else. Another behavior would be confusing. Please understand the for the Web application, the "operating system" is just one browser window. This is the whole scope of the application. Other windows do not exist. If you hide your browser window behind other windows — consider you switch off you Web application; it should remain hidden.

—SA
 
Share this answer
 
MY MONITOR SHOWING---

YOU MAY BE A VICTIM SOFTWARE COUNTERFEITING,THIS IS A COPY WINDOW..
This showing before one week. please explained me,
and solve my problem.
 
Share this answer
 

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