This question is locked. New answers and comments are not allowed.
Hi,
I am trying to implement IImageBrowserController for my editor to upload to my database, but nothing happens. It will show an empty file upload.
When I try to debug the IImageBrowserController nothing happens, so I figure that the route the filebrowser needs is not triggered. Also the class is never instantiated.
Do you know the routes that this filebrowser needs to function?
Thanks in advance..
Kind regards,
Danny Bijkerk
I am trying to implement IImageBrowserController for my editor to upload to my database, but nothing happens. It will show an empty file upload.
When I try to debug the IImageBrowserController nothing happens, so I figure that the route the filebrowser needs is not triggered. Also the class is never instantiated.
Do you know the routes that this filebrowser needs to function?
Thanks in advance..
Kind regards,
Danny Bijkerk
4 Answers, 1 is accepted
0
Hello Danny,
Rosen
the Telerik team
Please refer to this code library for an example of how to implement database store for the ImageBrowser.
Regards,Rosen
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
0
Danny
Top achievements
Rank 2
answered on 21 Oct 2011, 08:38 AM
Hi Rosen,
Thank you for your quick reply..
I used this example to start with. After implementing the methods described. Nothing happens. I have set an breakpoint in the constuctor of the class that implements the interface and the breakpoint is never hit..
Kind regards,
Danny
Thank you for your quick reply..
I used this example to start with. After implementing the methods described. Nothing happens. I have set an breakpoint in the constuctor of the class that implements the interface and the breakpoint is never hit..
Kind regards,
Danny
0
Hello Danny,
Rosen
the Telerik team
Could you verify that there are no JavaScript errors on the page. Also you should check, using a FireBug or some other similar tool, that when image browser is shown a request to the server is made and what is the response.
It will be appreciated if you could provide a small runnable application in which the issue you are facing can be observed.
Rosen
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
0
Danny
Top achievements
Rank 2
answered on 21 Oct 2011, 11:01 AM
Hello Rosen,
There were not javascript errors, but I found the solution: I have added the route:
To my list of routes and the it solved my issues for this moment.
There were not javascript errors, but I found the solution: I have added the route:
routes.MapRoute("ImageBrowser", "ImageBrowser/{action}/{path}", new { controller = "ImageBrowser", path = UrlParameter.Optional });To my list of routes and the it solved my issues for this moment.
Thanks for your help and quick response so far.
Kind regards,
Danny