New to Telerik UI for ASP.NET Core? Download free 30-day trial

FileManagerUploadValidationSettingsBuilder

Methods

AllowedExtensions(System.String[])

A list of the file extensions which are allowed for upload. Recognizes entries of both .type and type values.

Parameters

value - System.String[]

The value for AllowedExtensions

Example


                @(Html.Kendo().FileManager()
                    .Name("filemanager")
                    .Upload(upload => upload
                        .Validation(validation => validation
                            .AllowedExtensions(new string[] { ".pdf" })
                        )
                    )
                )

MaxFileSize(System.Double)

Defines the maximum file size in bytes allowed for upload.

Parameters

value - System.Double

The value for MaxFileSize

MinFileSize(System.Double)

Defines the minimum file size in bytes allowed for upload.

Parameters

value - System.Double

The value for MinFileSize

In this article
Not finding the help you need?