This question is locked. New answers and comments are not allowed.
When I go to the image browser I have a list of images, I want to be able to delete some of the images from within the browser, but it doesn't work.
Adding images and directories works fine.
Thanks
Here is my code,
Adding images and directories works fine.
Thanks
Here is my code,
Html.Telerik().Editor().Name(
"Editor_"
+ (String)ViewData[
"PartId"
] +
"_"
+ (String)ViewData[
"StationId"
])
.Encode(
true
)
.HtmlAttributes(
new
{ Style =
"Height:450px;"
})
.FileBrowser(b => b.Browse(
"Browse"
,
"ImageBrowser"
)
.Thumbnail(
"Thumbnail"
,
"ImageBrowser"
)
.Upload(
"Upload"
,
"ImageBrowser"
)
.DeleteFile(
"DeleteFile"
,
"ImageBrowser"
)
.DeleteFile(
"DeleteDirectory"
,
"ImageBrowser"
)
.CreateDirectory(
"CreateDirectory"
,
"ImageBrowser"
))
.Value((String)ViewData[
"Notes"
])
.Tools(t =>
{
t.Separator();
t.Custom(config => config
.Html(
"<input "
+
"type='image' "
+
"title='Save' "
+
"align='bottom' "
+
"src='/Content/save.png' "
+
"onclick='saveToDatabase("
+ (String)ViewData[
"PartId"
] +
", "
+ (String)ViewData[
"StationId"
] +
")' />"
));
})