2

I need to build a manage environment for my users so they could create new views (to give a title, a category, and the main content) or edit the content of the views that already have been created. I need to store this information in a database and have it appear in my site. I search through the internet but I didn't find a solution. I need this because I would like my site to have searchable content and because I have to many pages. Is that possible to achieve with MVC?

RBT
  • 24,161
  • 21
  • 159
  • 240
touinta
  • 971
  • 3
  • 10
  • 26
  • Are you looking for a CMS? Then you could take a look here: http://www.codeproject.com/Articles/717523/Top-NET-Based-CMS-Content-Management-System – smoksnes Feb 11 '16 at 13:17

1 Answers1

1
  1. first step

Save view content as string using a wysiwyg editor, I recomend

http://summernote.org/

  1. You need show your html using Html.raw() :

Exemple: Html.Raw("<div class=\"resource-row\">")

that way you will show your string as HTML.

I hope it is useful

Igor Monteiro
  • 933
  • 1
  • 11
  • 29