943,969 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 6122
  • ASP.NET RSS
Apr 7th, 2005
0

Getting data from ASP page A to ASP page B using javascript

Expand Post »
I'm using a javascript like this to transfer to another page (a popup that occurs conditionally)

string popupScript = "<script language='javascript'>" +
"window.open('Duplicate.aspx', 'CustomPopUp', " +
"'width=800, height=600, menubar=yes, resizable=no')" +
"</script>";
Page.RegisterStartupScript("PopupScript", popupScript);

My question is how would I get data from the first page to the second one, either in the form of objects, or raw data (like a string [] ) I've done the regular server transfers, but here I don't need to/want to post back so I don't have the serverVariables available
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mtumavrick is offline Offline
2 posts
since Apr 2005
Apr 8th, 2005
0

Re: Getting data from ASP page A to ASP page B using javascript

With JavaScript? You have to build a querystring.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Apr 14th, 2005
0

Re: Getting data from ASP page A to ASP page B using javascript

Thanks,
Will try, not very strong on javascript, so it'll take time
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mtumavrick is offline Offline
2 posts
since Apr 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: session variable:again
Next Thread in ASP.NET Forum Timeline: need help creating user defined SQL statement





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC