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. Refresh main page

Refresh main page

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

    Hi all i need to refresh the whole page when pressing a button inside an iframe. i have a page View inside View.aspx i have an iframe named folder when i press save inside folder i return an id. I need to refresh the whole page (View.aspx) and pass querystring id to Iframe Folder. Any help, thanks

    A 1 Reply Last reply
    0
    • S samerh

      Hi all i need to refresh the whole page when pressing a button inside an iframe. i have a page View inside View.aspx i have an iframe named folder when i press save inside folder i return an id. I need to refresh the whole page (View.aspx) and pass querystring id to Iframe Folder. Any help, thanks

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      how about window.parent.document.form[0].submit ?? You need to find the form from window.parent which represents the original page where Iframe is in. :)

      Abhishek Sur


      My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

      **Don't forget to click "Good Answer" if you like to.

      S 1 Reply Last reply
      0
      • A Abhishek Sur

        how about window.parent.document.form[0].submit ?? You need to find the form from window.parent which represents the original page where Iframe is in. :)

        Abhishek Sur


        My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

        **Don't forget to click "Good Answer" if you like to.

        S Offline
        S Offline
        samerh
        wrote on last edited by
        #3

        Thanks for ur answer, however this is the issue. I am not being able to find the parent window in any way, there is no parent at all. i tried to use parent.location.reload(True) but gives an error parent is nothing.

        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