I am having a problem getting the above form to appear more than once on the page. I have a nested razor script displaying my products with the master rendering a child script. Each child script contains a product. All the products display correctly however only the last item has been wrapped in the form tags. I have copied portions from the startup kit to create this but I am obvisouly missing a vital component
If you are using asp.net master pages - then remove the form runat=server. You can easily have multiple forms - but they can not be nested inside each other.
form /base/TC/FormPost.aspx
I am having a problem getting the above form to appear more than once on the page. I have a nested razor script displaying my products with the master rendering a child script. Each child script contains a product. All the products display correctly however only the last item has been wrapped in the form tags. I have copied portions from the startup kit to create this but I am obvisouly missing a vital component
If you are using asp.net master pages - then remove the form runat=server. You can easily have multiple forms - but they can not be nested inside each other.
Perfect!!
Not quite. I need the form runat=server for my login and signup pages. Any suggestions to work around that?
Forget this I got it. Thanks again
The work around is to not use asp.net forms if you want to use the html api of Tea Commerce - AND Umbraco is moving in the MVC direction where you dont have an asp.net form. You can do login using /base in Umbraco or this razor stuff.
https://gist.github.com/joeriks/874194
http://our.umbraco.org/projects/website-utilities/razorlogin
Kind regards
Anders
is working on a reply...