Server Side ValidateOptions

  •  06-27-2010, 3:59 PM

    Server Side ValidateOptions

    Greetings, possible to change MaxSizeKB and AllowedFileExtensions in code?
     
    If I change this on Page_Load:
     uploadAttachments.ValidateOption.MaxSizeKB = 2048;
     
    While the default is set to:
     <VALIDATEOPTION MaxSizeKB="1024" />
     
    If the file size is about the default value, error saying file size is too big...
View Complete Thread