c# MVC3 ajax.beginform to upload file not working

后端 未结 5 1255
半阙折子戏
半阙折子戏 2020-12-06 22:53

After clicking the submit button. I am getting null in entity. Do anyone have a solution?

View

    @using (Ajax.BeginForm(\"CreateRo         


        
5条回答
  •  离开以前
    2020-12-06 23:17

    You cannot upload files using AJAX.Beginform.
    There are many third party js controls available.
    But i don't find them much useful.
    Either you have to use