html - MVC form with parametars: -


I use fileuploader Jquery, I tried to define:

  & Lt; Form enactiepie = "multipart / form-data" action = "& lt;%: Url.Action (" edit "," ticket ")% & gt;" Method = "post" & gt; Usage of   

(Html.BeginForm ("Edit", "Ticket", New {ticketOnAdit = Model}, FormMethod.Post, New {enctype = "multipart / form-data"}) {

Each of these ways is defined as HTML form:

  
class = "MultiFile-intercepted" method = "post" action = "21359" id = "Form1" & gt;

I do not have a parameter:

enctype = "multipart / form-data" given problem How to solve, if someone can show me what went wrong

Will be:

  & lt;% (Html.BeginForm ("edit", "ticket", new {ticketon edit = model}, form.mast.prost, new {enctype = "multipart / form -data "})} {%> ...    

like it (regards as the default route): < Pre> & quot; form action = "/ ticket / edit" enctype = "multipart / form-data" method = "post" & gt; ... & lt; / form & gt;

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -