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. Opening new windows from ASP

Opening new windows from ASP

Scheduled Pinned Locked Moved Web Development
databasequestion
3 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
    mjackson11
    wrote on last edited by
    #1

    I have a legacy site that opens a simple page that showing data for a client. On occasion, a query might return multiple clients. I can intercept this in the VBScript in the page before the page draws itself. I would like to then open a new page for each one of the clients. I can't use the Response.Redirect method as that only opens one page. I can't use something like window.open as it tells me that an object is required. Is there a way to open a new window programatically from VBScript? Thx Mark Jackson

    K 1 Reply Last reply
    0
    • M mjackson11

      I have a legacy site that opens a simple page that showing data for a client. On occasion, a query might return multiple clients. I can intercept this in the VBScript in the page before the page draws itself. I would like to then open a new page for each one of the clients. I can't use the Response.Redirect method as that only opens one page. I can't use something like window.open as it tells me that an object is required. Is there a way to open a new window programatically from VBScript? Thx Mark Jackson

      K Offline
      K Offline
      ketankumar
      wrote on last edited by
      #2

      I think that following code will be useful for you although I did not get your problem completely. In VBScript write following code when you want to open new window: Response.Write("window.open('page.asp')"); Regards, Ketan.

      M 1 Reply Last reply
      0
      • K ketankumar

        I think that following code will be useful for you although I did not get your problem completely. In VBScript write following code when you want to open new window: Response.Write("window.open('page.asp')"); Regards, Ketan.

        M Offline
        M Offline
        mjackson11
        wrote on last edited by
        #3

        That worked perfectly, thanks for the help. Mark Jackson Ketan Majumdar wrote: Response.Write("window.open('page.asp')");

        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