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

Upload not working in the Rad Editor Image Manager tool

9 Answers 192 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Manisha
Top achievements
Rank 1
Manisha asked on 07 May 2013, 06:16 AM
Hi,

I am working on an ASP.Net Application which uses Telerik Rad Ajax tools in it. We have recently upgraded the Telerik version to the latest Q3 2012 version (2012.3.1308.35) from the Q3 2011 version. After the upgrade, the Image manager tool of the Rad Editor is behaving absurd. Firstly, the Upload and Delete button are not visible at all on the Image Manager window even though no change was made in the code. When I add the UploadPath parameter in the Image Manager declaration code, the button appears but the upload event is not fired on clicking the button. When I right- click on the folder named XYZHandler (where all images are kept) in the window, it gives me options to UPLOAD or RENAME. On selecting Upload, I get the window with Browse and Insert buttons but on selecting a file and uploading, it gives an error stating : File cannot be written to the given target.

Has the way of handling images in the Image manager changed in the latest version ? If so, could you please explain how. If not, what could be causing this issue ?

Please provide me a solution to this.

Thanks & Regards,

Manisha

9 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 09 May 2013, 07:11 PM
Hi Manisha,

A possible reason for such a behavior could be if you are using external dialogs for the RadEditor, which are not updated with the ones in the latest version. The dialog files have to be taken from the same folder where the current version of RadControls is installed and after that to apply all modifications to them.

If this is not the case, though, I will need to examine your markup on my side because I was not able to reproduce the described issues. You could see how to isolate a sample fully runnable project in the following blog post: Isolating a problem in a sample project

Regards,
Veselina Raykova
the Telerik team
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Manisha
Top achievements
Rank 1
answered on 10 May 2013, 09:34 AM
Hi Veselina,

I  have updated the dialog files at the time of upgrade itself , so it might not be the issue. We are planning to raise a support ticket for this.

Thanks,

Manisha
0
Rumen
Telerik team
answered on 10 May 2013, 01:10 PM
Hi Manisha,

My suggestion is to test with the built-in dialogs without registering the external ones, e.g. do not set the ExternalDialogsPath property. Does the problem still persist?


All the best,
Rumen
the Telerik team
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Manisha
Top achievements
Rank 1
answered on 13 May 2013, 06:45 AM
Hi Rumen,

I tried to test with the built-in dialogs without registering the external ones but the problem still persists. We are using Rad Editors everywhere in the application so this is a big issue.

Please any other suggestions ??

Thanks,

Manisha
0
Vessy
Telerik team
answered on 15 May 2013, 03:55 PM
Hi Manisha,

Is this issue reproducible only in IE? If so, it could be connected with the loading of maximum 31 stylesheets per file. Please, see the following blog post on the subject: Internet Explorer CSS limits and try the suggestions in it.

Kind regards,
Veselina Raykova
the Telerik team
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Manisha
Top achievements
Rank 1
answered on 16 May 2013, 05:58 AM
Hi Veselina,

I was able to reproduce this issue on Chrome and FF also, so its not an IE issue only.  I will raise a Support ticket today with screenshots. Please take a look and see if you can find a solution for this.


Thanks & Regards,
Manisha
0
Vessy
Telerik team
answered on 17 May 2013, 01:44 PM
Hello Manisha,

I have just answered your support ticket on the subject and I would suggest you to continue our conversation in it so I will close this forum for the moment.

Plase, feel free to post the solution here once the issue has been resolved.


Regards,
Veselina Raykova
the Telerik team
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Adam
Top achievements
Rank 1
answered on 04 May 2014, 08:33 PM
It would be nice if you could answer the issue here too, so that other's can see the solution.

I've had this issue a couple of times in separate projects
0
Vessy
Telerik team
answered on 07 May 2014, 10:42 AM
Hello Adam,

The cause of the experienced by Manisha issue turned out to be missing overrides of the CheckReadPermissionsCheckWritePermissions and CheckDeletePermissions methods of a ImageManager's custom content provider:
public override bool CheckReadPermissions(string folderPath)
{
    return true;
}
public override bool CheckWritePermissions(string folderPath)
{
    return true;
}
public override bool CheckDeletePermissions(string folderPath)
{
    return true;
}

Nevertheless, such behavior can be faced in case the ImageManager's paths are not configured properly (using the built-in content provider). To test it you can put some images in the target folder and see whether they are listed in the manager. If no - most probably the control cannot find the folder (or do not have enough permissions to access it) and this is why it shows an empty folder with the passed name.

Kind regards,
Vessy
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Manisha
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Manisha
Top achievements
Rank 1
Rumen
Telerik team
Adam
Top achievements
Rank 1
Share this question
or