asp.net mvc 4 - How to bind model variable to input file type control -


working in asp.net mvc4:

i implementing edit functionality. need mapping old values model in controller , model passing view. in view unable bind model variable input file type control. want know how achieve problem.

thanks in advance........

if understanding correctly, want have value of input file control set value in model.

you cannot this, due security reasons. otherwise set control "c:\passwords.txt" or something, , use bit of javascript upload file without user knowing have done so.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -