Binding HttpPostedFileBase using Ajax.BeginForm

前端 未结 4 553
星月不相逢
星月不相逢 2020-12-03 19:16

I have a form which binds a model and a file upload using the default binder for HttpPostedFileBase.

This works fine when using Html.BeginForm(). However, I wanted t

4条回答
  •  遥遥无期
    2020-12-03 20:01

    It is possible, the answer is here:

    https://stackoverflow.com/a/13522052/1067149

    I did it myself and it's guaranteed it works.

提交回复
热议问题