non .net form issue within a .net form tag

this may be a bad question...

but I am adding a shopping cart to my asp.net website and it calls for the following code for the 'buy now' buttons:

<form method="POST" action=http://www.cart.net/cart.aspx/CartName>
<input type="hidden" name="ID" value="IDName">
<input type="hidden" name="Describe" value="IDName Description">
<input type="hidden" name="Price" value="100.00">
<input type="hidden" name="QtyMax" value="1">
<input type="hidden" name="Multi" value="N">
<input type="hidden" name="ESD" value="Y">
<br>
<input type="submit" name="Submit" value="Add To Cart">
</form>

 

The submit button and information from the form pulls up correctly from an .aspx page...but nothing happens when the 'Add to Cart' button is pressed. It works correctly when it is in a .html page. Why is it not working in .aspx pages?  Does it have something to do with the fact that the cart form resides within another .net form (<form id=form1 runat=server>)?

0
twenty7
2/13/2008 7:17:53 PM
asp.net.web-forms 93655 articles. 6 followers. Follow

1 Replies
2647 Views

Similar Articles

[PageSpeed] 15

Please take a look into this.  Nested forms are not valid html.

http://www.zen-turkey.com/blog/default.aspx?id=6&t=Adding-a-Paypal-button-to-an-ASP-NET-Pa

 

0
a
2/13/2008 8:53:49 PM
Reply:

Similar Artilces:

Implementing .Net Form into an APS.net web form, can this be done
I am new here, but have been searching for a while, and may not have the correct lingo to find what I am looking for.  I am tasked with implementing a .exe application that was writen vb6 then converted to .net into a new website my team is developing. The idea is to put each of the 3 different forms in this .exe application of 3 different .aspx pages. I have attempted multiple things to get this into the page and even started to just rewrite it as an ASP.net web form, but even then I can't reuse any of the code since the System.Web.UI.Page doesn't inherit the sa...

windows forms in vb .net into web forms
we are creating a database driven website as part of our project. currently we have forms connecting to the database created in visual basic. these windows forms we need to convert into web forms which are asp .net compatible. can u give me an answer or show me a way. Hi, because of the difference in nature between web and win applications you'll need to reimplement at least the UI part. If you have a multitiered application in which the busines logic and data access are in different parts/assemblies you can reuse them. Grz, Kris.Read my blog. Handy Firefox plugins for web developers.Wor...

IE 7
Ok, so I have been  having this issue for a while now and I can't figure out how  to get around it. We have a google search   on the top of the page, an HTML form ,standard fare. The form is rendered inside the .NET primary form. so <form><form name="gsearch"></form></form>  With firefox  this isn't  an issue, both forms do what they are supposed to. However IE triggers the primary form when I submit the HTML google search form and the button on the form below the google search ceases to function. I was getting...

How To Convert c#2005.net web template to vb2005.net Forms Template
I need  Convert c#2005.net web template to vb2005.net Forms Template   There are some free c# to vb converters out there which will allow you to upload a project and convert it to vb.   The programming models for windows forms and web projects are very different there is no way to convert a web to windows forms project.   http://www.carlosag.net/Tools/CodeTranslator/Default.aspx      Silverlight-helpVb TipsSpace Coast .Net User Group Hey Ajax-y, This tool really helps all programmers. I thought I would share this wit...

Access forms vs vb.net forms
I have to do an windows application for an access database, which currently had access forms. I am trying to convince doing it in vb.net. I know I can do much better froms or front end with VB.net. I am not sure how to convince my boss or client. Thanks If you want info on Windows Applications try www.windowsforms.net. Here's how to convince them, if they are tight about money: vb.net = Only need one license, for you the programmer, which you may already have access = need an access license for every person that uses the program (shush, don't tell them about access runtime) I...

.NET Windows Forms in .NET Library Model
Hi, I downloaded C# 2.0 Library Model and I see that it does not contain Windows Forms classes (System.Windows.Forms namespace). Is there another library model for this? ...

.Net Web Forms
what is the best way to create a multi-page web insurance quote form (similar to Geico) that will insert information into a database? The examples i've seen show one form with a submit button at the bottom. I need to break this form into at least three different aspx or ascx pages. Thanks for the help. I did something similiar since I have like 7 sections to an application. The way I did it was by using the asp:panel control. When the user finished one section and clicks a button it inputs the data into the database and hides the 1st panel and shows the next one. HTH...

How to call One FORM from Another FORM IN VB.NET
I AM NEW TO VB.NET, I CREATE A REPORT USING REPEATER COMPONENT (FORM NAME IS REP_VIEW) IN ANOTHER FORM (REP_GET) I GET CODE,MONTH AND YEAR FROM THIS FORM (REP_GET) WHEN I RUN THE FORM REP_GET AND GET DETAILS OF CODE,MONTH,YEAR AND I CLICK THE VIEW BUTTON IN REP_GET FORM IMMEDAIATELY FORM_VIEW FORM HASTO BE OPEN AND REPORT  HAS TO BE VIEWED.  BASED ON CODE,MONTH,YEAR SQL QUERIES ARE IN CODE BEHIND OF FORM_VIEW , CONDITIONS ARE CODE,MONTH,YEAR,      WHICH IS GET FROM FORM_GET   PLEASE HELP ME   THANKS  ...

Unusual problem where form parameters are not being passed to a .NET form
Hi, I am using Visual Studio 2005 on Windows 2003 (64 bit) and have a very unusual problem and would appreciate any help. Requirement - The Web application is part legacy part ASP part .NET. I have a requirement to show a Cyrstal PDF report in a new browser window. To do this I load and auto submit an ASP form which submits to a .NET form that opens in a new window. The .NET form generates the Crystal PDF file and response.redirects to display the report in the new window. Problem - On my development manchine (which hosts the web server) the application works as planned. Howeve...

Forms or No Forms
Hope this isn't a repeat.  I looked and didn't find anything. Say for example you had a web page with around 20 fields retrive and update to a database with differing datatypes.  Some fields will have some special controls (dropdowns, radios, buttons, etc) that interact with other parts of the page.  What is the best and/or most efficient code to make the page. Would you use a Formview bound to a standard ADO.net SQL connection and edit the templates. Use a Formview bound to an Object Data Source and edit within the templates. Or use an Object Data Source and bind the...

.NET and other forms
Hello - I am working with a site built (not by me) in .NET, and I am trying to add a google search bar. I add the code: <!-- Search Google --> <center> <FORM method=GET action="http://www.google.com/search"> <TABLE cellspacing=0 cellpadding=0><tr><td valign=top> <A HREF="http://www.google.com/"> <IMG SRC="http://www.google.com/logos/Logo_40wht.gif" border="0"  ALT="Google" align="absmiddle"></A> <INPUT TYPE=text name=q size=25 maxlength=255 value=""> <INPUT type=submit name=btnG VALUE="Google Search"> </...

Accessing a method within a class VB.NET from a Web Form page.
 I got the following class within my App_Code folder under a file called DataAccess.vb: Namespace CircaComArtAccess Public Class ComArtData Private _connstr As String = System.Configuration.ConfigurationManager.ConnectionStrings("ESQLConn").ConnectionString() Public Sub ComArtGrid(ByVal procedurename As String, _ ByVal parameters() As SqlParameter, _ ByVal gridname As ComponentArt.Web.UI.Grid, _ ByVal e As ComponentArt.Web.UI.CallBackEventArgs, _ Optional ByVal commandtype As CommandType = 1 _ ) Dim SQLConn As SqlConnection...

A form within a form
I have a problem with setting up a google search box within a table on my site. The code for the search box is a form and my entire visible area is inside another form. Like this: Now the first is the entire visible area to create dynamic pages, and the second form is the search box. This setup does not work at all, I get different visuals in different browsers. Is there an easy way to fix this or are forms within forms just a bad case...? , MacGoose  Maybe even you can fix the issue but having form inside another form is not very good concept. You should rather send ...

form within form
Hi,I have a <form runat="server"> at the start of my page, as i have some server controls (asp:label, etc...) in the page.  I need to integrate a paypal button onto the page, but the problem is paypal buttons needs to be within a form tag.  they provide the code and it starts with <form....></form>  Is there anyway around this?  the form has hidden fields values that are submitted to the paypal page, so i need to make sure those are sent to their site. Thanks.  Hello pkd,> the problem is paypal buttons needs to be within a form t...

Web resources about - non .net form issue within a .net form tag - asp.net.web-forms

Adopt A New Best Friend This Black Friday For Free
While many people will be out fist fighting over the best discount sweaters, you can meet a new best friend and take him or her home for free. ...

Official Star Wars App Now Has An Android Wear Watch Face
If you’re a huge Star Wars fan, there is a very good chance that you might have already downloaded the official Star Wars app on your Android ...

3 Million People Expected to Attend NYC Thanksgiving Parade
ABC News 3 Million People Expected to Attend NYC Thanksgiving Parade ABC News As millions of Americans prepare to celebrate Thanksgiving, ...

Navigator of Downed Russian Plane Says There Was No Warning
New York Times Navigator of Downed Russian Plane Says There Was No Warning New York Times MOSCOW — The Russian navigator who parachuted out ...

3 million people expected to attend NYC Thanksgiving parade
NEW YORK (AP) — As millions of Americans prepare to celebrate Thanksgiving, security will be tight in New York City with a record number of police ...

Donald Trump To Receive Endorsement From 100 African-American Pastors
Donald Trump is expected to be endorsed for president by 100 African-American pastors and faith-based leaders in a press conference scheduled ...

2015 likely to be warmest on record, 2011-2015 warmest five year period
The global average surface temperature in 2015 is likely to be the warmest on record and to reach the symbolic and significant milestone of 1° ...

Paris attacks: Islamophobic tweets drown in voices of support
As people around the world expressed solidarity with France, a few blamed Islam and Muslims for the Paris attacks.

Human error led to deadly US strike on Afghan hospital -military
Reuters Human error led to deadly US strike on Afghan hospital -military Reuters WASHINGTON A U.S. investigation found that the deadly Oct. ...

DAILY MAIL COMMENT: George Osborne's Autumn Statement was a huge gamble
George Osborne showed himself a master of his political trade in yesterday's Autumn Statement - but seems to have abandoned his early enthusiasm ...

Resources last updated: 11/26/2015 8:24:05 AM