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 507187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:46:42+00:00 2026-05-13T06:46:42+00:00

I have an aspx web page (opener) which opens a popup window In the

  • 0

I have an aspx web page (opener) which opens a popup window

In the popup window I need to retrieve the value of a hidden field which exists in the opener page.

So this is all straight forward using Javascript.

However, here’s the problem, I need the value of the hidden field to be processed SERVER side before the pop up page loads

(Basically, the hidden field contains XML which need to be deserialized server side and the data used to construct the DOM of the popup page)

So how do I pass the data in the hidden field of the opener, to get processed serverside in popup?

The data is Waaay too long to be passed as a GET. i.e. in the querystring of the popup page

What are the other options here?

  1. Retrieve it using Javascript in popup, then do a postback to reload the page (very ugly)
  2. Somehow post the data when opening the popup? Is this possible and can I stil pass other info via the querystring
  3. Any other ideas?
  • 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-13T06:46:42+00:00Added an answer on May 13, 2026 at 6:46 am

    Have a form like this

    <form method="POST" action="action.php" onsubmit="open_popup(this);">
        <input name="really-big-field" type="hidden">
    </form>
    

    also, javascript like this

    function open_popup(form)
    {
        window.open('action.php', 'actionpopup','width=400,height=300');
        form.target = 'actionpopup';
    }
    
    1. window.open() will open a popup like you want.

    2. Setting the form’s target to the opened popup will make sure that the form will POST to that popup.

    3. Since a POST is made, you can send larger data than you can send using GET.

    4. You can process the data server side in action.php (or in ASP.Net/VB file).

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

Sidebar

Related Questions

I have Default.aspx page, which inherits from BasePage.cs, which inherits from System.Web.UI.Page. BasePage is
I have a strange issue: I am using SPContext.Current.Web in a .aspx page, but
I have an ASPX page (On server A) which is invoked using NTLM credentials.
I have one aspx page with some controls. Also i have one DIV which
I have an aspx web page that renders correctly. When converted to razor, it
Well I have a web page asp.net(page1.aspx) amm user can choose two options A/B
I have an asp.net application and when I refresh a web page which is
I have a site a few years old that contains about 30 aspx Web
I have a this aspx-code: (sample) <asp:DropDownList runat=server ID=ddList1></asp:DropDownList> With this codebehind: List<System.Web.UI.WebControls.ListItem> colors
I have two web applications in the same server like this: /basedir/app1path/default1.aspx /basedir/app2path/default2.aspx How

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.