This question is locked. New answers and comments are not allowed.
Hello,
I am getting a "Permission denied" error when trying to edit and save text in an Editor control. The control is rendered in a PartialView, then the markup is populated into a table element via AJAX. Here are the steps I took to repro the issue:
- Click Edit button to call controller action to populate table with Editor controls
- Controller action renders PartialView, then populates table
- Change text color to red
- Click Save button to call controller action to save data to repository
- Controller action saves data to repository
- Repeat steps 1-5, but change text color to black. Error is thrown at Step 4 (save step)
VS2010 indicates the javascript runtime error when calling a method on the body element, "body.firstChild". The data populated into the control is encoded XHTML from our repository. Here is a code snippet of the Editor control in the PartialView:
<
td>
<% Html.Telerik().Editor()
.Name(
"Value1")
.Value(() =>
{
%>
<%
= Model.Value1%>
<%
})
.Render();
%>
</td>
Thanks.