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

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

3 Answers 153 Views
Editor
This is a migrated thread and some comments may be shown as answers.
vishal
Top achievements
Rank 1
vishal asked on 13 Jan 2012, 09:30 AM
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

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Jan 2012, 05:21 PM
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
0
Martha
Top achievements
Rank 1
answered on 21 Sep 2012, 08:53 PM
But does the MVC Editor support spellcheck?
0
Rumen
Telerik team
answered on 25 Sep 2012, 11:15 AM
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.
Tags
Editor
Asked by
vishal
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Martha
Top achievements
Rank 1
Share this question
or