Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Bring window to front

Bring window to front

Scheduled Pinned Locked Moved ASP.NET
helptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    munklefish
    wrote on last edited by
    #1

    Hi, I'm using a pop-up window to display a contact form. This same window is re-used to contact various departments. So for example a user clicks a link to contact Department 1, a window pops up with a contact form. Now the user changes their mind and clicks to contact Dept 2. The form is reloaded with the necessary contact details. The problem here is that the pop-up window is pushed to the background due to the main page doing a postback. I need to be able to bring the pop-up window back to the foreground when this happens / when the content of the pop-up window is reloaded / refreshed. Can anyone help me with this please? Thanks!

    A 1 Reply Last reply
    0
    • M munklefish

      Hi, I'm using a pop-up window to display a contact form. This same window is re-used to contact various departments. So for example a user clicks a link to contact Department 1, a window pops up with a contact form. Now the user changes their mind and clicks to contact Dept 2. The form is reloaded with the necessary contact details. The problem here is that the pop-up window is pushed to the background due to the main page doing a postback. I need to be able to bring the pop-up window back to the foreground when this happens / when the content of the pop-up window is reloaded / refreshed. Can anyone help me with this please? Thanks!

      A Offline
      A Offline
      Arjune
      wrote on last edited by
      #2

      My Suggestion is better go for AJAX technology instead of posting back your main page.Even if the cotent of the pop window is reloaded it will still remain in the front.There will not be any dependency between Main page and Pop up window.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups