pass multiples paramaters on SaveAction

Hi,

How can I pass multiples paramaters in save Action?

In this thread explain how pass one parameter, but I need pass multiples parameters, or a class

https://www.syncfusion.com/kb/5150/how-to-pass-additional-data-to-save-handler-in-uploadbox

3 Replies

IB Ilakkiya Baskar Syncfusion Team March 12, 2018 12:12 PM UTC

Hi Manolo Capdevila,  
Thank you for contacting Syncfusion Support.  
  
We suggest you to use ClientSideOnBegin event to add parameter to get it in the file handler.  To send multiple parameter, we suggest you to use an array. Please refer the code block below,  
  
function onbegin(args)  
{  
     var Data = ["a","b"]; //Multiple parameters in an array  
     args.data = Data;  
}  
  
We have prepared a sample for your reference which can be seen from the following link  
  
Please ensure this in your end and if you want any other information, kindly revert to us.   
  
Regards  
Ilakkiya B  



MC Manolo Capdevila March 13, 2018 03:49 PM UTC

Thanks!


IB Ilakkiya Baskar Syncfusion Team March 14, 2018 06:39 AM UTC

Hi Manolo Capdevila, 
Most Welcome. Please get back to us if you require further assistance on this. We will be happy to assist you.  
Regards 
Ilakkiya B 
  


Loader.
Up arrow icon