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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. new window on page load

new window on page load

Scheduled Pinned Locked Moved ASP.NET
databasehelp
5 Posts 3 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
    mukesh mr03
    wrote on last edited by
    #1

    hi i'm using a banner management system in my project. in that while we click on the banner it will go to a new page(Track.aspx) with some informations like navigate url and the datas that i need to insert into database for tracking. i want to open the url specified on the startup of Track.aspx. is it possible to open new window in this case. please help me...

    N S 2 Replies Last reply
    0
    • M mukesh mr03

      hi i'm using a banner management system in my project. in that while we click on the banner it will go to a new page(Track.aspx) with some informations like navigate url and the datas that i need to insert into database for tracking. i want to open the url specified on the startup of Track.aspx. is it possible to open new window in this case. please help me...

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      You can try with window.open(). But I guess if popup blocker is installed, it could block it.

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

      M 1 Reply Last reply
      0
      • N N a v a n e e t h

        You can try with window.open(). But I guess if popup blocker is installed, it could block it.

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

        M Offline
        M Offline
        mukesh mr03
        wrote on last edited by
        #3

        i think window.open() will not work in this case. because i want to open the new page on the page load of another page. also here getting the url on the page load only.

        N 1 Reply Last reply
        0
        • M mukesh mr03

          hi i'm using a banner management system in my project. in that while we click on the banner it will go to a new page(Track.aspx) with some informations like navigate url and the datas that i need to insert into database for tracking. i want to open the url specified on the startup of Track.aspx. is it possible to open new window in this case. please help me...

          S Offline
          S Offline
          Sun Rays
          wrote on last edited by
          #4

          Hi, if possible then you can store URL value in session and get it from Javascript and then can open new window on page load of next page.

          Thanks, Sun Rays To get something you must have to try once. My Articles

          1 Reply Last reply
          0
          • M mukesh mr03

            i think window.open() will not work in this case. because i want to open the new page on the page load of another page. also here getting the url on the page load only.

            N Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #5

            Use ClientScript.RegisterStartupScript() to register startup script after you get the URL on page load.

            All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

            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