Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 10th, 2007, 04:17 AM
Authorized User
 
Join Date: Feb 2007
Location: Bangkok, , Thailand.
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sending data from the Chp. 9 shopping cart

Greetings,

We want to send data (item number, price, etc) from the shopping cart to another website (like Pay Pal or somewhere).

I see examples using html commands, but they use a "form". Since we are using ASP.Net 2.0 with a master page (which is a form), ASP.Net 2.0 really doesn't allow us to use another form in the html code.

How can we send this data? using Vb? If using Vb, how to do?

Thanks.

Mike

  #2 (permalink)  
Old April 10th, 2007, 04:21 AM
Authorized User
 
Join Date: Feb 2007
Location: Bangkok, , Thailand.
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Example of the html code from Pay Pal:

<form target="paypal"
   action="https://www.paypal.com/cgi-bin/webscr"
   method="post">
   <input type="image" src="https://www.sandbox.paypal.com/
      en_US/i/btn/x-click-but22.gif"
      border="0" name="submit" alt="Make payments with PayPal -
      it's fast, free and secure!>
   <img alt="" border="0"
      src="https://www.paypal.com/en_US/i/scr/pixel.gif
      width="1" height="1">
   <input type="hidden" name="add" value="1">
   <input type="hidden" name="cmd" value="_cart">
   <input type="hidden" name="business"
      value="sample@sample.com">
   <input type="hidden" name="item_name"
      value="Store Item 1">
   <input type="hidden" name="amount" value="50.00">
   <input type="hidden" name="no_shipping" value="2">
   <input type="hidden" name="no_note" value="1">
   <input type="hidden" name="currency_code" value="USD">
   <input type="hidden" name="tax" value="0">
   <input type="hidden" name="bn" value="IC_Sample">
</form>

  #3 (permalink)  
Old April 10th, 2007, 08:18 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi Mike,

Do a Google search for CrossPagePostback

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
  #4 (permalink)  
Old July 30th, 2007, 04:48 AM
Registered User
 
Join Date: Jun 2007
Location: Hyderabad, A.P., India.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to cholletivinod
Default

am also using the master page but am sending hidden values from one child page and i want to get those values in another page

please give rep

Vinod
  #5 (permalink)  
Old July 30th, 2007, 04:54 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi Vinod,

To what application of the book ASP.NET Instant Results are you referring?

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
  #6 (permalink)  
Old October 23rd, 2007, 05:55 PM
Authorized User
 
Join Date: Oct 2007
Location: , , .
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

What was the solution to this issue as I am having the same exact issue. We want to integrate with paypal but are having the same issue when it comes to forms. How can we send this data to PayPal not useing a form or can we use a form and if so how do we set this up.



  #7 (permalink)  
Old October 24th, 2007, 02:08 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

The solution was to do a Google search for CrossPagePostback....

Imaar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page wise display of data in a shopping cart nazia SQL Server 2000 1 December 22nd, 2006 04:03 PM
Shopping Cart seannie ASP.NET 2.0 Basics 0 December 12th, 2006 10:28 AM
Shopping cart help rsm42 ASP.NET 1.0 and 1.1 Basics 3 December 9th, 2006 06:09 AM
Shopping cart Manoj babu General .NET 0 February 14th, 2005 04:20 AM
shopping cart isheikh BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 2 October 8th, 2004 04:20 PM



All times are GMT -4. The time now is 02:58 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.