Is it possible to embed HTML elements in timeline items in addition to images?
1 Answer 7 Views
Vinicius
Top achievements
Rank 1
Vinicius asked on 12 Jul 2021, 08:43 PM | edited on 12 Jul 2021, 08:44 PM

Right now, I would be needing something like this below. To insert a base64 file in the timeline card item:

<div class="k-card-description">
	<embed type="application/pdf" src="data:application/pdf;base64,sdfghasdfquqasdfjasdf">
</div>

Insert within the timeline item card, some way to view PDF files. I know there is also the PDF viewer component of Kendo.

Is there any way to do this?

1 Answer, 1 is accepted

Sort by
0
Hetali
Telerik team
answered on 15 Jul 2021, 04:37 PM

Hello Vinicius,

In order to insert a base64 file in the Kendo UI Timeline, you will have to use a PDFViewer. Use the pdfjsProcessing.file.data property to pass the base64 string.

Currently, you cannot directly embed a base64 file in the Kendo UI Timeline.

I hope this information helps.

Regards,
Hetali
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Asked by
Vinicius
Top achievements
Rank 1
Answers by
Hetali
Telerik team
Share this question
or