Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gaurav 12 posts 32 karma points
    Jan 24, 2011 @ 14:43
    Gaurav
    0

    how we can use post method in umbraco

    hi all
              i have a problem i am submitting the form by post method and some value to be send by the post method,
        in my page the PayNow button when we click on it then it go to the third party payment gateway by the post method,
     but it not working in the umbraco because the form tag can be only on the masterpage , so where i can give the post method. Help me

  • Michael Latouche 504 posts 819 karma points MVP 3x c-trib
    Jan 24, 2011 @ 15:45
    Michael Latouche
    0

    Hi Gaurav,

    Normally you can change the post method of your masterpage form, from a javascript "OnClientClick" event on your "PayNow" button (assuming this is an asp.Net Button object).

    Cheers,

    Michael.

  • Sebastiaan Janssen 5045 posts 15478 karma points MVP admin hq
    Jan 24, 2011 @ 19:03
    Sebastiaan Janssen
    0

    In most cases, you really don't need the form tag surrounding the entire masterpage. You usually only need to have a form runat=server tag around a custom usercontrol that you've built.

    So if you have none of those, remove the form tag from the masterpage and just put it around the payment form you made.

  • Gaurav 12 posts 32 karma points
    Jan 25, 2011 @ 07:03
    Gaurav
    0

    thanks for your reply

    i can got the answer from your reply

    thanks again

Please Sign in or register to post replies

Write your reply to:

Draft