This question is locked. New answers and comments are not allowed.
I am having some problems with loading the ImageBrowser. Without the ImageBrowser, the editor works as expected. This is the error I get:
"Microsoft JScript runtime error: Object doesn't support this action". The action is as follows in "telerik.editor.min.js":
This is my ImageBrowser Controller:
And this is the editor:
I am using version 2011.1.502. Can anyone tell me what's wrong?
"Microsoft JScript runtime error: Object doesn't support this action". The action is as follows in "telerik.editor.min.js":
new ar.imageBrowser(s(this).find(".t-image-browser"),s.extend(a9,{apply:bb,element:a5.editor.element,localization:a5.editor.localization}))This is my ImageBrowser Controller:
public class ImageBrowserController : EditorFileBrowserController{ public override string[] ContentPaths { get { return new[] { "~/Content/Photos" }; } }}And this is the editor:
@( Html.Telerik().EditorFor(x => x.Model.Content) .Name("rtxtEditor") .Localizable("nb-NO") .Tools(tools => tools.Clear() .Bold() .Italic() .Underline() .Separator() .FontName() .FontSize() .Separator() .JustifyLeft() .JustifyCenter() .JustifyRight() .JustifyFull() .Separator() .InsertUnorderedList() .InsertOrderedList() .Separator() .Outdent() .Indent() .Separator() .CreateLink() .Unlink() .Separator() .InsertImage()) .FileBrowser(settings => settings .Browse("Browse", "ImageBrowser") .Upload("Upload", "ImageBrowser") .CreateDirectory("CreateDirectory", "ImageBrowser")) )I am using version 2011.1.502. Can anyone tell me what's wrong?