radEditor AjaxSpellChecker or dynamic resource loading fail

Thread is closed for posting
4 posts, 0 answers
  1. James Tan
    James Tan avatar
    3 posts
    Member since:
    Apr 2010

    Posted 07 Feb 2011 Link to this post

    The javascript (AjaxSpellCheck.js) call to getLocalizedString() seems fail all the time in radEditor in a ASP.NET MVC2 project. The returned value is always "Undefined". Same thing for the "Background Color" tool which displays "Undefined" for the "Custom color" link text.

    All other resources used by radEditor loaded at beginning are OK. 

    Can someone help?

    Thanks

    James
  2. James Tan
    James Tan avatar
    3 posts
    Member since:
    Apr 2010

    Posted 09 Feb 2011 Link to this post

    It tuned out, for some reason, the generated js code is different than normal webform. The MVC page has no such line
    Sys.Application.add_init(function() {
        $create(Telerik.Web.UI.RadEditor, {"_localization":{"addcustomcolor":"Add Custom Color...","addcustomhexcolor":"Add Hex Color...",",...
    });

    But I could not figured it why.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 10 Feb 2011 Link to this post

    Hello James,

    I was unable to reproduce the reported problem. For your convenience I have attached a sample working project that demonstrates the problem along with a video demonstrating my test. You can see the video at: http://screencast.com/t/RFlyO5yFoN.

    Best 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. James Tan
    James Tan avatar
    3 posts
    Member since:
    Apr 2010

    Posted 10 Feb 2011 Link to this post

    Thanks Rumen, though your demo is not working (it is missing telerik stylesheet register and has no spellchecker), it did give me the idea that the RadScriptManagerMaster should be put before radEditor. Now the problem solved. 
    James
Back to Top