Question

In controller level i used [ValidateInput(false)] and ValidateRequest="false" in the view.

Everything is fine except CKEDITOR removing <% %> tags.

Is there any other configuration i am missing?

Was it helpful?

Solution

To prevent CKEditor from removing content, the protectedSource setting will do what you need. Manual & examples

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top