Backy Shah
Top achievements
Rank 1
Backy Shah
asked on 12 Oct 2009, 08:58 PM
Hi,
I want to allow only specific file types to be uploaded using File Explorer. I tried by changing SearchPatterns option but It still can upload all the file types. Is there any other settings we can change for this?
Thank you
I want to allow only specific file types to be uploaded using File Explorer. I tried by changing SearchPatterns option but It still can upload all the file types. Is there any other settings we can change for this?
Thank you
3 Answers, 1 is accepted
0
Accepted
Hi Backy,
If you set specific file extension in the SearchPatterns property, and then try to upload a file that has a different extension as a result you will get the popup shown in the attached screeshot. For your convenience I have attached an example configuration that shows how to configure the FileExplorer control to reject all uploaded file except those with extension .txt .
I hope this helps.
Greetings,
Fiko
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
If you set specific file extension in the SearchPatterns property, and then try to upload a file that has a different extension as a result you will get the popup shown in the attached screeshot. For your convenience I have attached an example configuration that shows how to configure the FileExplorer control to reject all uploaded file except those with extension .txt .
I hope this helps.
Greetings,
Fiko
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Backy Shah
Top achievements
Rank 1
answered on 16 Oct 2009, 07:10 PM
Hi Fiko,
I am getting problem with the height of FileExplorer control in .ascx page. The height automatically gets double of what we provide in height property when we use this control in .ascx page. If I use this in .aspx page, It works fine.
Please tell me how do I solve it.
Thank you.
I am getting problem with the height of FileExplorer control in .ascx page. The height automatically gets double of what we provide in height property when we use this control in .ascx page. If I use this in .aspx page, It works fine.
Please tell me how do I solve it.
Thank you.
0
Hello Backy,
I was not able to reproduce the problem on my side. Could you please rework the attached project, open a new support ticket and send it back? I will check it and do my best to provide a working solution as soon as possible.
Best wishes,
Fiko
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I was not able to reproduce the problem on my side. Could you please rework the attached project, open a new support ticket and send it back? I will check it and do my best to provide a working solution as soon as possible.
Best wishes,
Fiko
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.