|
|
 |
Re: FN-FORUM: .Net Form Posting
date posted 25th February 2008 17:51
On Monday, February 25, 2008 6:28 PM, Phillip Healey wrote:
>
>>Can you put the paypal buttons outside the main form? Do they need to be
>>alongside other input controls or could you keep the main form small to
>>store the viewstate and whatever other transient data and then put the
>>buttons outside of that?
>
> Not really. Im storing the cart items as cookies then retrieving them as a
> page displaying the cart contents. Then adding information such as
> delivery details. So this all need verification when the submit button is
> clicked.
>
> If this delivery info passes verification, i want to submit the contents
> of the cart (cookies) as a form to Paypal, using a form which allows you
> to
> add multiple items and display them as a full cart inventory on the paypal
> invoicing page.
>
> Thus there is a cross-over between my code and the Paypal code / forms.
>
> So it would seem i need to programmatically add the Paypal form.
> Somehow!????????
>
> If i didn't need verification of delivery details on the submit button
> then i could end the .Net form before the button, but unfortunately that
> isn't
> the case.
>
> To further hinder this solution im using a MasterPage too.
>
> So i need to be able to build and then action, a form programmatically, i
> guess.
>
> Im really surprised there aren't any real solutions to this to be found
> via that Google website thing. ;-)
>
> HELP HELP HELP!!!
>
The best place to ask these questions is http://forums.asp.net/ Your
problem is quite specific but I'm pretty sure there'll be someone there who
has solved the exact same problem.
I had a problem doing something similar; cleaning a form to remove unwanted
items that asp.net kindly drops in there. I never managed to solve it
ideally. When passing the form object as a parameter I had to recieve it as
a NameValueCollection - which has read only items, meaning that I had to
copy the items I wanted to another NameValueCollection, but by the time
you've got that far you notice that your NameValueCollection has the same
data as a form but it is NOT a quite a collection of form data! Ahh..,
|
 |
|