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. Submit parent forms after closing child form

Submit parent forms after closing child form

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

    Hello Every one ! i have 2 pages one of them is parent for other one parent one contion a gridview when i click on grid child page is opening i do editing on my record then i close page but no thing is not happen to grid if i refresh page manual grid become refresh as i want but i want to do it by closing child page i open child page by this Code : window.open("childpage.aspx?Id="+grid.cell[5].text ,"page1","height:150,witdh:150,left:50,top:30") for close child i use this Code opener.document.parent.submit(); window.close(); please help coz i cant do any thing with out refresh parent page by the way if i can do it when i m closing page it is best

    S 1 Reply Last reply
    0
    • E elhameh

      Hello Every one ! i have 2 pages one of them is parent for other one parent one contion a gridview when i click on grid child page is opening i do editing on my record then i close page but no thing is not happen to grid if i refresh page manual grid become refresh as i want but i want to do it by closing child page i open child page by this Code : window.open("childpage.aspx?Id="+grid.cell[5].text ,"page1","height:150,witdh:150,left:50,top:30") for close child i use this Code opener.document.parent.submit(); window.close(); please help coz i cant do any thing with out refresh parent page by the way if i can do it when i m closing page it is best

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

      Create a method which will refresh the grid with latest update and call before closing the child page ?

      E 1 Reply Last reply
      0
      • S Sandeep Akhare

        Create a method which will refresh the grid with latest update and call before closing the child page ?

        E Offline
        E Offline
        elhameh
        wrote on last edited by
        #3

        I know i should create a method but i have problem with creating this method and calling that making method is easy but calling that is my problem

        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