JQuery UI Editor - bind to viewHtml window open event

1 Answer 19 Views
Editor Window
Shane
Top achievements
Rank 1
Shane asked on 06 Jan 2022, 09:49 PM

When opening the viewHtml window from the Editor widget, I want to bind to that window's open event and access the KendoWindow instance so that I can update the options for the window using the setOptions method.

How do I do this?

Any tips are appreciated.

 

Thanks!

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 11 Jan 2022, 12:55 PM

Hello, Shane,

You can get a reference to the Window in the execute event. Here is a small example for reference.

Let me know if you have any further questions.

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

Tags
Editor Window
Asked by
Shane
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or