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. Populate The Popup Window without refreshing Parent Page.

Populate The Popup Window without refreshing Parent Page.

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

    Hi, I hav implemented the functionality to call a popup window. but while i child window appears , the value of parent will refresh. suggest Clue If Any. Regards Tarun Singh Sr. Software Engineer. mailto:tksingh@zenta.com

    M 1 Reply Last reply
    0
    • C codeproject_Tarun

      Hi, I hav implemented the functionality to call a popup window. but while i child window appears , the value of parent will refresh. suggest Clue If Any. Regards Tarun Singh Sr. Software Engineer. mailto:tksingh@zenta.com

      M Offline
      M Offline
      mareers
      wrote on last edited by
      #2

      use the following javascript function.. pass the target url, width and height of the window to be opened. function OpenWindow(url, width, height) { if( url == null || url == "" ) { return false; } else { var handle = window.open(url, "scrollbars=yes,screenX=25,screenY=25,directories=0,height=" + height + ",width=" + width + ",location=no,menubar=no,resizable=yes,status=no,toolbar=no"); + Children.push(handle); handle.focus(); return handle; } } --Sreeram

      S 1 Reply Last reply
      0
      • M mareers

        use the following javascript function.. pass the target url, width and height of the window to be opened. function OpenWindow(url, width, height) { if( url == null || url == "" ) { return false; } else { var handle = window.open(url, "scrollbars=yes,screenX=25,screenY=25,directories=0,height=" + height + ",width=" + width + ",location=no,menubar=no,resizable=yes,status=no,toolbar=no"); + Children.push(handle); handle.focus(); return handle; } } --Sreeram

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        Does this function will refresh parent page ?

        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

        M 1 Reply Last reply
        0
        • S Sandeep Akhare

          Does this function will refresh parent page ?

          Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

          M Offline
          M Offline
          mareers
          wrote on last edited by
          #4

          nope.. it won't

          --Sreeram

          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