PayPal and hidden input boxes

Last post 06-30-2009 12:51 AM by ramireddyindia. 1 replies.

Sort Posts:

  • PayPal and hidden input boxes

    06-29-2009, 5:58 PM
    • Member
      24 point Member
    • ChrisYard
    • Member since 11-14-2008, 4:23 PM
    • Posts 144

     Hi All,

    Please can someone help me, I have added a 'buy now' button from the code Paypal supplied, it works fine BUT I want to change some of the values sent via my code behind.  How do I do it ?? I have tried to use the findcontrol instruction but it always return nothing.

    Are the <input> tags not visible when using the findcontrol ? if they are how do I change the values from my code behind ???

    The only reason I ask this is that I have the button in a grid view and the product / value / QTY can change per product and I dont want to create a button for each product (100+).

    Please can some one help me

    Thanks in advance

    Chris

    Filed under: ,
  • Re: PayPal and hidden input boxes

    06-30-2009, 12:51 AM
    Answer

    download the paypal sample application in the below link

    http://www.codeguru.com/csharp/.net/net_asp/miscellaneous/article.php/c13851__2/

    and see the paypal.aspx page and its code-behind page and see how the values were binded. 

    Give a man a fish and you feed him for a day. Teach a man to fish and you feed him forever.
Page 1 of 1 (2 items)