answered question

answers (2)

cyberangel
0
Votes
BEST ANSWER  chosen by asker   |  cyberangel  |  January 16, 2009 02:48 AM
Jeremy Schneider came up with a brilliant solution to this problem that consists of a custom HtmlForm class that can have the form tag rendering toggled on and off.

The class is called GhostForm and has a property, RenderFormTag. When RenderFormTag is set to false, it doesn't render the opening or closing tags, but does render all of the contents. Reference the custom GhostForm class and in the code-behind of the form on which you are placing the button, place the following in the Page_Load to disable the master page form tag:

public partial class Products : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
GhostForm mainForm = new GhostForm();
mainForm.RenderFormTag = false;
.....
}
// Send your data to PayPal :-)
.....
}

Comment
naspinski
0
Votes
naspinski  |  January 16, 2009 06:27 AM
The cart at http://www.fatfreecart.com/ is as simple as you can possibly get. Just change the values to what you need and drop it in. it is made by the guys at http://www.e-junkie.com/ which would be the next step if you want a more managed cart, downloads, etc, but it is still just a drop-in solution. I use it at http://c-sharpener.com and it couldn't be easier to set up and requires absolutely no workarounds.

As for your second question, VS is a great program, but it can be a bit much some times. Microsoft offers a free Visual Web Developer Express which had it's newest version just released last year and will have more than all the features you need (you will recognize a lot from VS) including masterpage integration. Check it out: www.microsoft.com/express/vwd/

Good Luck!
source(s):
http://www.fatfreecart.com/
http://www.e-junkie.com/
www.microsoft.com/express/vwd/
Comment
robbrown
robbrown  |  January 16, 2009 12:20 PM
I can personally recommend e-junkie.

While I prefer code that is hosted on my server rather than rely on a 3rd party, I sometimes use e-junkie as a quick drop-in when I need to sell something very fast on a new page / site.
140

ask any question

Top of Page
Buy Mahalo Dollars
WITH CREDIT CARD OR PAYPAL

Please log in to use this function.