RadEditor generating the blank message box on copy/pasting some shared path

6 posts, 0 answers
  1. Saurabh
    Saurabh avatar
    4 posts
    Member since:
    Mar 2009

    Posted 20 Dec 2010 Link to this post

    Hi,

    I tried to paste the following text which has some shared path in it in my RadEditor control, i am getting the blank message box. My teleik verison is "2010.1.519.35" . I have attached my sample code here and a screen shot.
    "\\test\test\test\Reference"


    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <telerik:RadEditor runat="server" ID="radeditorSendEmail" LocalizationPath="~/App_GlobalResources/">
                            <Tools>
                            <telerik:EditorToolGroup>
                                    <telerik:EditorTool Name="InsertParagraph" />
                                    <telerik:EditorTool Name="FormatBlock"/>
                                    <telerik:EditorTool Name="Indent" />
                                    <telerik:EditorTool Name="Outdent" />
                                    <telerik:EditorTool Name="JustifyLeft" />
                                    <telerik:EditorTool Name="JustifyCenter" />
                                    <telerik:EditorTool Name="JustifyRight" />
                                    <telerik:EditorTool Name="JustifyFull" />
                                    <telerik:EditorTool Name="JustifyNone" />
                                    <telerik:EditorTool Name="InsertUnorderedList" />
                                    <telerik:EditorTool Name="InsertOrderedList" />
                                    <telerik:EditorTool Name="InsertHorizontalRule" />
                                    <telerik:EditorSeparator />
                                    <telerik:EditorTool Name="InsertTable" />
                                    <telerik:EditorTool Name="InsertSymbol" />
                                    </telerik:EditorToolGroup>
                                <telerik:EditorToolGroup>
                                    <telerik:EditorTool  Name="ConvertToUpper" />
                                    <telerik:EditorTool Name="ConvertToLower" />
                                    <telerik:EditorTool Name="Cut" ShortCut="CTRL+X"/>
                                    <telerik:EditorTool Name="Copy" ShortCut="CTRL+C"/>
                                    <telerik:EditorTool Name="Paste" ShortCut="CTRL+V"/>
                                    <telerik:EditorTool Name="Undo" ShortCut="CTRL+Z"/>
                                    <telerik:EditorTool Name="Redo" ShortCut="CTRL+Y"/>
                                    <telerik:EditorSeparator />
                                    <telerik:EditorTool Name="Bold" ShortCut="CTRL+B"/>
                                    <telerik:EditorTool Name="Italic" ShortCut="CTRL+I"/>
                                    <telerik:EditorTool Name="Underline" ShortCut="CTRL+U"/>
                                    <telerik:EditorTool Name="StrikeThrough" />
                                    <telerik:EditorTool Name="Superscript" />
                                    <telerik:EditorTool Name="Subscript" />
                                    <telerik:EditorTool Name="FontName"/>
                                    <telerik:EditorTool Name="FontSize"/>
                                    <telerik:EditorTool Name="ForeColor"/>
                                    <telerik:EditorTool Name="BackColor"/>
                                </telerik:EditorToolGroup>
                            </Tools>
                        </telerik:RadEditor>

  2. Rumen
    Admin
    Rumen avatar
    14466 posts

    Posted 22 Dec 2010 Link to this post

    Hi Saurabh,

    I saw in the screenshot that the RadEditor localization is not loaded. Please, make sure that the needed resx files are available in LocalizationPath="~/App_GlobalResources/ folder or delete the LocalizationPath property and test again.

    More information about the localization is available at: Using Global Resource Files and Localization.

    Regards,
    Rumen
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. Saurabh
    Saurabh avatar
    4 posts
    Member since:
    Mar 2009

    Posted 23 Dec 2010 Link to this post

    When i run this from my code it is working fine as all the localization file are present in "~/App_GlobalResources/" folder but when i publish my site my "~/App_GlobalResources/"
    folder is converted to dll App_GlobalResources.dll & de-DE, fr-FR folder
    with App_GlobalResources.resources.dll. But in published site this is not working. Is it because 
    LocalizationPath="~/App_GlobalResources/" is still same. How to get this working in
    published or installed mode?
  4. Rumen
    Admin
    Rumen avatar
    14466 posts

    Posted 27 Dec 2010 Link to this post

    Hello Saurabh,

    I made a test by precompiling a sample project (attached here) and found as noted in MSDN that the resx files are transformed to App_GlobalResources.resources.dll files. I tested the project and the localization worked as expected. For your convenience I have attached my sample project.

    I am not sure why the localization does not work on your side, but you can copy manually upload the resx files to the production server and set the LocalizationPath property to point to the folder where the resx files reside.

    Kind regards,
    Rumen
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  5. René
    René avatar
    1 posts
    Member since:
    Oct 2011

    Posted 24 Nov 2011 Link to this post

    I Have the exact same issue? Surely there must be a reason for this?
  6. Rumen
    Admin
    Rumen avatar
    14466 posts

    Posted 25 Nov 2011 Link to this post

    Hello Rasmus,

    Are you able to reproduce the problem with a new project with RadEditor in it using its default built-in localization?

    Could you please isolate the problem in a sample working project and send it for examination via a support ticket?

    Best regards,
    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