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

  • Home
  • SEARCH
  • 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 9240733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:14:30+00:00 2026-06-18T08:14:30+00:00

In my ASP.NET application, there is a main.aspx which includes heavy grid data. In

  • 0

In my ASP.NET application, there is a main.aspx which includes heavy grid data.
In order to display Google Maps in main.aspx, I’ve made a map.aspx page which is given as frame reference in main.aspx.

Now, I want to pass coordinates and some description from main.aspx to map.aspx.
Length of query string is more than 5000 charachters, so setting “src” of frame at javascipt fails because of this length.

How can I send data from main.aspx to map.aspx without using query string?

  • 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-06-18T08:14:31+00:00Added an answer on June 18, 2026 at 8:14 am

    Well, I can see two alternatives:

    1. Store the value you want to pass to the iframe page in a Session variable, then retrieve it in Page_Load event of map.aspx.

    2. Use global variables in Javascript:

    Define the variables in main.aspx. You can set these variables using ScriptManager.RegisterStartupScript, if you need to define them at server side:

        <script type="text/javascript">
          var globalVar = 'Value 1';
          var otherGlobalVar = 'Value 2';
        </script>
    

    Then you can read them in map.aspx:

        <script type="text/javascript">
           var parameter1 = parent.globalVar;
           var parameter2 = parent.otherGlobalVar;
        </script>
    

    I have tested the second solution in IE 7+, Firefox, Safari, Opera and Google Chrome.

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

Sidebar

Related Questions

Are there any VS template/Starter Kit/Any example of an ASP.NET Web Application, which uses
Our main application has both a asp.net and winforms component. There is a class
I have a asp.net application.there is a databinding section to a datagrid.But there have
Is there an easy way to log all exceptions in an ASP.NET application? I'm
I'm developing a ASP.NET MVC application. There is little space for me to put
I have a asp.net mvc application. Some pages require SSL, is there a way
I have read that viewstate is not there in asp.net MVC application. I am
I'm using jQuery UI's Tabs plugin with a asp.net (webform) application. As there are
I'm looking at using Subsonic with a multi-tenant ASP.net web application. There are multiple
I'm currently working on an Asp.net MVC Web application. In my solution, there're two

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.