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

RadImageEditor Cropping feature not working

1 Answer 95 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 14 Jan 2013, 11:52 PM
Hello,

We have a visual webpart that has a Radimageeditor control inside of it.  For some reason, when I try to crop an image I am seeing a JScript runtime error being thrown by ScriptResource.axd:

Microsoft JScript runtime error: Sys.ArgumentException: Cannot deserialize empty string.
Parameter name: data

I did check the http handlers in the web.config to make sure I had the correct entries. 

Can anyone assist on how to fix this issue?

Thanks! 

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 17 Jan 2013, 03:11 PM
Hi Tim,

I have already your support ticket on the subject, for your convenience I am pasting my answer here as well:

You could try using a custom content provider for Sharepoint. Please, check this help article for more information on using custom content providers in the RadImageEditor - Using a Custom Image Provider

Additionally, you could a live implementation of a custom image provider in the following link:
http://demos.telerik.com/aspnet-ajax/imageeditor/examples/customcontentprovider/defaultcs.aspx

Kind regards,
Vesi
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.
Tags
WebParts for SharePoint
Asked by
Tim
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or