This question is locked. New answers and comments are not allowed.
I have a grid where one of the columns is a Notes column (multi-line). I have added an EditorTemplate (below) to support a larger area for edit.
Once a record is saved, I don't want the user to be able to modify it. But, I do need a way for the user to be able to see the entire value (with carriage returns - I notice they seem to get stripped out after saving). I've played around with a display template, but it seems to no longer be used after I do a "save changes". I've Does anyone have a suggestion on how to handle this situation?
EditorTemplate:@model System.Web.Mvc.ViewUserControl<String> @Html.TextAreaFor(m => m, new { rows = 6, cols = 120, wrap = "hard", style="text-overflow:ellipsis;" })Once a record is saved, I don't want the user to be able to modify it. But, I do need a way for the user to be able to see the entire value (with carriage returns - I notice they seem to get stripped out after saving). I've played around with a display template, but it seems to no longer be used after I do a "save changes". I've Does anyone have a suggestion on how to handle this situation?