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. openning the new window [modifed]

openning the new window [modifed]

Scheduled Pinned Locked Moved ASP.NET
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.
  • A Offline
    A Offline
    amaneet
    wrote on last edited by
    #1

    Sir, I want to open the web form in new window on form upload.PLease send me some code. Thanks and Regards Amaneet Brar -- modified at 3:04 Saturday 20th May, 2006

    C 1 Reply Last reply
    0
    • A amaneet

      Sir, I want to open the web form in new window on form upload.PLease send me some code. Thanks and Regards Amaneet Brar -- modified at 3:04 Saturday 20th May, 2006

      C Offline
      C Offline
      coolestCoder
      wrote on last edited by
      #2

      Hi Amaneet, This can be through the use of javascript. check the syntax and examples for window.open function of javascript on google. You will get the answer. Try doing this- On button click or some other event write this code. Response.Write("javascript:window.open(/"www.google.com/")"); Anant Y. Kulkarni

      A O 2 Replies Last reply
      0
      • C coolestCoder

        Hi Amaneet, This can be through the use of javascript. check the syntax and examples for window.open function of javascript on google. You will get the answer. Try doing this- On button click or some other event write this code. Response.Write("javascript:window.open(/"www.google.com/")"); Anant Y. Kulkarni

        A Offline
        A Offline
        amaneet
        wrote on last edited by
        #3

        Sir, There is an error while executing this code. Thanks and regards Amaneet Brar

        C 1 Reply Last reply
        0
        • A amaneet

          Sir, There is an error while executing this code. Thanks and regards Amaneet Brar

          C Offline
          C Offline
          coolestCoder
          wrote on last edited by
          #4

          Hi, Try this Response.Write("window.open(\"<b>http://localhost/</b>\")"); Replace the bold part with your url Anant Y. Kulkarni

          1 Reply Last reply
          0
          • C coolestCoder

            Hi Amaneet, This can be through the use of javascript. check the syntax and examples for window.open function of javascript on google. You will get the answer. Try doing this- On button click or some other event write this code. Response.Write("javascript:window.open(/"www.google.com/")"); Anant Y. Kulkarni

            O Offline
            O Offline
            OmegaCD
            wrote on last edited by
            #5

            Hi, I posted a tutorial at www.KYNOU.com talking about injecting javascript code into your asp.net project at runtime. Search for "javascript" once you are at the indicated website. I'm usually in the chat room of the website. So, if you want to chat with me so that you can give me info about what you need go to the Chat Room of www.KYNOU.com sfdsfsdf

            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