Copied to clipboard

Flag this post as spam?

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


  • Sonja 133 posts 621 karma points
    Jan 28, 2019 @ 11:31
    Sonja
    0

    httpGet runs twice

    Hi, In the partial view I have

    @{Html.RenderAction("DisplayList", "ProductList", Model);}
    

    when I run this The get method is running twice and it is causing the application to crash. The error message is "This instance has already started one or more requests. Properties can only be modified before sending the first request."

    When I run instead of it

    @using (Html.BeginUmbracoForm("DisplayList", "ProductList", FormMethod.Get))
    {…}
    

    the get method never runs. Please advice how do I get the get method to run only once?

  • Sonja 133 posts 621 karma points
    Jan 30, 2019 @ 09:14
    Sonja
    0

    no one had similar experience?

Please Sign in or register to post replies

Write your reply to:

Draft