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

Rad Editor Image Upload Error when image name have special character

5 Answers 60 Views
Editor
This is a migrated thread and some comments may be shown as answers.
amit aggarwal
Top achievements
Rank 1
amit aggarwal asked on 07 Jun 2010, 10:21 AM

Attached error is coming while i am trying to upload a image via image manager. This is only happening when image name contains special characters.

The error message is not very user friendly. Is ther something i am doing wrong or its a issue with RAd Editor.

Please let me know if somebody have experienced the same.

5 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 07 Jun 2010, 12:09 PM
Hi Amit,

If this error pops up only when upload a file with special characters in the name then you can use the solution provided in the following code library: Restricting Uploaded Files by Regular Expression.

Best regards,
Rumen
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.
0
amit aggarwal
Top achievements
Rank 1
answered on 07 Jun 2010, 12:25 PM
Hi Rumen,

Thanks for your response, but link is not opening.

see the attachement.
0
Rumen
Telerik team
answered on 07 Jun 2010, 04:20 PM
Hello Amit,

Can you please try the link once again?
If it does not work try the following one:

http://www.telerik.com/community/code-library/aspnet-ajax/editor/restricting-uploaded-files-by-regular-expression.aspx

Actually, this is the top placed article in this page: http://www.telerik.com/community/code-library/aspnet-ajax/editor.aspx.


Best wishes,
Rumen
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.
0
amit aggarwal
Top achievements
Rank 1
answered on 08 Jun 2010, 06:17 AM
Hi Rumen,

Thanks for your response.

Can you help me integerating this solution in the article. Any steps to follow, i am not a tech person. Any help regarding that would be great.

Thanks,
amit
0
Rumen
Telerik team
answered on 08 Jun 2010, 09:19 AM
Hi Amit ,

The code library includes a fully working project which you can deploy and test. The FileSystemProvider code that checks for special symbols is available in the Default.aspx.vb codebehind file. You can find another example providing guidance how to implement a FileSystemContentProvider in this KB article: Retrieving the size of the uploaded file(s) and restricting file upload.

If you have any other questions regarding the "Restricting Uploaded Files by Regular Expression" code library, please post them in the code library and Gianluca Mariani could answer them.

Best regards,
Rumen
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.
Tags
Editor
Asked by
amit aggarwal
Top achievements
Rank 1
Answers by
Rumen
Telerik team
amit aggarwal
Top achievements
Rank 1
Share this question
or