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

kendo window pop for preview image

2 Answers 400 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Marc Plaxton-Harrison
Top achievements
Rank 1
Marc Plaxton-Harrison asked on 17 Sep 2020, 10:25 AM

Hi guys,

currently have a kendo grid with a subdetail grid template. i have a column with a picture. on click of the image i want to preview the image on popup kendo window.But im getting an error below.

2(index):298 Uncaught TypeError: Cannot read property 'content' of undefined
    at HTMLImageElement.showImage ((index):298)
    at HTMLDivElement.dispatch (jquery.min.js:3)
    at HTMLDivElement.r.handle (jquery.min.js:3)

have submitted a ticket - 1485030 

also see attached image screen shot 

2 Answers, 1 is accepted

Sort by
0
Aleksandar
Telerik team
answered on 21 Sep 2020, 07:35 AM

Hello Marc,

As discussed in the support thread on the same topic, make sure an element with id="window" is existing, from which the Window is going to be initialized. If such an element is missing, that would explain why there is no instance of the component and the error you are receiving.

I will also ask you to continue the discussion in a thread of your choice so that we can focus on the issue and have all the details in one place and make sure we do not miss a vital piece of information in between threads.

Regards,
Aleksandar
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/.

0
Marc Plaxton-Harrison
Top achievements
Rank 1
answered on 21 Sep 2020, 11:09 AM

Hi Aleksandar,

thanks for feedback,

yes i agree i have responded back on the ticket. 

kind regards

Marc

Tags
Grid
Asked by
Marc Plaxton-Harrison
Top achievements
Rank 1
Answers by
Aleksandar
Telerik team
Marc Plaxton-Harrison
Top achievements
Rank 1
Share this question
or