I have searched everywhere and found a lot of information on this but nothing that can fix my problem.
This is my shopping cart HTML, I eventually realised I dont need a form tag here because I have one over my entire masterpage. However when I click on the first button "Update" it works fine. But when I try to redirect from this page with "Proceed To Checkout", which Posts Back to another page I get the error....
User Profile
Collapse
-
C# ASPX .NET2: A page can have only one server-side Form tag.
-
Got around this now, Cheers. -
Yes sorry, Half asleep. Under a lot of pressure to get this work done.Leave a comment:
-
C #, ASPX: Buttons not working after a form.
Hello.
I have a form with an update button on a page that sends to itself, for very specific/special reasons.
But after the form I have a button to proceed to a new page. But no buttons I put on the page after the form work, only before it. When they are clicked nothing happens. I tried to use another form but I get a "can not have multiple runat server forms" error.
Any solutions? Thanks. -
Thanks bala2it4u.
I looked into using the your form solution. I could not get it to work exactly how you said because of the textbox names in the html code. So I just took the whole form string and wrote a method to parse out the stuff I want.
Cheers.Leave a comment:
-
Interesting, however since the TextBox's were all created in the same loop they all have the same name and they all have a randomly created ID. Even if I try to give it a unique ID there is always something added to the start of it. Is there a way to get around this?Leave a comment:
-
C# .Net2: Updating Cookie from Dynamically created controls.
Hello,
I am trying to dynamically create a table based on the information I have in my cookie for a shopping cart. I can create it and display it and all is good.
I put the contents of the cookie into a multidimensiona l array and loop through the array creating rows and cells based on the information. I create TextBox's and add them to the cells for displaying the quantity.
So I want to display the quantity...
No activity results to display
Show More
Leave a comment: