Re: How to get the File name(s) Uploaded using CuteWebUI Ajax Uploader

  •  09-04-2013, 1:16 PM

    Re: How to get the File name(s) Uploaded using CuteWebUI Ajax Uploader

    i Rkumar1,

     

    You can get all upload files name in event UploadCompleted, then get the name without file extension by the code below.

     

    1. protected void uploader1_UploadCompleted(object sender, UploaderEventArgs[] args)  
    2.     {  
    3.         for (int i = 0; i < args.Length; i++)  
    4.         {  
    5.             string name = args[i].FileName.Remove(args[i].FileName.LastIndexOf("."));  
    6.             //the name above is the file name without extension  
    7.         }  
    8.     }  
     

    Regards,

     

    Ken 

View Complete Thread