I'd like to know if there is an alternative for this in ASP.NET MVC:
<input type="file" name="filePath" id="file" />
I would like to have it with some code sample:
<%= Html.TextAreaFor(m => m.FilePath,1,32,null)%>
I'd like to know if there is an alternative for this in ASP.NET MVC:
<input type="file" name="filePath" id="file" />
I would like to have it with some code sample:
<%= Html.TextAreaFor(m => m.FilePath,1,32,null)%>
Write your own Html helper, that will render this html code for you. You can use this tutorial or this video to get some knowledge about how to make it.