Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > can kentico form restrict file uploads? View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
Gitesh - 3/5/2013 4:05:38 PM
   
can kentico form restrict file uploads?
Hi Guys,

I am creating a bizform and want this form to have file upload restriction.

Users should be able to upload only 2MB files and not more than that.

Note: other forms should be able to upload larger files but only a specific form needs to be restricted.

Also, Is this possible with kentico 6?

Thanks
Gitesh Shah

User avatar
Kentico Support
Kentico Support
kentico_radekm - 3/5/2013 10:17:06 PM
   
RE:can kentico form restrict file uploads?
Hello Gitesh.

Regrettably, we don't have built-in functionality for this. You could, however, develop a custom form control and handle file size within, using standard .NET API. Optionally, you can try handling this in some BizForm event, like OnBeforeSave or OnAfterSave.

Best Regards,
Radek Macalik