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

ERROR: Could not find the specified key "ImageEditor_Reset" or class id "RadEditor.Dialogs".

1 Answer 83 Views
Editor
This is a migrated thread and some comments may be shown as answers.
vitako
Top achievements
Rank 1
vitako asked on 20 Oct 2011, 06:59 AM
Hi guys,
We are using RadEditor on one of our pages.
After clicking on Image Editor button within Image Manager of RadEditor we receive the followin error:

Any idea why it happen?

 

Server Error in '/' Application.

Could not find the specified key "ImageEditor_Reset" or class id "RadEditor.Dialogs".

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Could not find the specified key "ImageEditor_Reset" or class id "RadEditor.Dialogs".

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:
[ArgumentException: Could not find the specified key "ImageEditor_Reset" or class id "RadEditor.Dialogs".]
   Telerik.Sitefinity.Localization.Resource.GetString(ResourceDataProvider provider, String classId, String key, CultureInfo culture, Boolean falback, Boolean throws) +475
   Telerik.Sitefinity.Localization.Res.Get(String classId, String key, CultureInfo culture, Boolean fallback, Boolean throws) +216
   Telerik.Sitefinity.Localization.Res.Get(String classId, String key, CultureInfo culture) +44
   Telerik.Sitefinity.Localization.GlobalResourceProvider.GetObject(String resourceKey, CultureInfo culture) +74
   System.Web.Compilation.ResourceExpressionBuilder.GetResourceObject(IResourceProvider resourceProvider, String resourceKey, CultureInfo culture, Type objType, String propName) +23
   System.Web.HttpContext.GetGlobalResourceObject(String classKey, String resourceKey, CultureInfo culture) +26
   Telerik.Web.GlobalResourceLocator.GetString(String classKey, String resourceKey, CultureInfo culture) +39
   Telerik.Web.GlobalResourceLocator.GetString(String resourceKey, CultureInfo culture) +48
   Telerik.Web.GlobalResourceLocator.GetString(String resourceKey) +67
   Telerik.Web.LocalizationProvider.GetString(String resourceKey) +40
   Telerik.Web.LocalizationStrings.GetString(String key, Boolean throwErrorIfMissing) +137
   Telerik.Web.LocalizationStrings.GetString(String key) +47
   Telerik.Web.UI.Editor.DialogControls.DialogLocalizationStrings.InitializeDialogStrings() +247
   Telerik.Web.UI.Editor.DialogControls.DialogLocalizationStrings..ctor(LocalizationProvider localization, String dialogName, Boolean errorOnMissing) +99
   Telerik.Web.UI.Editor.DialogsStrings..ctor(LocalizationProvider localization, String dialogName, Boolean errorOnMissing) +45
   Telerik.Web.UI.Dialogs.UserControlBase.UpdateChildControls(Control currentControl) +1037
   Telerik.Web.UI.Dialogs.UserControlBase.CreateChildControls() +458
   System.Web.UI.Control.EnsureChildControls() +102
   Telerik.Web.UI.Dialogs.UserControlBase.OnInit(EventArgs e) +47
   Telerik.Web.UI.Editor.DialogControls.ImageEditorDialog.OnInit(EventArgs e) +37
   System.Web.UI.Control.InitRecursive(Control namingContainer) +140
   System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
   System.Web.UI.ControlCollection.Add(Control child) +79
   Telerik.Web.UI.DialogHandlerNoSession.AddDialogControl(Control dialogControl, DialogParameters dialogParameters) +387
   Telerik.Web.UI.DialogHandlerNoSession.LoadDialogControl() +886
   Telerik.Web.UI.DialogHandlerNoSession.CreateChildControls() +349
   System.Web.UI.Control.EnsureChildControls() +102
   Telerik.Web.UI.DialogHandlerNoSession.OnPreLoad(EventArgs e) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2099

 
[ArgumentException: Could not find the specified key "ImageEditor_Reset" or class id "RadEditor.Dialogs".] Telerik.Sitefinity.Localization.Resource.GetString(ResourceDataProvider provider, String classId, String key, CultureInfo culture, Boolean falback, Boolean throws) +475 Telerik.Sitefinity.Localization.Res.Get(String classId, String key, CultureInfo culture, Boolean fallback, Boolean throws) +216 Telerik.Sitefinity.Localization.Res.Get(String classId, String key, CultureInfo culture) +44 Telerik.Sitefinity.Localization.GlobalResourceProvider.GetObject(String resourceKey, CultureInfo culture) +74 System.Web.Compilation.ResourceExpressionBuilder.GetResourceObject(IResourceProvider resourceProvider, String resourceKey, CultureInfo culture, Type objType, String propName) +23 System.Web.HttpContext.GetGlobalResourceObject(String classKey, String resourceKey, CultureInfo culture) +26 Telerik.Web.GlobalResourceLocator.GetString(String classKey, String resourceKey, CultureInfo culture) +39 Telerik.Web.GlobalResourceLocator.GetString(String resourceKey, CultureInfo culture) +48 Telerik.Web.GlobalResourceLocator.GetString(String resourceKey) +67 Telerik.Web.LocalizationProvider.GetString(String resourceKey) +40 Telerik.Web.LocalizationStrings.GetString(String key, Boolean throwErrorIfMissing) +137 Telerik.Web.LocalizationStrings.GetString(String key) +47 Telerik.Web.UI.Editor.DialogControls.DialogLocalizationStrings.InitializeDialogStrings() +247 Telerik.Web.UI.Editor.DialogControls.DialogLocalizationStrings..ctor(LocalizationProvider localization, String dialogName, Boolean errorOnMissing) +99 Telerik.Web.UI.Editor.DialogsStrings..ctor(LocalizationProvider localization, String dialogName, Boolean errorOnMissing) +45 Telerik.Web.UI.Dialogs.UserControlBase.UpdateChildControls(Control currentControl) +1037 Telerik.Web.UI.Dialogs.UserControlBase.CreateChildControls() +458 System.Web.UI.Control.EnsureChildControls() +102 Telerik.Web.UI.Dialogs.UserControlBase.OnInit(EventArgs e) +47 Telerik.Web.UI.Editor.DialogControls.ImageEditorDialog.OnInit(EventArgs e) +37 System.Web.UI.Control.InitRecursive(Control namingContainer) +140 System.Web.UI.Control.AddedControl(Control control, Int32 index) +197 System.Web.UI.ControlCollection.Add(Control child) +79 Telerik.Web.UI.DialogHandlerNoSession.AddDialogControl(Control dialogControl, DialogParameters dialogParameters) +387 Telerik.Web.UI.DialogHandlerNoSession.LoadDialogControl() +886 Telerik.Web.UI.DialogHandlerNoSession.CreateChildControls() +349 System.Web.UI.Control.EnsureChildControls() +102 Telerik.Web.UI.DialogHandlerNoSession.OnPreLoad(EventArgs e) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2099 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.237

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 24 Oct 2011, 11:55 AM
Hi Vitako,

It seems that you are using older localization files which do not contain the new localizations strings for the new RadImageEditor control in the Image Manager of RadEditor.

Please open the \App_GlobalResources\RadEditor.Dialogs.resx file and make sure that the following entries exist:

ImageEditor_AddText Add Text
ImageEditor_AddText_Color Color
ImageEditor_AddText_ColorToolTip The color of the text to add
ImageEditor_AddText_CurrentColorText (Current Color is {0})
ImageEditor_AddText_FontFamily Font Family
ImageEditor_AddText_FontFamilyToolTip The font family of the text to add
ImageEditor_AddText_FontSize Font Size
ImageEditor_AddText_FontSizeToolTip The size of the text to add
ImageEditor_AddText_PickColorToolTip Pick Color
ImageEditor_AddText_SampleText Your text here...
ImageEditor_AddText_Title Insert Text
ImageEditor_Common_Position Position
ImageEditor_Common_SliderDrag Drag to change the value
ImageEditor_Common_SwapWidthHeight Swap Width and Height
ImageEditor_Common_X X
ImageEditor_Common_Y Y
ImageEditor_Crop Crop
ImageEditor_Crop_AspectRatio Aspect Ratio
ImageEditor_Crop_AspectRatioToolTip Select Aspect Ratio
ImageEditor_Crop_Button Crop
ImageEditor_Crop_Title Crop Image
ImageEditor_Flip Flip
ImageEditor_Flip_None Flip None
ImageEditor_Flip_Title Flip
ImageEditor_FlipBoth Flip Both
ImageEditor_FlipHorizontal Flip Horizontal
ImageEditor_FlipVertical Flip Vertical
ImageEditor_Opacity Opacity
ImageEditor_Opacity_TextboxToolTip Enter a value between 0 and 100%
ImageEditor_Opacity_Title Opacity
ImageEditor_Print Print Image
ImageEditor_Print_Button Print
ImageEditor_Print_Title Print Image
ImageEditor_Redo Redo
ImageEditor_Reset Restore Image
ImageEditor_Resize Resize
ImageEditor_Resize_Button Resize
ImageEditor_Resize_Percentage Percentage
ImageEditor_Resize_PercentageToolTip Percentage of original Width x Height [0,100%]
ImageEditor_Resize_PresetSizes Preset Sizes
ImageEditor_Resize_PresetSizesToolTip Select Preset Width x Height
ImageEditor_Resize_Title Resize
ImageEditor_Rotate Rotate
ImageEditor_Rotate_DropDownToolTip Select a rotation angle
ImageEditor_Rotate_Title Rotate
ImageEditor_RotateLeft Rotate Left by 90 degrees
ImageEditor_RotateRight Rotate Right by 90 degrees
ImageEditor_Save Save
ImageEditor_Save_ClientRadioText Download Image
ImageEditor_Save_FileNameLabel File Name
ImageEditor_Save_FileNameToolTip Enter File Name
ImageEditor_Save_ServerRadioText Save Image on Server
ImageEditor_Save_Title Save Image
ImageEditor_SaveAs Save As...
ImageEditor_StatusBar_LastAction Last Action
ImageEditor_StatusBar_Position Pos.
ImageEditor_StatusBar_Size Size
ImageEditor_StatusBar_Zoom Zoom
ImageEditor_Undo Undo
ImageEditor_Zoom Zoom
ImageEditor_Zoom_ActualSizeToolTip Zoom to 100%
ImageEditor_Zoom_BestFitToolTip Fit image in editable area
ImageEditor_Zoom_TextboxToolTip Enter a value between 0 and 100%
ImageEditor_Zoom_Title Zoom


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
vitako
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or