MVC - Using Ajax to render partial view

前端 未结 3 1213
误落风尘
误落风尘 2020-12-15 10:10

I have this markup in an MVC app.

<% Recipe recipe = (Recipe)Model; %> <% Html.RenderPartial(\"Ingredie
3条回答
  •  太阳男子
    2020-12-15 10:29

    RenderPartial takes an action name, not the name of the user control, so replace "IngredientsListControl" with "UpdateStep2", your action name.

提交回复
热议问题