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. Refreshing the parent page

Refreshing the parent page

Scheduled Pinned Locked Moved ASP.NET
help
6 Posts 5 Posters 1 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.
  • P Offline
    P Offline
    Premchand MR
    wrote on last edited by
    #1

    I have one aspx page with a link button. Onclicking in the link button there is one popup window coming , while closing the popup window I wat to refresh the parent aspx page... Anybody there to help me ......

    N S B A 4 Replies Last reply
    0
    • P Premchand MR

      I have one aspx page with a link button. Onclicking in the link button there is one popup window coming , while closing the popup window I wat to refresh the parent aspx page... Anybody there to help me ......

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

      window.opener will give access to the parent page. You need handle the JS event when popup is closing.

      Navaneeth How to use google | Ask smart questions

      1 Reply Last reply
      0
      • P Premchand MR

        I have one aspx page with a link button. Onclicking in the link button there is one popup window coming , while closing the popup window I wat to refresh the parent aspx page... Anybody there to help me ......

        S Offline
        S Offline
        Subin Alex
        wrote on last edited by
        #3

        Try redirecting that page u want to get refreshed

        A 1 Reply Last reply
        0
        • P Premchand MR

          I have one aspx page with a link button. Onclicking in the link button there is one popup window coming , while closing the popup window I wat to refresh the parent aspx page... Anybody there to help me ......

          B Offline
          B Offline
          Brij
          wrote on last edited by
          #4

          On closing the popwindow ragister a javascript function like in popup page Page.ClientScript.RegisterStartupScript(this.Page, this.GetType(), this.ClientID + "_1", "CloseWindowandRefreshParent();", true); put this javascript function in popup page function CloseWindowandRefreshParent() { window.opener.RefereshPresentPage(); window.close(); } And put below javascipt function in the parent page function RefereshPresentPage() { window.location.href = window.location.href; }

          Cheers!! Brij

          1 Reply Last reply
          0
          • P Premchand MR

            I have one aspx page with a link button. Onclicking in the link button there is one popup window coming , while closing the popup window I wat to refresh the parent aspx page... Anybody there to help me ......

            A Offline
            A Offline
            Abhijit Jana
            wrote on last edited by
            #5

            It all about window.opener.RefereshPresentPage(); :)

            cheers, Abhijit CodeProject.Com MVP

            1 Reply Last reply
            0
            • S Subin Alex

              Try redirecting that page u want to get refreshed

              A Offline
              A Offline
              Abhijit Jana
              wrote on last edited by
              #6

              Subin Alex wrote:

              Try redirecting that page u want to get refreshed

              No at all. He is asking some thing different !! and its all about window.opener.RefereshPresentPage();

              cheers, Abhijit CodeProject.Com MVP

              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