I am trying to pass over some parameters to a HTTP post that is used with my slickup load.
cshtml -
<form action="/MyForms/Attachments" enctype="multipart/form-data" id="uploadForm" method="post" onclick="Sys.Mvc.AsyncForm.handleClick(this, new Sys.UI.DomEvent(event));"
onsubmit="Sys.Mvc.AsyncForm.handleSubmit(this, new Sys.UI.DomEvent(event), { insertionMode: Sys.Mvc.InsertionMode.replace, updateTargetId: 'divConfirmation',onSuccess: Function.createDelegate(this, attachmentSuccess), onFailure: Function.createDelegate(this, attachmentFailure) });" >
<input type="hidden" id="filledFormId" value="@Model.FilledFormId" />
@Html.KrystalwareRazor(new SlickUpload()
{
c# -
[HttpPost]
public PartialViewResult Attachments(UploadSession uploadSession, int? filledFormId)
{
However the input type is not getting passed.
Any ideas?
New to all this!
Thanks
Kev.