This is a migrated thread and some comments may be shown as answers.
ImageBrowser show file name undefined and without Thumbnail if use EditorFor()
1 Answer 163 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Ciget asked on 23 Jan 2013, 09:42 AM
Hi guys.

I found somme issue with Editor widget if use MVC wrapper for use Html.Kendo().EditorFor(x=>x.Body).
If use code above - when open image browser all files has name undefined and shows without Thumbnail. When i look at js code, that was rendered by MVC wrapper - it`s a bit different with code, that doc suggest to use as javascript plugin.

So, if i use mvc wrapper code like this:
      .HtmlAttributes(new { style = "width: 740px;height:440px" })
.ImageBrowser(imageBrowser => imageBrowser
    .Read("Read", "ImageBrowser")
    .Create("Create", "ImageBrowser")
    .Destroy("Destroy", "ImageBrowser")
    .Upload("Upload", "ImageBrowser")
    .Thumbnail("Thumbnail", "ImageBrowser"))
All is ok, but problem start when i use Html.Kendo().EditorFor(x=>x.Body).

I use latest version of libs and js files - 2012.3.1315.

Could you help me?

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 24 Jan 2013, 07:58 PM

I posted my reply in the other thread on the same topic. For convenience I am pasted it below and attached the project.

There should not be any difference when using the Editor and the EditorFor helpers. I attached a sample project with the EditorFor helper. What is the difference in your scenario?

the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question