User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 397,771 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,511 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 4875 | Replies: 2
Reply
Join Date: Apr 2005
Posts: 2
Reputation: mtumavrick is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mtumavrick mtumavrick is offline Offline
Newbie Poster

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

  #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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

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

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

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

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

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 4:27 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC