This is a migrated thread and some comments may be shown as answers.

[Solved] JQuery 1.6.4 breaks the image browser thumbnails

2 Answers 22 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Noah
Top achievements
Rank 1
Noah asked on 28 Oct 2011, 04:11 PM
When using the file browser, thumbnails of the images never show. It just shows the loading icon indefinitely.  Everything else works fine.  The thumbnail method in the controller is never getting called.  I am using JQuery 1.6.4.  The bundled jquery 1.5.1 does not have this issue.

Telerik Version: 2011.2.914
Jquery Version: 1.6.4

View
@using Telerik.Web.Mvc.UI
@{
    ViewBag.Title = "Index";
}
 
<h2>Index</h2>
  @(Html.Telerik().Editor()
     .Name("News")
     .HtmlAttributes(new {style="height: 400px"})
     .Encode(false)
     .Value("")
     .Tools(t => t.Clear().InsertImage())
     .FileBrowser(t => t.Browse("Browse", "ImageBrowser")
       .Thumbnail("Thumbnail", "ImageBrowser")
       .Upload("Upload", "ImageBrowser")
        )
   )

Controller
using Telerik.Web.Mvc.UI;
 
namespace MvcApplication1.Controllers
{
    public class ImageBrowserController : EditorFileBrowserController
    {
         public override string[] ContentPaths
        {
            get { return new[] {"~/Content/Images/"}; }
        }
 
    }
}

2 Answers, 1 is accepted

Sort by
0
Noah
Top achievements
Rank 1
answered on 28 Oct 2011, 09:03 PM
I downloaded your latest beta and it works with 1.6.4
0
Georgi Tunev
Telerik team
answered on 31 Oct 2011, 04:36 PM
Hi Noah,

Yes, this problem is a known one and it was fixed in our internal builds and the Beta. The fix will also be present in the next official release that will appear in November.


All the best,
Georgi Tunev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Editor
Asked by
Noah
Top achievements
Rank 1
Answers by
Noah
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or