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. how to pass (arraylist)Session from popup window to parant window.

how to pass (arraylist)Session from popup window to parant window.

Scheduled Pinned Locked Moved ASP.NET
csharpquestionasp-nettutorial
3 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.
  • A Offline
    A Offline
    avvaru murali
    wrote on last edited by
    #1

    Hi, iam in webapplication using asp.net with c#. I have to close PopUP Window and pass the session variable to parent form(textbox)..My scenario like.. PopUp window which consists of gridview,with 3 columns. 1-checkbox 2-Name 3.MobileNo..has to select 'N' number of rows... iam maintaining those selected rows in Session[arraylist].. when i click close button in PopUp window the Session[arraylist] data should be displayed in parent window [textbox] at the same time PopUP Window should close.. how can i do this ?

    murali krishna

    T A 2 Replies Last reply
    0
    • A avvaru murali

      Hi, iam in webapplication using asp.net with c#. I have to close PopUP Window and pass the session variable to parent form(textbox)..My scenario like.. PopUp window which consists of gridview,with 3 columns. 1-checkbox 2-Name 3.MobileNo..has to select 'N' number of rows... iam maintaining those selected rows in Session[arraylist].. when i click close button in PopUp window the Session[arraylist] data should be displayed in parent window [textbox] at the same time PopUP Window should close.. how can i do this ?

      murali krishna

      T Offline
      T Offline
      ToddHileHoffer
      wrote on last edited by
      #2

      Save the information into Session. Close the pop up window. Do a postback of the the opener and load the data in server side code from Session.

      I didn't get any requirements for the signature

      1 Reply Last reply
      0
      • A avvaru murali

        Hi, iam in webapplication using asp.net with c#. I have to close PopUP Window and pass the session variable to parent form(textbox)..My scenario like.. PopUp window which consists of gridview,with 3 columns. 1-checkbox 2-Name 3.MobileNo..has to select 'N' number of rows... iam maintaining those selected rows in Session[arraylist].. when i click close button in PopUp window the Session[arraylist] data should be displayed in parent window [textbox] at the same time PopUP Window should close.. how can i do this ?

        murali krishna

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

        avvaru.murali wrote:

        iam maintaining those selected rows in Session[arraylist].. when i click close button in PopUp window the Session[arraylist] data should be displayed in parent window

        if you are alredy storing data in session, then you need to just refresh parent form to show the data.

        cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net

        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