This is a migrated thread and some comments may be shown as answers.
Missing function GetRadWindowManager in TypeScript definition
1 Answer 3 Views
This is a migrated thread and some comments may be shown as answers.
Olivier
Top achievements
Rank 1
Olivier 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
Olivier
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 !

Asked by
Olivier
Top achievements
Rank 1
Answers by
Olivier
Top achievements
Rank 1
Share this question
or