This is a migrated thread and some comments may be shown as answers.

DBContentProvider

1 Answer 63 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Kjell
Top achievements
Rank 1
Iron
Kjell asked on 01 Feb 2014, 11:30 AM
I've applied the example DBContentProvider-Vb.zip (http://www.telerik.com/support/code-library/connect-radfileexplorer-or-radeditor-to-a-sql-databse) on my website and everything seems to work except that it is not possible to upload files with extension  .docx .pptx .xlsx
But it goes well with .doc ppt .xls
And I get no error message or anything ...
Have tried to enter: RadFileExplorer1.Configuration.SearchPatterns = New String () {"*. *"}
Without success...

What am I doing wrong?

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 04 Feb 2014, 12:10 PM
Hi Kjell,

This issue occurs due to the fact that docx file's MimeType is larger than the corresponding column in the database.

To avoid this issue you need to increase the size of the MimeType column of the Items table - currently its type is nvarchar(50) and the docx mime-type is 71 characters long (application/vnd.openxmlformats-officedocument.wordprocessingml.document).

Regards,
Dobromir
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
FileExplorer
Asked by
Kjell
Top achievements
Rank 1
Iron
Answers by
Dobromir
Telerik team
Share this question
or