AllowedFileExtensions and files with no extension

2 posts, 0 answers
  1. Ross Barbieri
    Ross Barbieri avatar
    15 posts
    Member since:
    Jan 2010

    Posted 04 Jun 2010 Link to this post

    Hello, how can i configure the AllowedFileExtensions property to allow files having no file extension to be uploaded?  For example, i want to allow .jpg and .txt, and also any file that has no extension.  I have tried adding just ".", but it doesn't work.
  2. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1600 posts

    Posted 10 Jun 2010 Link to this post

    Hi Ross Barbieri,

    This functionality is not supported out of the box, some custom coding is required to in order to get it work. I have prepared sample project that demonstrates a possible approach, you may find it as an attachment. I also suggest that you take a look at the following help article that explains how to apply custom validation to RadUpload.

    Sincerely yours,
    Genady Sergeev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top