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

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

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