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

Missing function GetRadWindowManager in TypeScript definition

1 Answer 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hamza
Top achievements
Rank 1
Hamza asked on 27 Jun 2016, 07:30 AM

Hello there,

I try to access the function GetRadWindowManager() from my app.ts file.

I added the telerik definitions files and I cannot find a way to call "window.GetRadWindowManager()" or "window.top.GetRadWindowManager()" because the definition is not found...

How can I call that function without errors ?

Thanks for your help !

Brice.

1 Answer, 1 is accepted

Sort by
0
Hamza
Top achievements
Rank 1
answered on 27 Jun 2016, 01:52 PM

I don't know if it's the good way but by overriding the window object, I can now use the function GetRadWindowManager().

interface Window {
    GetRadWindowManager(): Telerik.Web.UI.RadWindowManager;
}

 

Hope this can helps !

Tags
General Discussions
Asked by
Hamza
Top achievements
Rank 1
Answers by
Hamza
Top achievements
Rank 1
Share this question
or