This is a migrated thread and some comments may be shown as answers.

Send more data with the ImageBrowser read/thumbnail...

3 Answers 66 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Dekel
Top achievements
Rank 1
Dekel asked on 14 May 2015, 08:47 AM

Hi,

I'm trying to implement an imagebrowser and I want to have one controller for several editors with imageBrowser. but I want to use different root in each one.

how can I make the "path" send a prefix with the file name?

or how can I send more data with the read request (or any other request the imageBrowser allow)?

Thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Alex Gyoshev
Telerik team
answered on 18 May 2015, 08:06 AM

Hello Dekel,

This functionality is not supported by our server-side implementation out of the box. However, you can pass parameters to the read method, so that it distinguishes between the images:

    .Read(r => r.Action("Read", "ImageBrowser", new { foo = "bar" }))

Alas, you would need to modify the image browser implementation on the server, so that it takes this parameter into account.

Regards,
Alex Gyoshev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Dekel
Top achievements
Rank 1
answered on 18 May 2015, 08:16 AM

Hi,

I've already tried that with no luck.

I also looked at the request the the imagebrowser is generating but didn't see my custom parameter :(

 

0
Dekel
Top achievements
Rank 1
answered on 18 May 2015, 12:11 PM

Sorry. My mistake. it does work.

I tried without the r.Action...

 Thanks

Tags
Editor
Asked by
Dekel
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Dekel
Top achievements
Rank 1
Share this question
or