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

Grid edit form does not open if referenced image is missing

1 Answer 36 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 27 Feb 2013, 04:34 PM
Can someone give me pointer as to how to change this behaviour...

I have a grid with a RadEditor control inside a grid template column, and I am using the built-in image manager tool, which is a great function.
It is all working fine except for the case when attempting to Edit a record in which the image referenced in RadEditor content is not found (because it has been deleted, say) .  In this case the grid edit form will not open when the Edit button is clicked. 

My question is how to modify this behavior so that it fails gracefully if the image is missing.
eg the edit form opens but a broken image icon is shown in the RadEditor design view.

Thanks for help on this

Clive
 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 27 Feb 2013, 09:53 PM
Hello Clive,

Do you get a JavaScript error when the problem happens?

I tested the reported scenario in the Edit Item Template local demo of RadEditor and RadGrid and I was unable to reproduce it as shown in the following video: http://screencast.com/t/WAiv2dPB. Am I missing something?

Greetings,
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.
Tags
Editor
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or