MaxFileSize in Ajax Uploader

Last post 10-14-2011, 7:21 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  10-14-2011, 3:41 AM 70389

    MaxFileSize in Ajax Uploader

    Hi,
     
    Is there any option to set max file size limit in uploader. I want to prompt user if he want to upload a file which is larger than a fixed allow size in application. There is a option of max number of file but not max file size.
     Please reply how can i resolve my issue.
     
    Thanks,
    Hemant 
  •  10-14-2011, 3:45 AM 70390 in reply to 70389

    Re: MaxFileSize in Ajax Uploader

     I found the solution :
    set ValidateOption.MaxSizeKB =100
  •  10-14-2011, 4:42 AM 70392 in reply to 70390

    Re: MaxFileSize in Ajax Uploader

    Hi ,
     
    I want to add file name along with this file too large message.
    is it possible?
    Thanks,
    HemantP 
  •  10-14-2011, 7:21 AM 70396 in reply to 70392

    Re: MaxFileSize in Ajax Uploader

    Hi hemantp,
     
    Parameter {0} is the upload file name
     
    uploader1.FileTooLargeMsg = "file {0} is too large "; 
     
    Regards,
     
    Ken
View as RSS news feed in XML