Getting a 'RadImageEditor' is not a known element error.

4 posts, 2 answers
  1. Cameron
    Cameron avatar
    28 posts
    Member since:
    Oct 2011

    Posted 19 Oct 2011 Link to this post

    Hi,

    Yesterday, in order to be able to modify the layouts of some of the RadEditor dialogs, I created the EditorDialogs folder and stuck in a few of the ascx controls that we wanted to change. One was the ImageManager. Basically all I wanted to do with that was to change the overall dialog size since it was cutting off the Cancel and OK buttons.

    However when I open up the ImageManager, select an image and then click on Image Editor, I get an error:
    Inner Exception: Unknown server tag 'telerik:RadImageEditor'.
    at System.Web.UI.TagPrefixTagNameToTypeMapper.System.Web.UI.ITagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs) at System.Web.UI.MainTagNameToTypeMapper.GetControlType2(String tagName, IDictionary attribs, Boolean fAllowHtmlTags) at System.Web.UI.MainTagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs, Boolean fAllowHtmlTags) at System.Web.UI.RootBuilder.GetChildControlType(String tagName, IDictionary attribs) at System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty) at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
     ...Telerik.Web.UI.DialogHandler.aspx%3fDialogName%3dImageEditor%26Skin%3dOffice2007%26Title%3dImage+Editor%26doid%3d22a2c583-8c90-4554-bc20-06f6848d044d%26dpptn%3d%26dp%3dY3VlR29uZVRsdydSAiwoFW98cgJtYU5EdHIWEAAcMzJnAl8BYWBTDG1nNxEBdWBmVnN8VmJ%2bQxkBNQA8BHwNa2Fg


    Both the Telerik.Web.UI and the Telerik.Web.Design have the version: 2011.1.413.35 and Runtime Version: v2.0.50727.

    The real upshot of this is, even if I delete the ImageEditor.ascx file the error remains, which means that I'm unable to use the ExternalDialogs because by using it, the error occurs.

    FYI, the RadEditor is created as a user control so it is not declared on any aspx page.
     
    Suggestions?

    Thanks,
    Cameron
  2. Answer
    Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 20 Oct 2011 Link to this post

    Hello Cameron,

    RadImageEditor was introduced in Q2 2011 (version 2011.2.712) which means that you use dialogs folder taken from a newer installation with older Telerik.Web.UI assembly. Please, upgrade the Telerik.Web.UI.dll in the bin folder to fix the problem.

    Best wishes,
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Cameron
    Cameron avatar
    28 posts
    Member since:
    Oct 2011

    Posted 20 Oct 2011 Link to this post

    Thanks Rumen, that answers that question.

    Now here's a new one:
    If I'm modifying only the TableProperties.ascx, TableProperties.Border, and TableWizard.ascx and only have those files in the project, I still get the error regarding the RadImageEditor, even though I'm not referencing it anywhere.

    Does this mean I have to abandon using the external dialogs?

    Thanks,
    Cameron
  5. Answer
    Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 21 Oct 2011 Link to this post

    Hello Cameron,

    If you do not like to upgrade to the latest version, my recommendation is to download version 2011.1.413.35 and copy the TableProperties.ascx, TableProperties.Border, and TableWizard.ascx from its EditorDialogs folder. They should be taken from the same installation from which is taken the Telerik.Web.UI.dll.

    If you still experience any issues, please open a support ticket and send a sample working project which demonstrates them. I will examine the files and do my best to provide a solution.

    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
Back to Top