RadEditor as Textbox in a partial view loaded inside a razor page

4 posts, 0 answers
  1. vishal
    vishal avatar
    8 posts
    Member since:
    Sep 2011

    Posted 13 Jan 2012 Link to this post

    Hi all

    I have been trying for quite some time to get the radeditor as a textbox working inside a MVC partial view. Bascially, I have a razor page(.cshtml) from where I render the partial(editor.ascx, an MVC partial), there is no error but the editor does not work, if I remove ToolbarMode="ShowOnFocus" property from the editor, it does render on the page but the layout is all broken, but if I include this property, nothing works on the page as expected. It appears that its trying to render the editor, but not the necessary markup for showing/hiding the toolbar when clicked inside/outside the editor. Any help appreciated.

    Thanks
    Vishal
  2. Rumen
    Admin
    Rumen avatar
    14320 posts

    Posted 13 Jan 2012 Link to this post

    Hi Vishal,

    RadControls for ASP.NET AJAX does not support Razor views, only the ASP.NET rendering engine is supported. Only the ASP.NET rendering engine is supported as described in the following help article: Limitations.
    You can find integration instructions in the help: Getting Started.

    In addition, have you tried by any chance our Editor for MVC which is especially designed for MVC environment and is recommended for usage under MVC?

    All the best,
    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. Martha
    Martha avatar
    26 posts
    Member since:
    Aug 2011

    Posted 21 Sep 2012 Link to this post

    But does the MVC Editor support spellcheck?
  4. Rumen
    Admin
    Rumen avatar
    14320 posts

    Posted 25 Sep 2012 Link to this post

    Hi,

    The MVC editor does not offer its own spellchecker, but its content can be spellchecked by the built-in in IE10, Firefox, Chrome, Safari and Opera inline spellcheckers.

    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