HI. I'm looking to implement a kendo Editor and we want users to be able to upload files and images. So I got introduced to the imagebrowser component (let's forget the file browser for now and let's just focus on image) and I'm saying to myself, "well, what about the server side code? What does this component need served up?" A directory with this name was not found showed up when I first started playing with this component. That message most likely appeared because I'm just at the phase of copying and pasting in the code based on what's in the example on this site...
What's happening here on the backend? /kendo-ui/service/ImageBrowser/Read - is just one of many questions.
I'm using Web API 2.0. JS on front end on an ASP.NET web form/aspx server page actually. I'm hoping there's some sort of canned example I can use somewhere for server side code? I wouldn't even know where to begin because I don't know what this component needs. Again I can either throw the code on the codebehind (c#) on the page itself, or I can use Web API (preferred).
Thanks.
01.
imageBrowser: {
02.
messages: {
03.
dropFilesHere:
"Drop files here"
04.
},
05.
transport: {
06.
read:
"/kendo-ui/service/ImageBrowser/Read"
,
07.
//read: "",
08.
destroy: {
09.
url:
"/kendo-ui/service/ImageBrowser/Destroy"
,
10.
type:
"POST"
11.
},
12.
create: {
13.
url:
"/kendo-ui/service/ImageBrowser/Create"
,
14.
type:
"POST"
15.
},
16.
thumbnailUrl:
"/kendo-ui/service/ImageBrowser/Thumbnail"
,
17.
uploadUrl:
"/kendo-ui/service/ImageBrowser/Upload"
,
18.
imageUrl:
"/kendo-ui/service/ImageBrowser/Image?path={0}"
19.
}
20.
},