When I try to use the editor in this pop up, I get a javascript error. 'Microsoft JScript runtime error: Object doesn't support this property or method' Below is a snippet from the dynamic javascript.
a))();
else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var f,e=0,j=a.length,i=j===w||c.isFunction(a);if(d)if(i)for(f in a){if(b.apply(a[f],
Here is my EditorTemplate code.
<%
@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<string>" %>
<%
= Html.Telerik().Editor()
.Name(ViewData.TemplateInfo.GetFullHtmlFieldName(
string.Empty))
.HtmlAttributes(
new { style = "height:250px;; width:250px;" })
.Value(Html.Encode(Model))
.Tools(tools => tools
.Clear()
.Bold().Italic().Underline()
.Separator()
.CreateLink().Unlink()
)
%>