Hey guys, i've got uploadify handling some file uploads on my mvc project and that part is working very nicely i just want to know what i will need to add to my controller action to get access to scriptData variables that i am passing from the uploadify javascript
EDIT for some more clarification:
my uploadify script is as follows:
var fileCategoryID;
$(document).ready(function() {
$('#uploadify').uploadify({
'uploader': '../../scripts/uploadify.swf',
'cancelImg': '../../content/images/cancel.png',
'script': '../../' + $('#Controller').val() + '/FileSave/' + $('#OrderID').val(),
'folder': 'Uploads',
'multi': true,
'auto': false,
'queueSizeLimit': 5,
'queueID': 'fileQueue',
'displayData': 'speed',
'fileExt': '*.pdf',
'fileDesc': 'PDF',
'sizeLimit': '5242880',
'scriptData': { 'categoryID': fileCategoryID }
});
$('#fileCategory').change(function() {
fileCategoryID = $('#fileCategory').val();
});
});
I am curious how I can access this data from within my controller action