Subject: Copy Query
Posted By: rsm42 Post Date: 1/19/2007 3:15:16 PM
Hi,

Can anyone help with a query I have ? Within an e-commerce web site on the payment page, I want the visitor to have an option to click on a button that copies the payment address details  if the delivery address is the same and paste them into fields for the delivery address. How do I do this ? The site is coded in asp.net 1.1 and vb.net. Any examples would help.

 

Many Thanks,  


Reply By: dparsons Reply Date: 1/19/2007 3:19:52 PM
Easy enough.  In your click event handler just set the contents of the controls in the payment address section to the controls in the delievery section.

So:

txtD.text = txtP.text

===========================================================
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
===========================================================
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
===========================================================
Reply By: rsm42 Reply Date: 1/24/2007 1:11:56 PM
Thanks


Go to topic 55338

Return to index page 54
Return to index page 53
Return to index page 52
Return to index page 51
Return to index page 50
Return to index page 49
Return to index page 48
Return to index page 47
Return to index page 46
Return to index page 45