Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: .NET C#4.0 MVC3
I have a website all done and in working condition.
Now i need to add Create the CMS as part of that.... when admin logged,
I need to show a edit button on any page, when clicked on edit button , he should be able to edit the page and the edit should be in the same format of the page.

How can i achive this. my project is in MVC3 C# razor .
Thanks in advance guys.
Posted 1-Oct-12 3:53am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You can use CKEditor[^] for example. Google can give you several examples how to use it in MVC3. The only thing is that you have to store your articles in a repository (a database for example) and treat them as data. Actually an article, that can be edited is just a text field in the model mapped to a textarea element.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 512
1 Maciej Los 470
2 Sergey Alexandrovich Kryukov 386
3 Peter Leow 205
4 CPallini 200
0 Sergey Alexandrovich Kryukov 6,888
1 OriginalGriff 5,342
2 Peter Leow 3,962
3 Mika Wendelius 2,850
4 CHill60 2,748

Advertise | Privacy | Mobile
Web04 | 2.8.150224.1 | Last Updated 1 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100