Steps to reproduce: http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/overview/defaultcs.aspx 1. Delete Flower3.jpg 2. Rename Flower5 to Flower3 Actual: The image with Flower3 name has changed to the one which was deleted
RadFileExplorer1.FileList.ListView.ClientSettings.DataBinding.ItemTemplate =
@
"<li class="
"rfeThumbList rlvI"
">
<a href=
""
javascript:
void
0;
""
class
=
""
rfeLink rlvDrag#= isSelected ?
' rfeSelectedLink'
:
''
#
""
data-index=
""
#= index #
""
title=
""
#= Name #
""
>
<span
class
=
""
rfeFile#= Telerik.Web.UI.FileExplorerHelper.isWebImage(item.Extension) ?
' rfeImageFile'
:
''
#
""
>
# if(Telerik.Web.UI.FileExplorerHelper.isWebImage(item.Extension)) {#
<img src=
""
#= item.Url || Path#?#=Math.random()#
""
alt=
""
#= Name #
""
width=
""
32
""
height=
""
32
""
/>
# } else { #
<span
class
=
""
rfeFileIcon #= Telerik.Web.UI.FileExplorerHelper.getThumbnailCSSExtension(item) #
""
></span>
# } #
</span>
<span
class
=
""
rfeThumbTitle
""
>#= Name #</span>
</a>
</li>";
<
telerik:RadFileExplorer
ID
=
"RadFileExplorer1"
runat
=
"server"
ExplorerMode
=
"Thumbnails"
OnClientFileOpen
=
"onFileOpen"
>
<
Configuration
ViewPaths
=
"~/images/Test"
UploadPaths
=
"~/images/Test"
DeletePaths
=
"~/images/Test"
/>
</
telerik:RadFileExplorer
>
<
script
>
function onFileOpen(explorer, args) {
var newUrl = args.get_path() + "?" + Math.random();
args.get_item().set_url(newUrl);
}
</
script
>