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

MVC project getting content from editor

1 Answer 55 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jan
Top achievements
Rank 1
Jan asked on 18 Dec 2008, 01:23 PM
I am working with a MVC project and want to use the radeditor.
I do not want to use any server forms (<form runat="server">), which is possible in version Q3 2008.

How do I get the content of the editor in a view when i already posted the data? I want to use the data in an controller.

1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 22 Dec 2008, 07:55 AM
Hi Jan,

We are currently working on a full-blown MVC application featuring most Telerik RadControls for ASP.NET AJAX which will be released soon.

Prior to that, however, for your convenience we prepared a sample project demonstrating how to use the RadEditor in a MVC environment. There are two tricky points in the app:
  1. By default the routing captures all aspx pages so the dialog handler has been renamed to axd
  2. Check how to retrieve the content of the editor in the HomeController.PostContent method

We hope the application will be useful to you and the other MVC enthusiasts out there.

Best regards,
Tervel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Jan
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Share this question
or