Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 14, 2012 05:54 AM by BU XI - MSFT
Member
306 Points
524 Posts
May 11, 2012 08:57 AM|LINK
Dear All,
I have:-
{ name: 'file', index: 'file', hidden: true, editable: true, edittype: 'file', edittype: 'file', editrules: { edithidden: true, required: false } },
But cannot pass the value to controller using
[AcceptVerbs(HttpVerbs.Post)] public ActionResult EditMaster(HttpFileCollection file)
{
}
file return null.
Please advise.
Thank you.
Regards,
Micheale
All-Star
22367 Points
2704 Posts
Microsoft
May 14, 2012 05:54 AM|LINK
Hello
For using jQGrid to upload, you'll customise a function a make the upload process, for your reference, It is decided after data is sent and response is received. For your reference, http://stackoverflow.com/questions/7550304/jqgrid-upload-a-file-in-add-edit-dialog
micnie2020
Member
306 Points
524 Posts
JQGrid file Upload
May 11, 2012 08:57 AM|LINK
Dear All,
I have:-
{ name: 'file', index: 'file', hidden: true, editable: true, edittype: 'file', edittype: 'file', editrules: { edithidden: true, required: false } },
But cannot pass the value to controller using
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult EditMaster(HttpFileCollection file)
{
}
file return null.
Please advise.
Thank you.
Regards,
Micheale
BU XI - MSFT
All-Star
22367 Points
2704 Posts
Microsoft
Re: JQGrid file Upload
May 14, 2012 05:54 AM|LINK
Hello
For using jQGrid to upload, you'll customise a function a make the upload process, for your reference, It is decided after data is sent and response is received. For your reference, http://stackoverflow.com/questions/7550304/jqgrid-upload-a-file-in-add-edit-dialog
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework