<TelerikUpload SaveUrl="@SaveUrl"
RemoveUrl="@RemoveUrl"
AllowedExtensions="@( new List<string>() { ".pdf", ".docx" } )"
OnSelect="@OnSelectHandler"
OnCancel="@OnCancelHandler"
OnRemove="@OnRemoveHandler">
</TelerikUpload>
When the AllowedExtensions is set for the Telerik Upload control, it is expected that the File selection dialog box should filter the files by the file types in the Allowed extensions only. However, the dialog shows all files.
------
ADMIN EDIT
This will likely be exposed via the accept attribute the <input type=file> exposes. Note that it requires MIME types, not extensions.
At the moment, the extension can be filtered only after the file is selected: https://docs.telerik.com/blazor-ui/components/upload/validation.
-----