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. getting values in main page from popup window

getting values in main page from popup window

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

    i ve created a popup window using a hyperlink,where we r going to do search for particular items using some search condns and the search result from the datagrid ve to b displayed in the main window after submitting the search button in the popup window,how to do this please help

    S K 2 Replies Last reply
    0
    • K ksravi

      i ve created a popup window using a hyperlink,where we r going to do search for particular items using some search condns and the search result from the datagrid ve to b displayed in the main window after submitting the search button in the popup window,how to do this please help

      S Offline
      S Offline
      sathesh pandian
      wrote on last edited by
      #2

      you can use session object to save the search value. this session value can be used in the main page.

      All The Best Sathesh Pandian

      K 1 Reply Last reply
      0
      • K ksravi

        i ve created a popup window using a hyperlink,where we r going to do search for particular items using some search condns and the search result from the datagrid ve to b displayed in the main window after submitting the search button in the popup window,how to do this please help

        K Offline
        K Offline
        kubben
        wrote on last edited by
        #3

        You have access to the opener in the popup window, so you can use that to set fields in the main window. In javascript it would look something like: self.opener.document.forms[0].controlnamehere.value = "whatever value"; Hope that helps. Ben

        1 Reply Last reply
        0
        • S sathesh pandian

          you can use session object to save the search value. this session value can be used in the main page.

          All The Best Sathesh Pandian

          K Offline
          K Offline
          ksravi
          wrote on last edited by
          #4

          but the main page is not loading

          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