Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1038299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:57:29+00:00 2026-05-16T14:57:29+00:00

I want to make a pop-up page that contains a listbox-type (multiselect) control which

  • 0

I want to make a pop-up page that contains a listbox-type (multiselect) control which will return the selected IDs to the page that initiated the pop-up.

This is an ASP.NET web application / C# 3.5 / Latest jQuery.

I understand how to make the pop-up page with the corresponding controls, but I am unsure about the best way to approach sending an array of item IDs back to the parent page.

Is there a way I can leverage JSON, or some other technology to get these item IDs back to the parent page? At this point in time, I am only familiar with using session variables / querystrings / calls to web services to pass items from page-to-page.

The one-dimension array will most likely be either ints or strings, but there can possibly be over 40 items selected from the pop-up page.

High-level concepts only needed. I can research the exact implementation, once I know what I am looking for.

Thank you so much!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:57:29+00:00Added an answer on May 16, 2026 at 2:57 pm

    You can use jQuery UI’s dialog and keep the listbox on the page. Then, you would access the selected values in the same way as if they were a control on the page. The only thing to keep in mind is that once you’ve created the dialog, you’ll have to add it back as a child of the form. (See this post)

    This is added overhead if the users will rarely use this popup functionality, but it’s a lot cleaner from a development and maintenance point of view. Also, it’s only one or two extra controls and 10-20 lines of javascript.

    I’ve spent hours tracing a web of popups passing javascript around between controls, pages, and parent pages (iframes, ugh), and it’s a lot easier when you’re just hiding/showing a div on the same page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to make an application that will grab the HTML from a website
I want to make application that will use GPS, as we know at first
I have a login popup that will pop up on every page of my
I want to make a light box pop up from some linked images, but
I want make a bash script which returns the position of an element from
so i want to make a code, that creates a binary tree, that holds
So i want to make a code, that creates a binary tree, that holds
I want to make whole background of web-page unclickable with some gray color behind
I want to make a login-button(i can make that), and then I can make
I want to make sure the user wants to have something pop up by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.