Copied to clipboard

Flag this post as spam?

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


  • Colin Wright 8 posts 28 karma points
    Dec 05, 2013 @ 17:56
    Colin Wright
    0

    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

  • Anders Burla Johansen 2560 posts 8256 karma points
    Dec 06, 2013 @ 08:42
    Anders Burla Johansen
    0

    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.

  • Colin Wright 8 posts 28 karma points
    Dec 06, 2013 @ 09:08
    Colin Wright
    0

    Perfect!!

  • Colin Wright 8 posts 28 karma points
    Dec 06, 2013 @ 09:33
    Colin Wright
    0

    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

  • Anders Burla Johansen 2560 posts 8256 karma points
    Dec 06, 2013 @ 09:44
    Anders Burla Johansen
    0

    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies