Is want to populate a TreeView with some personal image, but the question stay open for all component with ImageUrlField property
How to query an image url that contains the JWT token, ie in the header
Authorization: Bearer <token>
?
Thanks
3 Answers, 1 is accepted
0
Accepted
Marin Bratanov
Telerik team
answered on 11 Jun 2020, 08:29 AM
Hello Rémi,
How would you use an <img /> tag and include this token in your app? I am not aware of a built-in way to do that and at this point my best suggestion is that you implement a Razor Component that provides this capability as required by your situation, and use it in a template in the Telerik component (link to the treeview templates examples).
Regards,
Marin Bratanov
Progress Telerik
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.
I expected this would be the general approach. I have marked your post as an answer to this thread.
Regards,
Marin Bratanov
Progress Telerik
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.