ImageBrowser with flat kendoui by AJAX

2 posts, 0 answers
  1. ivan
    ivan avatar
    27 posts
    Member since:
    Aug 2013

    Posted 06 Jan 2014 Link to this post

    I have read all the getstart and api document abount the ImageBrowser, but still can't get it to work.  Maybe I missed something.  

    I am use flat kendoui( only js, not for MVC)
    this is my js:
      imageBrowser: {
        path: "/KPIupload/OADocument/PublicPhoto/",
        transport: {
           read: "/KPIGetData/FileData.aspx?SearchType=photodocument",
          //destroy: "imagebrowser/destroy",
         //create: "imagebrowser/createDirectory",
         //uploadUrl: "imagebrowser/upload",
         //thumbnailUrl: "imagebrowser/thumbnail",
          imageUrl: "/KPIupload/OADocument/PublicPhoto/{0}"
      tools: [

    The editor works fine, but when I click the image browser, no image is showed.
    There are 3 images on the  /KPIupload/OADocument/PublicPhoto/, I am sure of that. In fact, if I don't use ImageBrowser, just use the simple image handle of the editor, I can show the images, that means the images are there.

    I see the document, and it said the "read" expects a json, so I test my read url, and found it returns:
    I think it's right.

    So, I don't know why it can't show any images.  Maybe I missing something. Need your help!


  2. Dimo
    Dimo avatar
    8404 posts

    Posted 07 Jan 2014 Link to this post

    Hello Ivan,

    The images, displayed inside the ImageBrowser, depend on the thumbnailUrl property. Why have you commented it out?

    The imageUrl is applicable only for the Editor's content area, after an image is confirmed (double-clicked) by the user.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top