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

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Apr 2005
Posts: 2
Reputation: mtumavrick is an unknown quantity at this point 
Solved Threads: 0
mtumavrick mtumavrick is offline Offline
Newbie Poster

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

 
0
  #1
Apr 7th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

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

 
0
  #2
Apr 8th, 2005
With JavaScript? You have to build a querystring.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 2
Reputation: mtumavrick is an unknown quantity at this point 
Solved Threads: 0
mtumavrick mtumavrick is offline Offline
Newbie Poster

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

 
0
  #3
Apr 14th, 2005
Thanks,
Will try, not very strong on javascript, so it'll take time
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC