jQWidgets Forums
Forum Replies Created
-
Author
-
oh!!! in case if we want to use in aspx page with master file, then how to use file upload in such case?
Do I need to change any attributes in <form> tag?.. Because the page uses master file
No error… and fileUpload.on(‘uploadEnd’, also not firing
Any updates pls..
An additional info… The file is in Desktop
Hi,
Thanks for the update. I tried using the given code. I am able to get ‘BROWSE’ button and able to choose file. But I am unable to get the posted file on Button click.
I tried the given sample
https://www.jqwidgets.com/jquery-widgets-documentation/documentation/asp.net-integration/jquery-fileUpload-with-asp.htm?search=This is the code using in grid column list initialization
text: ‘Picture’, datafield: null, width: ‘8%’,
createwidget: function (row, column, value, htmlElement) {
var fileUpload = $(‘<div></div>’);
$(htmlElement).append(fileUpload);
fileUpload.jqxFileUpload({ width: 300,
accept: ‘image/*’,
uploadUrl: ‘/BusProcReqInbox.aspx’,
fileInputName: ‘fileToUpload’
});fileUpload.on(‘uploadEnd’, function (event) {
var args = event.args;
var fileName = args.file;
var serverResponse = args.response;
// Your code here.
console.log(args);
console.log(fileName);
console.log(serverResponse);
});
},
initwidget: function (row, column, value, htmlElement) {}
Please help me
-
AuthorPosts